As Simon Dahlbacka said, no.

An MSI has to target a specific platform which has to be either "Intel"
(aka Win32 or x86), "Intel64" (aka ia-64) or x64 (can also be AMD64 but
this is deprecated to x64).
An x86 MSI can't target x64 specific directories. Try it & if you look
at the logs you'll see something called WIN64DUALFOLDERS redirect any
x64 paths to the x86 one (e.g. "Program Files" will become "Program
Files (x86)"). An x64 MSI can target x86 specific directories but it
won't even attempt to install on an x86 platform. The phrase about a
rock and a hard place probably comes to mind at this point.

You could however do what I've seen other people do in this case. Create
both MSI's (x86 & x64) and bundle them with a bootstrapper which
installs the right one for the users architecture or just make both
available for download & set a LaunchCondition using VersionNT64 as the
inner text on the x86 one if you wish to force your users not to use the
x86 one on x64 platforms.

Good luck.


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: Prashant Murthy [mailto:prash...@gmail.com] 
Sent: 15 April 2009 20:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Single installer for 32-bit and 64-bit

Hi All,

Is it possible to bundle 32-bit and 64-bit files into a single MSI and
install the appropriate ones based on the system on which it is being
installed?

Specifically, I have a 32-bit driver (.sys) file and a 64-bit driver
(.sys) file. The rest of the files are all 32-bit.

I am trying to use DifxApp to build the msi. However, it appears that I
need to specify one of the two lib files to the wix linker (Light.exe)
as a "reference" - difxapp_x64.wixlib or difxapp_x86.wixlib.

Is it even possible to have a single msi file in this case? I would
appreciate your thoughts on this topic.

Thanks,
Prashant
------------------------------------------------------------------------
------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
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

Reply via email to