Hi Jason,

 

I have checked the GAC and yes the dll IS in there.  The "dependant
assembly..." IS also output.  I just verified this again and when I call
MakeSfxCA.exe WITHOUT explicitly specifying the WindowsInstaller.dll the
same error is logged (even though it has indicated it has loaded the
dependant assembly when I ran MakeSfxCA.exe).  When I do specify, it works.
Any other ideas of what I may be doing wrong/have wrongly configured?

Is there anything other than installing WiX and creating a custom action VS
project that I would have to do?

 

Thanks

 


Re:
<http://sourceforge.net/mailarchive/message.php?msg_name=139942F2536B7C4FBDE
6B44132F80C842426B1D208%40NA-EXMSG-C111.redmond.corp.microsoft.com>
[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

From: Jason Ginchereau <[EMAIL PROTECTED]> - 2008-10-08 15:10


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
<http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/
_______________________________________________
WiX-users mailing list
[EMAIL PROTECTED]
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

Reply via email to