Re: [WiX-users] WebServiceExtension Element

2006-08-01 Thread Rob MacFadyen
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebServiceExtension Element

2006-07-31 Thread Don Tasanasanta








Has a solution come up for setting WebServiceExtensions?






__



Don Tasanasanta

VIACK Corporation

425-605-7423













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Joannic Laborde
Sent: Wednesday, December 14, 2005
6:19 AM
To: Jim Swainston;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users]
WebServiceExtension Element





Ive had to do this
in a C++ custom action (using the EnableWebServiceExtension method of the web
service). If theres a better way, Id also like to know it











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jim Swainston
Sent: December 14, 2005 4:18 AM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users]
WebServiceExtension Element





Hi,



Im new to
wix so please bare with me. I am trying to allow Active Server Pages in IIS
when my installer runs can anyone tell me how to do it.



I am currently
using the WebServiceExtension element but to no effect.



Any help would be
much appreciated.



Thanks 



Jim








-
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users