Note: Fredrik wrote the COM+ installation code. His answers are far more authoritative than mine.
Don Benson wrote: > I never had this functionality previously working. I am a new user to WiX > (just since the beginning of the month), going through the process of > converting Wise for Windows Installer projects (yes, it's an ancient tool!) > to WiX. > > Based on what Rob is saying, it does certainly seem to a Fusion issue, at > least with .NET 2.0 on Windows 2000. I haven't tested on 2003 or 2008 servers > yet, but that won't really matter because I have to support Windows 2000 for > at least a year or more. If I could use COM+ 1.5, I wouldn't be using the GAC > at all. I would prefer use private assemblies in conjunction with the > application directory attribute of the COM+ application. > > >> -----Original Message----- >> From: Fredrik Grohn [mailto:fredrik.gr...@microsoft.com] >> Sent: Friday, February 20, 2009 2:23 PM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Trouble registering .NET assembly from GAC >> into COM+ >> >> This is actually supposed to work. Though neither Fusion or COM+ where >> designed with deployment in mind, so plenty of unexpected things seems >> to happen here. >> >> This probably has something to do with Fusion, but I am at a loss to >> tell what. >> >> Are you saying that you have had it working with a previous WiX build >> BTW? >> >> -----Original Message----- >> From: Don Benson [mailto:dben...@trulinx.com] >> Sent: Friday, February 20, 2009 11:06 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Trouble registering .NET assembly from GAC >> into COM+ >> >> That is what I did, and it was easy to do. >> >> So what is the purpose of the DLLPathFromGAC attribute on the >> ComPlusAssembly element? It doesn't seem like it has any use as of >> build 3.0.5006 unless you are using to register a DLL that already was >> previously installed, and I'm not sure what installation scenario would >> do that. >> >> Thanks for the informative and prompt responses! >> >> >>> -----Original Message----- >>> From: Rob Mensching [mailto:r...@wixtoolset.org] >>> Sent: Friday, February 20, 2009 1:52 PM >>> To: General discussion for Windows Installer XML toolset. >>> Subject: Re: [WiX-users] Trouble registering .NET assembly from GAC >>> into COM+ >>> >>> Option 1 may be the best. All of that "install/upgrade/uninstall >>> stuff" >>> you listed on that line is good stuff and difficult to do well. >>> >>> >>>> Option 1: >>>> Include the .NET DLL in the GAC and in a folder, which requires >>>> >>> separate components for the file. I've seen threads about deploying >>> .Net assemblies to both places. The ComPlus configuration can >>> >> reference >> >>> the DLL component that installs to a folder. If there is an error >>> during the COM+ registration, the entire installation will be rolled >>> back. Upgrades and removals are handles automatically through the >>> built-in functionality. >>> >> CONFIDENTIALITY NOTICE: This email and any files transmitted with it >> are the property of Tribute Inc. and/or its affiliates. The contents of >> this communication are confidential and may contain information that is >> privileged and/or exempt from disclosure under applicable law. It is >> intended solely for use of the individual or entity to whom this email >> is addressed. If you are not one of the named recipient(s) or otherwise >> have reason to believe that you have received this message in error, >> please notify the sender and immediately delete this message and any >> attachments. Any unauthorized use, retention, dissemination, >> forwarding, printing, or copying of this email is strictly prohibited. >> >> ----------------------------------------------------------------------- >> ------- >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> ----------------------------------------------------------------------- >> ------- >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > CONFIDENTIALITY NOTICE: This email and any files transmitted with it are the > property of Tribute Inc. and/or its affiliates. The contents of this > communication are confidential and may contain information that is privileged > and/or exempt from disclosure under applicable law. It is intended solely for > use of the individual or entity to whom this email is addressed. If you are > not one of the named recipient(s) or otherwise have reason to believe that > you have received this message in error, please notify the sender and > immediately delete this message and any attachments. Any unauthorized use, > retention, dissemination, forwarding, printing, or copying of this email is > strictly prohibited. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users