Open topic with navigation
Debugging a DLL Function Called from the Installation Script
InstallShield 2015 ยป InstallScript Debugger
To debug a DLL function called from your setup script:
|
1.
|
Open the Microsoft Visual Studio project that contains your DLL. |
|
2.
|
Shut down any setups that may be running. Also, verify that no Setup.exe processes are running by using Windows' Task Manager. If any Setup.exe processes are running, end them. |
|
3.
|
In the DLL project's project settings' Debug tab, specify in the "Executable for debug session" field the location of your setup's Setup.exe: <project folder>\Media\<media name>\Disk Images\Disk1\Setup.exe. |
|
4.
|
Specify the following in the "Program arguments" field: |
-deleter -d
|
5.
|
Press F5 to launch Setup.exe and begin debugging. The debugger will launch Setup.exe. The setup will initialize and run. The debugger should stop at any breakpoints set in your DLL function. |