I'm trying to building an msi package for an x64 driver using wix 
3.0.4102. So far, I've figured out that it needs the scheme extension:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension";>

and the option: -ext "C:\Program Files (x86)\Windows Installer XML 
v3\bin\WixDifxAppExtension.dll"
on both candle.exe and light.exe. Here's the driver part of my .wsx file:

                  <Directory Id="driver.mmfs" Name="mmfs">
                    <Component Id="driver.mmfs" Guid="
a8761b30-6f51-4a3e-b511-f4f6037ee612" Win64="yes">
                      <difx:Driver DeleteFiles="yes" Legacy="yes" 
PlugAndPlayPrompt="no" AddRemovePrograms="yes" />
                      <File Id="driver.mmfs.inf" Name="mmfs.inf" Source="
$(var.gTarget)\proj\mmfs\mmfs.inf" />
                      <File Id="driver.mmfs.sys" Name="mmfs.sys" Source="
$(var.gTarget)\proj\mmfs\mmfs.sys" />
                      <File Id="driver.mmfs.cat" Name="mmfs.cat" Source="
$(var.gTarget)\proj\mmfs\mmfs.cat" />
                    </Component>
                  </Directory>

The msi compiles and links, but the installation fails with:
Action start 12:45:21: MsiProcessDrivers.
DIFXAPP: ENTER: ProcessDriverPackages()
DIFXAPP: ERROR - You need to use the 64-bit version of DIFXAPP.DLL to 
install drivers on this machine.
Action ended 12:45:21: MsiProcessDrivers. Return value 3.
Action ended 12:45:21: INSTALL. Return value 3.

Is something missing, or is WiX 3 not yet ready for x64 drivers?
Where does the DIFxApp.dll and DIFxAppA.dll come from? Is seems they are 
not taken from the WDK installation.

Thanks,
Demyn
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to