I am using the Enterprise Library in this way as well. I decided to install the assembly into the GAC, also install the assembly to somewhere on the file system and finally install a batch file which is executed via a custom action after InstallFinalize that runs installutil – I know its not a particular elegant solution but its what I have right now

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hidey
Sent: 27 July 2006 18:04
To: John Vottero; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] GAC and call Custom Action

 

This was not my decision.  This is how the Microsoft enterprise library 2.0 does it.  We have signed the msentlib 2.0 and are putting in the gac and want to get all the instrumentation installed for it also with the installer.

 

 

From: John Vottero [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 1:03 PM
To: John Hidey; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] GAC and call Custom Action

 

I don't think it's a good idea to put Installer classes in the same assembly that they're installing for.  This is one of the reasons.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hidey
Sent: Wednesday, July 26, 2006 1:51 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] GAC and call Custom Action

Here is my problem everyone.  I have a msi that installs several files into the gac.  I DO NOT create a shadow copy of these files on the file system until my property called CREATESHADOW has a value of 1.  These assemblies have installers in them that I need to call.  (I know managed installers in not recommended but have to get done quickly)  When I put my custom action in and call InstallUtilLib the file isn’t actually on the file system.  Is there a way to have InstallUtilLib refer the file via its temporary location that is used by the installer?  Thoughts?

 

Thanks everyone in advance.

 

John

 

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to