That DLL is deliberately not listed separately in wix.ca.targets. It should always get pulled in automatically as one of the detected dependencies of your CA assembly.
What is the output from MakeSfxCA.exe when it doesn't include that DLL? It should say something like: Loaded dependent assembly: c:\path\to\Microsoft.Deployment.WindowsInstaller.dll Did you install Microsoft.Deployment.WindowsInstaller.dll to the GAC? That might explain why it didn't get picked up -- dependencies resolved to the GAC are assumed to be part of a separate prerequisite (like the .NET Framework or other redistributable), and therefore are not included in the CA package. -Jason- -----Original Message----- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 6:14 AM To: WiX User Group Subject: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0? Hi, I created a CA using version 3.0.4318.0 of WiX. When I ran the CA that was built via an installer, I received the error "Failed to load assembly Microsoft.Deployment.WindowsInstaller. Error code 0x80070002". Upon checking the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file that the CA project template includes, MakeSfxCA.exe is called WITHOUT passing the Microsoft.Deployment.WindowsInstaller.dll in as one of the dependencies to bundle. When I modified the wix.ca.targets file, this issue was resolved. Sorry if this issue has already been reported. Cheers _________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users