How does that file get on customers' machines and why didn't the original
author have it GAC'd in their distribution of that file? Could it possibly
not be intended for use from the GAC? Might that create a security issue?

What if the original installation needs to remove or upgrade that file, and
doesn't know about its entry in the GAC? It won't be upgraded, which could
then present a separate security risk caused by the now-false believe that
applying updates fixed all copies of the bad code.

Also, your setup should be regenerated every time any of its inputs change.
Otherwise a repair could very well undo your updates performed outside of
MSI.

-----Original Message-----
From: Sajo Jacob [mailto:spja...@gmail.com] 
Sent: Friday, June 18, 2010 9:11 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] GAC an assembly without embedding it within the MSI

I want to GAC an assembly already present on target machines, I know where
this assembly is on every machine (you can assume, that path is static for
all target machines and wont change) I do not want to include the assembly
to be GAC'd in the MSI since it can change with each software deployment and
we dont want our setup to be modified each time . I tried using the <File>
tag with Assembly =".net"

<File
    Id="Assembly.dll"
    Name="Assembly.dll"
    Assembly=".net"
    Source="Assembly.dll"
    KeyPath="yes" >
 </File>


but using File embeds my assembly in the MSI. Any ideas on how to just tell
the MSI to just look for the assembly in a particular location and not
include it?
----------------------------------------------------------------------------
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to