Skip to content

Commit

Permalink
Explain how to debug the uninstaller.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jul 3, 2020
1 parent 767dbb8 commit 8a3ee1d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Source code tips
``OutputBaseFilename=setup`` in your script, and copy the resulting setup-*.bin
files to the source code directory. This way you can simulate an actual
installation while running under the Delphi debugger.
- All of the forms in the Setup project, with the exception of Main.dfm, have
Scaled set to False. This is because they dynamically scale themselves at
run-time by calling a function named InitializeFont.
Expand All @@ -181,6 +181,14 @@ Source code tips
- For compiler debugging purposes define ``STATICCOMPILER`` in CompForm.pas
and ``STATICPREPROC`` in Compile.pas.
- To debug the uninstaller first run Setup.exe to completion with the
``/DETACHEDMSG`` command line parameter set. Afterwards copy uninst000.dat and
uninst000.msg as setup.dat and setup.msg to the Projects directory in your
issrc path. Then open the Setup project and set the command line parameters to
``/UNINSTMODE "/SECONDPHASE=<your issrc path\Projects\Setup.exe"`` and start
debugging. Note: each time setup.dat and setup.msg will be deleted if you
allow the uninstaller to complete so make sure to keep copies.
Precompiled executables and libraries
-------------------------------------
Expand Down

0 comments on commit 8a3ee1d

Please sign in to comment.