cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Run the InstallScript Debugger During Uninstallation

How to Run the InstallScript Debugger During Uninstallation

Summary

This article explains the ways that you can run the InstallScript Debugger during an uninstallation

Synopsis

This article explains the ways that you can run the InstallScript Debugger during an uninstallation.

Discussion

From the IDE:
When running the InstallScript Debugger through the IDE (Build > Debug [F5]), your product may be getting uninstalled before debugging occurs. This behavior can be disabled to allow debugging to occur during uninstall. This setting is found under Tools > Options > Preferences > "Uninstall the product automatically before installing or debugging." Disabling this option will allow you to run an uninstall through the IDE as well as run the debugger during an uninstall.

From the Command-Line:
For a Basic MSI or InstallScript MSI project, the following command runs the uninstallation with the InstallScript Debugger:
Setup.exe /x /v"ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\"path-to-Setup.dbg\""

For an InstallScript project, the following command runs the uninstallation with the InstallScript Debugger:
Setup.exe /uninst /d"path-to-Setup.dbg"

Additional Information

Related KB Article: Setup.exe /d Does Not Launch Debugger
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 19, 2018 04:44 PM
Updated by: