Hi Fredrik,

I think I had a pretty bad understanding of how the GAC works. So you are
saying that I should just install all those components into the GAC and not
worry at all whether they are already installed or not. If they already
exist, Windows Installer won't install them a second time. If they don't
exist, they will be installed. Most importantly though, Windows Installer
will always guarantee that they are installed for my own program.
Did I get that right?

Thanks a lot!

Patrick

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wix-users-
> [EMAIL PROTECTED] On Behalf Of Fredrik Grohn
> Sent: Wednesday, April 11, 2007 18:40
> To: Patrick Schmid; wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] detect installed .net assembly
> 
> The fact that you are trying to do this indicates that you are trying
> to break the component rules that says to never install two components
> sharing the name and target location.
> 
> What you really want to do is have an identical component in both the
> MSI's that I presume you have. That will allow Windows Installer to
> properly keep track of reference counting for instance.
> 
> Imagine the following scenario:
> 1. The user installs the first product that contains your GAC assembly
> and the assembly is registered.
> 2. The user installs your product that finds the assembly already in
> GAC and does not try to install it a second time.
> 3. The user uninstalls the first product and the assembly gets removed
> from GAC.
> 4. The user tries to run your application that fails because the
> required assembly is no longer in GAC.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wix-users-
> [EMAIL PROTECTED] On Behalf Of Patrick Schmid
> Sent: Monday, April 09, 2007 8:52 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] detect installed .net assembly
> 
> How do I figure out with wix3 whether a particular .net assembly is
> already
> installed (and registered in the GAC)? I'd like to write a condition to
> not
> install an assembly if the user has it already installed.
> 
> Thanks,
> 
> Patrick Schmid
> 
> 
> -----------------------------------------------------------------------
> --
> 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=DEVD
> EV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> -----------------------------------------------------------------------
> --
> 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=DEVD
> EV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


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