Hi
I have a custom action that relies on some files to be there.
I tried to use a "System Search" to ensure existence of these files but
the search was not rerun after the files were copied in the install.
If I run the action (custom actions) without condition I can not uninstall the program
because it tries to run it in the uninstall too (after the files wre deleted).
Is there condition to test whether msi is in uninstall mode ?
Or is there a better way to run costim actions in my case ?
ciao
Stephan
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.
how to run an action only during install
Started by
stephan_pfab
, Aug 24 2006 09:44
1 reply to this topic
Posted 24 August 2006 - 12:20
Off the top of my head:
Check for Uninstall: REMOVE=ALL
Check for not fresh install: Installed
Check for fresh install: Not Installed
Check for major upgrade : UPGRADINGPRODUCTCODE
Check for admin rights: AdminUser
Check for elevated rights: Privileged
Etc... Check the MSI SDK for more details on other useful properties.
Check for Uninstall: REMOVE=ALL
Check for not fresh install: Installed
Check for fresh install: Not Installed
Check for major upgrade : UPGRADINGPRODUCTCODE
Check for admin rights: AdminUser
Check for elevated rights: Privileged
Etc... Check the MSI SDK for more details on other useful properties.
Regards
-Stein Åsmul
-Stein Åsmul

