[wix-users] installing 64 bit files within a 32 bit MSI [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Tue Dec 20 08:42:36 PST 2016


Classification: Public
Yes this is the way I currently create my MSI's (if there are bitness differences in the binaries)

I compile 1 as x86 and then compile the same project as x64 and have a bundle that runs the proper MSI depending on bitness of OS

However our PM would like us to go from 2 MSI's down to 1 and use Win64 in the 32 bit MSI to install the 64 bit binaries (with conditions of course)

Thanks,

Steve





This message has been marked as Public by Steven Ogilvie on December 20, 2016 11:42:34 AM. Classification provided by TITUS. 


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Marc Chantelois
Sent: December 20, 2016 11:39 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] installing 64 bit files within a 32 bit MSI

What about the registry ?  I had to create a custom action for a 32bit msi to write in to the 64bit registry.  (Unable to generate dump file of the install app if i don't write in the 64bit registry for dump)

For me, the same wix files are making the x86 and x64 msi.  I have 1 vstudio project for each solution.  There is only a change in the project files (-arch x64).  The rest of the variation are include in the definition files with some ´if(sys.buildarch = x64)´.  It is still 2 msi but i always wrap them in a single bootstrapper.

Le lun. 19 déc. 2016 à 16:54, Steve Ogilvie <SOGILVIE at msn.com> a écrit :

> Hi all,
>
>
>
>
>
> I am asked to look into (researching) installing our product from 2 
> MSI's
> (1 32 bit and 1 64 bit) into 1 MSI by using:
>
>
>
> Thanks to the msidbComponentAttributes64bit flag, mixing architectures 
> in a single MSI package is technically possible: You mark the package 
> as being
> 32 bit and set said flag for all 64-bit components. Rather than 
> splitting your setup into multiple packages, you can conveniently 
> combine everything into one.
>
> THis is from this website: "<
> https://jpassing.com/2009/10/09/mixing-32-and-64-bit-components-in-a-s
> ingle-msi
> >
> https://jpassing.com/2009/10/09/mixing-32-and-64-bit-components-in-a-s
> ingle-msi/
> "
>
>
>
>
>
> Is this really a good idea? installing 64 bit binaries into a 32 bit 
> file system on a 64 bit OS (C:\Program Files (x86)\)
>
>
>
>
>
> This goes against everything I know about MSI technology...
>
>
>
>
>
> Cheers,
>
>
>
>
>
> Steve
>
>
>
>
>
> ps Merry Christmas everyone :)
>
>
>
> ____________________________________________________________________
>
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list