INFs seem fine. WIX is missing the tags required to make it a DIFxAPP
installer. The WIX file below will only copy files.
If you search the archive of this list, you will find a posting by James
Harper
http://www.osronline.com/showThread.cfm?link=168822
Where James graciously points to his WIX installer source code. I suggest
you avail yourself of the opportunity to see a ‘full-up’ sample of how
device installs can be built with WIX.
I believe also that a white paper is still available from MSFT which
discusses the virtues & techniques of WIX based device install.
http://download.microsoft.com/download/0/3/d/03d952c2-f0b9-4704-aa86-c233fa8
92d69/Egenera_SSI_Final_10-3-05.doc
The WDK also has a sample but it is rudimentary and uses WIX 2.0. The WIX
3.0 tools in my opinion are easier to work with.
Good Luck,
Dave Cattley
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Tuesday, January 19, 2010 2:00 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] WiX + DIFxAPP for NDIS IM Driver
Right now I am just trying to get the original passthru driver working so
here is the version section of the netsf.inf file…
…
[Version]
Signature = “$Windows NT$”
Class = NetService
ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider = %Msft%
DriverVer = 10/01/2002,6.0.5019.0
DriverPackageType = Network
…
and here is the netsf_m.inf version section…
…
[Version]
signature = “$Windows NT$”
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %Msft%
DriverVer = 10/01/2002,6.0.5019.0
DriverPackageType = NdisIMMiniport
…
I am using the WiX toolset 3.0 and while I am unsure what version of
DIFxAPP, it came with the installation of WiX as you said Oliver. Here is
my .wxs snippet…
…
Guid=‘DE0E6DAD-65B5-480E-8CFD-EFFAF91E86E6’>
DiskId=‘1’ Source=‘Files/netsf.inf’ KeyPath=‘yes’ />
Guid=‘ECA58FB8-301C-43E2-B76F-EF4400B4DC62’>
Name=‘passthru.sys’ DiskId=‘1’ Source=‘Files/passthru.sys’ KeyPath=‘yes’ />
Guid=‘0FA27339-98B8-4705-93CE-E9C698371DEA’>
Name=‘netsf_m.inf’ DiskId=‘1’ Source=‘Files/netsf_m.inf’ KeyPath=‘yes’ />
Guid=‘98A41CE8-0A96-4C5B-A17A-0DC980C93074’>
DiskId=‘1’ Source=‘Files/readme.txt’ KeyPath=‘yes’ />
…
Hopefully it is not too obvious by looking at the code but I am actually
brand new to WiX as well, so any pointers on cleaning up the XML would be
appreciated as well. (This snippet is obviously before I implemented
David’s suggestion). Thanks again for your quick responses.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer