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