The real trick to this is the Installed AND NOT UPGRADINGPRODUCTCODE condition on the Custom Action, with out that your action will get run on every upgrade (since an upgrade is really an uninstall then reinstall). I would like to modify an MSI installer (created through ) to delete an entire directory on uninstall.. According to the table above I had to use (NOT UPGRADINGPRODUCTCODE) AND (REMOVE='ALL') And it worked! There are multiple problems with, also property names are case sensitive, Installed is the correct spelling ( INSTALLED will not work). installed and not upgradingproductcodeinstalled and not upgradingproductcode Where FileCleanerEXE is a binary (in my case a little c++ program that does the custom action) which is also defined under:. Nissan Ga16 Engine Manual
The properties are documented at the Windows Installer Guide (e g ) EDIT: Small correction to the first table; evidently 'Uninstall' can also happen with just REMOVE being True.. After browsing the list archives During an installation or major upgrade, if a user has pinned the application to their task bar, then after the installation has completed, the task bar shortcut is.. I have a custom action that should only run on uninstall, but not run during an upgrade.. ) • Files larger than 1 GB may take much longer to download and might not download correctly.. Wix UpgradingproductcodeWix UpgradingproductcodeCustomAction on Uninstall but not upgrade.. Installed AND NOT UPGRADINGPRODUCTCODE Then you will also have to define your Action under:. e828bfe731
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |