- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to debug InstallShield code while uninstalling from Control panel?
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Hi @vasanthakumarmk ,
It might not be possible to debug InstallShield code when you launch setup from control panel.But you can try launching installed setup with debugging commandline /d to check whether that helps.
Based on the project type of yours,try out one of these given below:
For an InstallScript project, running the command Setup.exe /d runs the installation program with the InstallScript Debugger.
Note • Debugging InstallScript code requires the debug-information file Setup.dbg to be available. In addition, in order to debug an installation on a system other than your development machine, you need to copy certain files from your development machine to the debugging machine. To learn more, see Debugging an Installation on Any Computer.
For a Basic MSI project, the following command runs your InstallScript custom actions in the InstallScript Debugger:
Setup.exe /v"ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\"path-to-Setup.dbg\""
Details about InstallShield libraries involved in debugging is given here:
Thanks,
Jenifer
Hi @vasanthakumarmk ,
It might not be possible to debug InstallShield code when you launch setup from control panel.But you can try launching installed setup with debugging commandline /d to check whether that helps.
Based on the project type of yours,try out one of these given below:
For an InstallScript project, running the command Setup.exe /d runs the installation program with the InstallScript Debugger.
Note • Debugging InstallScript code requires the debug-information file Setup.dbg to be available. In addition, in order to debug an installation on a system other than your development machine, you need to copy certain files from your development machine to the debugging machine. To learn more, see Debugging an Installation on Any Computer.
For a Basic MSI project, the following command runs your InstallScript custom actions in the InstallScript Debugger:
Setup.exe /v"ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\"path-to-Setup.dbg\""
Details about InstallShield libraries involved in debugging is given here:
Thanks,
Jenifer
One more clarification, How do debugging while upgrade.
Already I have my setup file in control panel. I need to debug install shield code while upgrading the setup.
Can you kindly let me know how to do that?