Hello,
Could you help me such problem? -
Do I have a way to run uninstall with some parameters?
Depper description of problem -
I need to upgrade my product when 4th version number is changed.(for example from 1.0.0.0 to 1.0.0.1) Because of windows installer restriction I can't do it automatically.(4th version number is ignoring)
So I want to do the following -
1) Check allow side by side install
2) When my installer is runnig - check OLDPRODUCTS and if installed product is exists on PC - uninstall it from custom action.
it works, but...
Its upgrade, so I dont want to delete all files while unistalling(for example I dont want to delete license file). So I need somehow say to uninstalled - "Do not touch some files". So I need to pass some parameter to uninstall. Something like "Action Data" of custom action for unstallation process. How can I do this?
NOTE: unistall is running manually from custom action, so I dont have access to sessions property of this process. or not?
Actually if you have an idea how I can run my upgrade in another way - this will be helpful too...
Thanks in advance,
Alex
FOLLOW US
Get the latest news in Application Packaging