Bob Arnson wrote: > Ben Greenberg wrote: >> But, since MsiProcessDrivers is declared in the Difx MSM, light doesn't know >> about it and complains that CustomAction:MsiProcessDrivers is an unresolved >> symbol reference. >> >> Is there a way to do this in WiX? >> > > No. WiX merges the module's contents via mergemod.dll and doesn't offer > the ability to munge incoming rows. >
Don't use the merge module use instead the Wix DFxApp extention and the code in the WiX-users thread titled "Driver installation linker error" shown below. <Binary Id="DIFxApp.dll" SourceFile="$(var.DIFxAppPath)DIFxApp.dll" /> <Binary Id="DIFxAppA.dll" SourceFile="$(var.DIFxAppPath)DIFxAppA.dll" /> <CustomAction Id="MsiCleanupOnSuccess" BinaryKey="DIFxApp.dll" DllEntry="CleanupOnSuccess" /> <CustomAction Id="MsiProcessDrivers" BinaryKey="DIFxApp.dll" DllEntry="ProcessDriverPackages" /> <CustomAction Id="MsiInstallDrivers" BinaryKey="DIFxAppA.dll" DllEntry="InstallDriverPackages" Execute="deferred" Impersonate="no" /> <CustomAction Id="MsiUninstallDrivers" BinaryKey="DIFxAppA.dll" DllEntry="UninstallDriverPackages" Execute="deferred" Impersonate="no" /> <CustomAction Id="MsiRollbackInstall" BinaryKey="DIFxAppA.dll" DllEntry="RollbackInstall" Execute="rollback" Impersonate="no" /> <InstallExecuteSequence> <Custom Action="MsiCleanupOnSuccess" After="InstallFinalize" /> <Custom Action="MsiProcessDrivers" After="InstallFiles" /> </InstallExecuteSequence> Cheers Garth ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users