Most of the custom actions I’m implementing come in groups of threes:

* ScheduleInstallAction runs immediate and is responsible for scheduling the 
install action and it’s rollback action.
* ScheduleUninstallAction runs immediate and is responsible for scheduling the 
uninstall action and it's rollback action.
* ExecuteAction runs deferred and installs, uninstalls, and/or performs 
rollback depending on what got scheduled and the InstallRunMode.

My goal is to reduce the number of custom actions from three to two. To do that 
I need to decide whether I need to schedule or execute. I was hoping it would 
be as easy as checking whether I'm running in InstallRunMode.Deferred but I see 
that value doesn't exist. What would be the proper way to make that decision?

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to