Trying to reference a Property in a RegistrySearch which sets that
Property would do that.

Your original code:

        <Property Id="PROCESSOR_ARCHITECTURE"> 
          <RegistrySearch Id="Processor_Architecture_RegKey" Type="raw"
Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\Session
Manager\Environment" Name="PROCESSOR_ARCHITECTURE" /> 
        </Property>

I wouldn't expect Windows Installer to support recursion in that manner
(or at all, it's a transactional system).

Also you can reference environment variables simply by using
%environmentvariablename so simply using %PROCESSOR_ARCHITECTURE
replaces all of your above code.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: jeff00seattle [mailto:jeff_tan...@earthlink.net] 
Sent: 22 April 2010 23:47
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Resolved: Adding Conditional prevents Source
installation even after successful MSI run


The problem had to deal with <Property Id="PROCESSOR_ARCHITECTURE"> 

To fix this problem was to change it to <Property
Id="PROCESSOR_ARCHITECTURE_BASE"> 

Somehow there was label conflict <RegistrySearch ...
Name="PROCESSOR_ARCHITECTURE" /> 


-----
Thanks
Jeff in Seattle
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adding-Con
ditional-prevents-Source-installation-even-after-successful-MSI-run-tp49
45719p4947567.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



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

Reply via email to