In IIS 6, I can use the Web Services Extensions folder in Inetmgr to enable / disable isapi filters such as ASP.net. I want to be able to do this programmatically (in particular from the script / exe installer).
Any ideas?
Adding web service extension files using Iisext.vbs should be pretty much what you are looking for (a related article describes how to add a new filter: if you just need to enable it, scroll down and view a list of related articles for exact instructions on how to achieve this)
Set iisinfo = GetObject("IIS://localhost/W3SVC/Info") If CInt(iisinfo.MajorIIsVersionNumber) >= 6 Then Set iisinfo = Nothing Set iis = GetObject("IIS://localhost/W3SVC") iis.EnableWebServiceExtension "ASP" End If
Source: https://habr.com/ru/post/1697660/More articles:What is the best way to get the name of a folder that does not exist? - c #What is the best way to list a member and all of his descendants in MDX? - mdxhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1697657/html-jquery-method-bizzare-bug-resolves-to-empty-space-locally-but-not-on-production&usg=ALkJrhg43inBBKc8_R0nSRhBSOjee8I5uwDoes different users have good practice for different types of queries? - mysqlHow to make a method exclusive in a multi-threaded context? - multithreadingСтранная ошибка компоновщика MFC/VС++ (std:: list уже определен) - visual-studio-2008Integrate jQuery into an existing ASP.NET web application? - jqueryLOAD SQL Table from a flat file - sqlEclipse c ++ pretty prints? - c ++The best way to manage configuration data - database-designAll Articles