In my setup program, I have a main wix file and a merge module. In my main wix file, I am looking for any earlier versions of the product and if I find one, I set a property called 'MYAPPFOUND'.
<Upgrade Id='$(var.UPGRADE_CODE)'> <UpgradeVersion OnlyDetect='no' Property='MYAPPFOUND' Maximum='3.0.0.0' IncludeMaximum='no'/> </Upgrade> In my merge module, I need to run a custom action only if 'MYAPPFOUND' property is set. I have the following code: <InstallExecuteSequence> <Custom Action="ShutDownApp" Before="InstallValidate">MYAPPFOUND</Custom> </InstallExecuteSequence> But the problem is that the merge module is trying to access the property 'MYAPPFOUND.<Module GUID>'. So, seems its using the property 'MYAPPFOUND.<Module GUID>' to evaluate the condition. Is there a way I can make it use the property defined in the main wix file and not use something like 'MYAPPFOUND.<Module GUID>'? By using ORCA, I changed the condition from 'MYAPPFOUND.<Module GUID>' to only 'MYAPPFOUND' and then it seems to work fine. Thanks. Sudripta. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users