Re: [WiX-users] InstallUtil and GACing the same assembly

2006-07-11 Thread Simon Burgess








What I was trying to do therefore was to
author one Component to install the dll to an arbitrary location on the
file system and run installutil on it there, then a second Component to
install the dll to the GAC . Should deferred custom actions be able to use the
assemblies I have installed to the file system?















From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 11 July 2006 15:38
To: Simon Burgess
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
InstallUtil and GACing the same assembly





Simon Burgess wrote: 

As both the GACing of the assembly and running
InstallUtil on the same assembly using the above WiX source code works fine
when only one operation is carried out independently, I can only assume it is
some kind of sequencing issue. 

Correct. Assemblies are installed to the GAC after
InstallFinalize so deferred custom actions can't use those assemblies. The best
solution is to figure out what the assembly is doing to install the perf
counters and replace it with stock MSI functionality.



-- sig://boBhttp://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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallUtil and GACing the same assembly

2006-07-11 Thread Simon Burgess








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 GAClike 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











From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 11 July 2006 16:52
To: Simon Burgess
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
InstallUtil and GACing the same assembly





Simon Burgess wrote: 

What I was trying to do therefore was to author one
Component to install the dll to an arbitrary location on the file
system and run installutil on it there, then a second Component to
install the dll to the GAC . Should deferred custom actions be able to use the
assemblies I have installed to the file system?

Yes. In that case, they're just files.




-- sig://boBhttp://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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallUtil and GACing the same assembly

2006-07-11 Thread Bob Arnson




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 GAClike 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. 

It's an excellent example of why setup should be declarative and not
dependent on running the same things you're installing.

-- 
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users