Nope. You put the common files shared between both platforms (probably
almost everything if you build for "AnyCPU" platforms) in one cabinet
file, the x86 specific stuff in another & the x64 specific in a 3rd
(platform specific cabinets might not be necessary if you don't have any
platform specific files).

Your x86 MSI uses the x86 specific cabinet plus the common stuff in it's
Media Elements. The x64 one uses the x64 specific cabinet plus the
common one in it's Media Elements. You then wrap your 2 MSI's and 3
CAB's in a bootstrapper which launches the correct MSI for the platform
& you should get a single file for download which installs to either
platform & has a single ARP entry (and should be easy to patch/upgrade
in future using the same method). Until Burn is done I'd recommend
dotnetinstaller for your bootstrapper needs as it would take 10 minutes
to write the XML to do this in it (http://dotnetinstaller.codeplex.com/)

The -cc & -reusecab switches let you build the common files into a
cabinet & use that same cabinet for both MSI's. Just don't embed the
CAB's into the MSI's otherwise you defeat the entire purpose of the
exercise.

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: Rune Moberg [mailto:jjfl...@gmail.com] 
Sent: 25 January 2011 14:54
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] 64 Bit program files folder

On Mon, Jan 24, 2011 at 11:25 AM, Pally Sandher
<pally.sand...@iesve.com> wrote:
> If you're clever about it you can build your 2 platform specific MSI's
& embed them into a bootstrapper without doubling the size of your
download.
>
> See the -cc & -reusecab switches for light.exe.

Given that I am a WiX n00b, I'm not particulary clever. ;)

You're saying put the common stuff in one .msi, and the x64 and x86
specific stuff into two additional .msi files?

Can I, in the common .msi, get to the %ProgramFiles% directory usually
reserved for x64 apps? (If I could do that, then there'd be no need for
a separate x64 MSI file, no?)

--
Rune

------------------------------------------------------------------------
------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better
price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires February
28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to