Message290544
The Windows installation package registers a command line for uninstalling the package. Running this command line does not uninstall the package.
The command line ends with "/modify". For uninstallation, it should be "/passive /uninstall".
Windows provides for separate command lines for modifying and uninstalling packages to be set in the "Uninstall" subkey:
- ModifyPath: Command line for modifying the package
- UninstallString: Command line for removing the package
By setting both keys, the ARP control panel will display separate buttons for the two operations.
Having an uninstallation command line that does not do what it says, and in fact causes modal UI to be presented, also interferes with automated package management.
Ceterum censeo: This bug would have been avoided by using MSI as the distribution package format, because "msiexec /qn /x [ProductCode]" would have been correct regardless of what the registry says, and even if the registry does not say anything because the Uninstall key (as well as the uninstaller executable itself) were actually deleted months ago as part of some expired user profile. See bug #25166. |
|
Date |
User |
Action |
Args |
2017-03-26 18:09:34 | chrullrich | set | recipients:
+ chrullrich, paul.moore, tim.golden, zach.ware, steve.dower |
2017-03-26 18:09:34 | chrullrich | set | messageid: <1490551774.28.0.407532543156.issue29911@psf.upfronthosting.co.za> |
2017-03-26 18:09:34 | chrullrich | link | issue29911 messages |
2017-03-26 18:09:33 | chrullrich | create | |
|