Hi Rob, Thanks for the assistance. It appears that I will need to use the XmlConfig to register and unregister the module with IIS at this moment in time. I believe that restarting an application pool can be accomplished via a custom action so that will probably be my approach there as well.
I look forward to future improvements to what appears to be an already great project!! Ryan Taylor Office (207)-504-5294 rtay...@penbaysolutions.com www.penbaysolutions.com -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, October 27, 2010 5:24 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Regsitering a Managed Module for an IIS 7 Web Site 1. Not sure the IIS CA support managed modules. Today, the IIS CA cover most of IIS6 functionality and maybe one or two additional things in IIS7. More code is needed.<smile/> 2. No, XmlConfig has the means to add, repair, remove values from XML files. 3. Don't think the IIS CA supports that today. Interesting feature to add. On Tue, Oct 26, 2010 at 11:16 AM, Ryan Taylor <rtay...@penbaysolutions.com>wrote: > Hello WiX Users, > > I am trying to find documentation regarding how I can use WiX to register a > custom developed managed module for an IIS 7 web site. I am using WiX 3.5 > for this installation. > > I have successfully registered the module by hand but I would like to use > WiX to automate the process. The rough steps include: > > S1. Install the managed module into the Global Assembly Cache. > S2. Add the managed module for compilation within the IIS web site. > S3. Add the managed module to the IIS web site. > S4. Restart any dependent application pools (only required during an > upgrade as the managed module needs to be reloaded). > > By hand, Step 2 involves adding the following section to the web site's > web.config file: > > <system.web> > <compilation debug="false"> > <assemblies> > <add assembly="MyCompany.MyProduct, Version=1.0.0.0, > Culture=neutral, PublicKeyToken=1111111111111111" /> > </assemblies> > </compilation> > </system.web> > > > By hand, Step 3 involves adding the following section to the > > <system.webServer> > <modules> > <add name="MyModule" type="MyCompany.MyProduct.MyModule, > MyCompany.MyProduct, Version=1.0.0.0, Culture=neutral, > PublicKeyToken=1111111111111111" /> > </modules> > </system.webServer> > > > Q1. I have been unable to find out how to do Steps 2,3, and 4 via WiX. It > seems that I could use the XML utility functions for Step 2 and 3, but is > there a better way? > > Q2. If I use the XML utility functions, will the changes be automatically > reverted during an uninstall? > > Q3. Finally, how do I restart an application pool using WiX? > > Thanks!! > > Ryan Taylor > Office (207)-504-5294 > rtay...@penbaysolutions.com > www.penbaysolutions.com > > > CONFIDENTIALITY NOTICE: > This e-mail message, including any attachments, is for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or distribution is > prohibited. If you are not the intended recipient, please do not read, > disclose, reproduce, distribute, disseminate or otherwise use this > transmission, but contact the sender by reply e-mail and destroy all copies > of the message and its attachments. > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, but contact the sender by reply e-mail and destroy all copies of the message and its attachments. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users