I have an InstallExecuteSequence block, within which I currently run actions depending on whether the installation is installing or removing. I'd like to extend the installing condition to include the Change/Repair modes that are available in the maintenance dialog.
I'm trying this but with no success: <InstallExecuteSequence> <Custom Action="MyCleanup" After="InstallInitialize"> Installed AND REMOVE </Custom> <Custom Action="MySetup" After="InstallFinalize"> NOT Installed OR ([WixUI_Mode] = "Change") OR ([WixUI_Mode] = "Repair") </Custom> </InstallExecuteSequence> Any ideas? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users