If you are installing drivers, you will need a separate installer package (or at least a transform and a bootstrapper) for each OS bitness.
-----Original Message----- From: dvo...@icrcompany.com [mailto:dvo...@icrcompany.com] Sent: Thursday, September 10, 2009 10:31 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] installing an application as a pure x86 app on Vista 64. I've run the msi using Msiexec as suggested, and attached the resulting log file. The error is: "DIFXAPP: ERROR - You need to use the 64-bit version of DIFXAPP.DLL to install drivers on this machine." So the installer is failing because it isn't able to install the drivers. I've taken over the installer from someone else so I'm still learning about WiX. Within the installer code I've found: <DirectoryRef Id="DriversFolder"> <Component Id ="cyusb" Guid="954D30C8-5CDC-D6AB-3AF6-6CF9823200B3"> <File Id="cyusb.inf" Source="..\Includes\cyusb.inf" KeyPath="yes"/> <File Id="cyusb.sys" Source="..\Includes\cyusb.sys"/> <dfx:Driver Legacy="yes" DeleteFiles="yes"/> </Component> </DirectoryRef> What needs to be changed here so that it will work on both 64 bit and 32 bit machines. Or, do I need to have an installer for each? Thanks for the help so far. I feel like I'm getting somewhere. Dan > I've seen this when it's not an installer issue, it's because the .NET > binaries are AnyCpu and consequently run as native 64-bit and can't > load 32-bit dependent Dlls. When this happens during the install > custom actions fail etc. > > You didn't see any kind of error message when the install failed? > Anyway, installing with a command line to produce a log might help. > > Msiexec /I <path to msi> /l*v <path to a log file> > > > Phil Wilson > > > -----Original Message----- > From: Dan Vogel [mailto:dvo...@icrcompany.com] > Sent: Wednesday, September 09, 2009 4:25 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] installing an application as a pure x86 app on > Vista 64. > > When I run the installer on a 32-bit machine everything works fine. > When I run the installer on a 64-bit it prematurely ends due to some > unspecified error. I need the application to be a purely x86 > application. The app is written in C# and WPF and so should run fine > as 64-bit. However, several dll dependencies are 32-bit. > > What sort of flags or settings do I need to use to get the installer > to work properly in a 64-bit environment, but install the application > as purely x86? Are there some sort of logs that are created when the > installer fails that will let me know why it is prematurely ending? > > Thanks, > -- > > *Dan Vogel* > Software Engineer > iCRco - The Innovative CR Company > P) 310-921-9559 > F) 310-542-7236 > dvo...@icrcompany.com <mailto:dvo...@icrcompany.com> > http://www.icrcompany.com iCRco logo This e-mail may contain > confidential and/or privileged information. If you are not the > intended recipient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. > Any unauthorized copying, disclosure or distribution of the material > in this e-mail is strictly forbidden. > > > > ---------------------------------------------------------------------- > -------- Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day trial. Simplify your report design, integration > and deployment - and focus on what you do best, core application > coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day trial. Simplify your report design, integration > and deployment - and focus on what you do best, core application > coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users