I don't *think* this surprises me. In the standard
search for assemblies (as in MSDN "How the runtime locates assemblies") if the
assembly is in the GAC it gets used, and if there's also one in the application
folder it gets ignored.
Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Burgess Sent: Wednesday, July 12, 2006 7:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: InstallUtil and GACing the same assembly From: Simon Burgess
[mailto:[EMAIL PROTECTED] No I’m saying that
installutil should be using the location on the file system that I define in my
<Directory> elements and that’s what happens if all my msi is doing is
trying to installutil my dll (see InstallUtilSuccess.txt).However, as soon as I
introduce another <Component> element to install the same dll to the GAC,
then the installutil operation seems to get confused about the location it
should be running installutil (see
InstallUtilFail.txt) From: Bob Arnson
[mailto:[EMAIL PROTECTED] Simon Burgess wrote: And that is what I have tried in my example but for some
reason while the installutil actions are being performed (see
InstallUtilFail.txt) the ‘assemblypath’ value changes from this location on the
file system to a GAC–like location (when as you say the GACing of the assembly
should come later on) and the installutil operation fails because it is not in
the GAC yet Are you saying InstallUtil
requires that assembly to be in the GAC? AFAIK, there's no way to do that. MSI
doesn't install assemblies destined for the GAC; it hands them off to Fusion,
which takes care of them. -- sig://boB http://bobs.org |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users