Hi I am having problem with a conditional, whereby it is not installing files.
The WiX generated MSI successfully completes: 1. The conditional requirement (tested to make sure it works by putting host in a unpassable state) 2. Shows that product is installed within "Control Panel\All Control Panel Items\Programs and Features" However, files are not installed in to target install directory. What is wrong in how I set up the following conditional that would prevent file install even after successfully completing MSI installation?: <Property Id="PHP"> <RegistrySearch Id="PHP_RegKey" Type="raw" Root="HKLM" Key="SOFTWARE\PHP" Name="InstallDir" /> </Property> <Property Id="PROCESSOR_ARCHITECTURE"> <RegistrySearch Id="Processor_Architecture_RegKey" Type="raw" Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Name="PROCESSOR_ARCHITECTURE" /> </Property> <Condition Message="This setup requires PHP 5.2 or higher to be installed."> <![CDATA[ (PHP="C:\Program Files\PHP\" AND PROCESSOR_ARCHITECTURE="x86") OR (PHP="C:\Program Files (x86)\PHP\" AND NOT PROCESSOR_ARCHITECTURE="x86") ]]> </Condition> Ideas? ----- Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adding-Conditional-prevents-Source-installation-even-after-successful-MSI-run-tp4945719p4945719.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users