Hello,
I have a CA running during Uninstall. That CA has to be initiated only when called from ARP or by cmd line (MsiExec /x ...). I don't want it to be called during reinstall or any other..
Any help what to write in the Condition property..
Thanks in advance
-eelis
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
UnInstall condition
Started by
eelisdotnet
, May 31 2006 10:54
4 replies to this topic
Posted 31 May 2006 - 19:19
The following evaluates to true only during uninstall:
REMOVE~="ALL"
However it doesn't matter how the uninstall was initiated.
REMOVE~="ALL"
However it doesn't matter how the uninstall was initiated.
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 June 2006 - 06:57
Thanks Stefan!
Here is the problem:
I have settings and log files that should stay untouched during an upgrade, even if it's a major upgrade with RemovePreviousVersion. I created a CA that removes them during Uninstall. These files should be removed only in case of ARP uninstall.
Note also that some of the files are not copied during the installation (created by the program on run-time). Therefore they cannot be monitored on the File System Editor (VS).
I need a way to determine whether the uninstall is coming from ARP or a major upgrade that removes the previous version.
Thanks a lot!
Here is the problem:
I have settings and log files that should stay untouched during an upgrade, even if it's a major upgrade with RemovePreviousVersion. I created a CA that removes them during Uninstall. These files should be removed only in case of ARP uninstall.
Note also that some of the files are not copied during the installation (created by the program on run-time). Therefore they cannot be monitored on the File System Editor (VS).
I need a way to determine whether the uninstall is coming from ARP or a major upgrade that removes the previous version.
Thanks a lot!
Posted 01 June 2006 - 23:19
In case of a Major Upgrade the UPGRADINGPRODUCTCODE property is set.
Stefan Krüger
InstallSite.org twitter facebook