I am using these conditions but they are behaving strangly:

<InstallExecuteSequence><!--Set properties for Installation--><Custom
Action="CA_SetProperty_MACHINENAME" After="CostFinalize">NOT
Installed</Custom><Custom Action="CA_SetProperty_SDK_MACHINE"
After="CA_SetProperty_MACHINENAME">NOT Installed</Custom>
 <!--For Install Only--><Custom Action="CA_SetBase_Install"
Before="CA_Install">(NOT Installed) OR (UPGRADINGPRODUCTCODE) OR
NOT(REMOVE = "ALL")</Custom><Custom Action="CA_Install"
After="CA_Rollback">(NOT Installed) OR (UPGRADINGPRODUCTCODE) OR
NOT(REMOVE = "ALL") OR (Installed AND (InstallMode =
"Repair"))</Custom>
 <!--For Repair Only (properties set during Uninstall are going to use
here also)--><Custom Action="CA_SetBase_Repair"
Before="CA_Install">Installed AND (InstallMode = "Repair")</Custom>
 <!--For Rollback Only--><Custom Action="CA_SetBase_Rollback"
Before="CA_Rollback">NOT Installed</Custom><Custom
Action="CA_Rollback" After="StartServices">NOT Installed</Custom>
 <!--Set properties for Uninstall--><Custom
Action="CA_SetProperty_SDKMACHINE"
After="AppSearch">Installed</Custom><Custom
Action="CA_SetProperty_INSTALLPATH"
After="CA_SetProperty_SDKMACHINE">Installed</Custom>
 <!--For UnInstall Only--><Custom Action="CA_SetBase_UnInstall"
Before="CA_UnInstall">Installed</Custom><Custom Action="CA_UnInstall"
After="MsiUnpublishAssemblies">Installed AND ((NOT
UPGRADINGPRODUCTCODE) AND (REMOVE = "ALL")) AND (InstallMode =
"Remove")</Custom>
</InstallExecuteSequence>


On install, I am adding three registry values, but on repair first i read
these values, run a custom action. But the last registry value gets deleted
but other two remains the same.
Ok registry values are populated during install and input are taken from
textbox. But All registry addition are same but I am not sure why only last
value gets removed?
Can anyone please show me the error in the above code?
or can some one show me condition which runs *only on* INSTALL, REPAIR,
UNINSTALL and UPGRADE

-- 
Thanks and Regards,
Ravi Raj
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to