Oh...  If you're looking for OS = x64 or x86, rather than processor x64 
vs. x86, you'll probably want to look at VersionNT64 (also requires 
version 4.0 of MSI).




Kelly Leahy <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
10/03/2007 06:39 PM

To
Kelly Leahy <[EMAIL PROTECTED]>
cc
[EMAIL PROTECTED], Hongping Lim 
<[EMAIL PROTECTED]>, "wix-users@lists.sourceforge.net" 
<wix-users@lists.sourceforge.net>
Subject
Re: [WiX-users] How to check processor architecture







Oops, I just found the doc - this is only supported on MSI 4.0 

see: http://msdn2.microsoft.com/en-us/library/aa368788.aspx 

Kelly 



Kelly Leahy <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED] 
10/03/2007 06:32 PM 


To
Hongping Lim <[EMAIL PROTECTED]> 
cc
[EMAIL PROTECTED], "wix-users@lists.sourceforge.net" 
<wix-users@lists.sourceforge.net> 
Subject
Re: [WiX-users] How to check processor architecture









You can't build one package for x64 and x86.  However, if all you're doing 
is putting stuff in the Win32 normal places (not messing with x64 registry 
or file system), you should be able to check for the existence of Intel or 
Intel64 properties.  I think windows installer sets these as appropriate. 

Kelly 


Hongping Lim <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED] 
10/03/2007 06:25 PM 


To
"wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> 
cc

Subject
[WiX-users] How to check processor architecture










Hi, 
 
I have a couple of custom actions that the installer needs to run on the 
user’s machine depending on the machine’s processor architecture (x86 or 
x64). 
 
Is there some registry key or some property that I can check? I am looking 
for something to put within the condition of the Custom element, eg: 
 
     <Custom Action='MyCustomAction_x86' 
After='InstallFinalize'>PROCESSOR_ARCHITECTURE = x86</Custom> 
     <Custom Action='MyCustomAction_x64' 
After='InstallFinalize'>PROCESSOR_ARCHITECTURE = x64</Custom> 
 
Thanks, 
Hongping
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> 
http://get.splunk.com/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**************************************************************************************
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> 
http://get.splunk.com/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**************************************************************************************
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to