Feature Requests item #1238472, was opened at 2005-07-14 16:33
Message generated for change (Comment added) made by sgoodij
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1238472&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compiler
Group: Denied
Status: Closed
Priority: 5
Submitted By: sgoodij (sgoodij)
Assigned to: Derek (derekc)
Summary: Install assembly to multiple locations

Initial Comment:
I'm trying to install an assembly to the GAC and also to 
a regular folder. Since this is not possible with 
DuplicateFile, a solution is to copy the installed file from 
the GAC to the local folder using a custom action 
(scheduled after MsiPublishAssemblies). I'm sure I'm 
not the only one trying to do this (see 
http://blogs.msdn.com/astebner/archive/2005/06/24/4325
21.aspx). This process could easily be generated from 
the CopyFile element (call the standard custom action 
instead of adding a row to DuplicateFile).

Another option would be to install the file locally then 
include gacutil.exe in the package and use it to install to 
the GAC...

----------------------------------------------------------------------

>Comment By: sgoodij (sgoodij)
Date: 2006-04-18 09:41

Message:
Logged In: YES 
user_id=1312865

This is the easiest solution, but the problem is that the 
assemblies are included twice in the package, making the 
final package bigger...

----------------------------------------------------------------------

Comment By: Derek (derekc)
Date: 2006-04-17 05:40

Message:
Logged In: YES 
user_id=518766

The best way to handle this scenario is to have two
components (one each for the two locations where the file
will be installed).  This allows you to use all the normal
MSI reinstall/patching/maintenance behavior without having
to worry about a custom action or copying files correctly.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1238472&group_id=105970


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to