If you are using a bootstrapper anyway why not create both bitness MSIs and
conditionally install the correct one?

-----Original Message-----
From: Frank Jenner [mailto:frank8...@gmail.com] 
Sent: 25 June 2012 12:48
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to mix 32bit driver and 64bit driver into
samepackage?

You cannot build a single MSI that deploys both the 32-bit and 64-bit version
of the driver. As you discovered, you can only use one of the difxapp
libraries in your build. This is due to the fact that the underlying SetupAPI
calls in DIFx are not "thunked" in WOW64 (see here:
http://download.microsoft.com/download/7/E/7/7E7662CF-CBEA-470B-A97E-CE7CE0D9
8DC2/32-64bit_install.docx),
so the libraries must be made architecture-specific.

One thing that I think you may be able to do (and I would love someone to
jump in and confirm this, as I'm actually also trying to deploy both a 32-bit
and 64-bit driver) is to generate two separate MSI installers, and then use
torch to create a transform (essentially a diff) against the 32-bit
installer. Embed the transform into the 32-bit installer, and then use a
bootstrapper to conditionally apply the transform based on the architecture.
___________
Frank Jenner


On Mon, Jun 25, 2012 at 2:52 AM, tzleon <tzl...@gmail.com> wrote:

> I wish to mix 32bit driver and 64bit driver into same package, but the 
> problem is the two referenced library difxapp_x64 and difxapp_x85 
> can't be imported into same package, otherwise, there is a error as below:
>
> "Error  1       Duplicate symbol 'CustomAction:MsiProcessDrivers' found.
> This
> typically means that an Id is duplicated. Check to make sure all your 
> identifiers of a given type (File, Component, Feature) are unique.
> C:\Program Files (x86)\Windows Installer XML v3.6\bin\difxapp_x86.wixlib
>      0       1
> HKeySetup"
>
> How to solve this problem?
>
> Thanks!
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-m
> ix-32bit-driver-and-64bit-driver-into-same-package-tp7579071.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to