Ran into the same problem and couldn't figure it out either.  In our case I was 
modifying the inf file with our branding anyways so at same time I just created 
two inf files: one for 32bit and one for 64bit and a separate MSI for each one. 
 I then have burn detect the OS "bitness" and run the appropriate MSI.

Wes

-----Original Message-----
From: Frank Jenner [mailto:frank8...@gmail.com] 
Sent: June-22-12 4:29 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] DIFxApp driver files in multiple directories

I'm attempting to use the WixDifxAppExtension to install a driver. In the only 
DIFxApp examples I have seen (of which there are very few), all of the files 
associated with the driver are located in the same directory, and all of those 
files are nested directly beneath the Component that contains the difx:Driver 
element.

In my application, however, I must deploy a driver that does not have a flat 
directory structure. In general, I cannot change the directory structure used 
by the driver because the driver is already signed, which means that any 
changes that I make to the INF file to accommodate a new directory layout would 
invalidate the signature. Thus, I arrive at a couple of questions:

1.) With the DifxAppExtension, what is the appropriate way to add a driver that 
has files in multiple directories (and therefore presumably needs multiple 
Components)?
2.) Are there any particularly good resources out there of using the 
WixDifxAppExtension with WiX 3.x in general? It took me quite a while to piece 
together the information I needed to write the .wxs file, as well to construct 
the appropriate arguments to candle and light.

Also, just in case anyone is curious why the driver has its own directory 
structure, it is because there is a single INF/CAT that handles both x86 and 
x64 variants of the driver, as such (don't worry, I know that I have to 
generate two separate MSIs with separate versions of difxapp*.wixlib for the 
different architectures):

\driver.inf
\driver.cat
\i386\driver.sys
\amd64\driver.sys
___________
Frank Jenner
------------------------------------------------------------------------------
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

Reply via email to