> -----Original Message-----
> From: Frank Jenner [mailto:frank8...@gmail.com]
> Sent: Friday, June 22, 2012 19:29
> 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.

I used multiple components.  Add the DIFxApp extension elements only to the
component that holds the INF file.  It will work.

With DIFxApp, all files in all application components are installed as
normal.  So your driver will be installed into your application directory,
along with all your other files.  What the DIFxApp element will do is add a
custom action that runs at the end of setup to install the driver.  This
custom action invokes DIFX to install the driver, and DIFX doesn't care what
files were in what component - as long as you have the complete driver file
tree installed, it will work.


------------------------------------------------------------------------------
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