Doh! I sent this off list by mistake... so here goes again: With IIS 6 there's a new OS command (ala vbscript) called iisext that lets you muck with web service extensions... more or less the same functions as from the IIS Administration tool under the "Web Service Extensions" folder. So you can use iisext to enable/disable ASP/ASP.NET (by default these are disabled).
Invoking the iisext script from a custom action is pretty straight-forward... here a sample that enables classic ASP: <CustomAction Id="Enable_ASP_IIS6" Return="check" Script="vbscript"> <![CDATA[ dim s set s = CreateObject("WScript.Shell") s.Run "cscript.exe ""%windir%\system32\iisext.vbs"" /enext ASP", 0, True set s = nothing ]]> </CustomAction> Here's another sample that enables ASP.NET 2.0 (specifically v2.0.050727): <CustomAction Id="Enable_ASPNET_IIS6" Return="check" Script="vbscript"> <![CDATA[ dim s set s = CreateObject("WScript.Shell") s.Run "cscript.exe ""%windir%\system32\iisext.vbs"" /enext ""ASP.NET v2.0.50727""", 0, True set s = nothing ]]> </CustomAction> Note that invoking the iisext.vbs script via cscript.exe directly avoids a "this script isn't supported under wscript" error. Hope this help. Regards, Rob MacFadyen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users