Unfortunately there is a completely different set of APIs for working with IIS 7.
Here is the link to the MSDN documentation on the ServerManager Namespace: http://msdn.microsoft.com/en-us/library/microsoft.web.administration.servermanager(v=vs.90).aspx Mat Skildum -----Original Message----- From: Uma Harano [mailto:uhar...@esri.com] Sent: Thursday, February 24, 2011 2:33 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Need to not use IIS 6 Scripting tools compatibility on IIS 7 machines. Hi, I am using WiX C # custom action template in Visual Studio 2008. The custom action I am writing is for listing all the websites on a machine and displaying it in a msi dialog. The code is very similar to what is found on this site: http://blog.torresdal.net/CommentView,guid,FE27427F-FF4F-4056-BC50-C98E23227C6D.aspx. On a windows server 2008 machine running IIS 7, I am finding that I need to turn on the IIS 6 Scripting tools feature of IIS 7 in order to get this managed custom action to display the websites. Is this expected behavior? Ideally, I would like to not use the II6 Scripting tools feature on my IIS 7 machine. I thought using managed code would help with this. Thanks! Uma ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users