buzz71
Posts: 25
Joined: Tue Nov 02, 2010 11:03 am

Windows 2003 Server IIS - Web Extensions

Hi

I need to set "Active Server Pages" (Classic ASP) in "Web Extensions" to "Allowed". Please see attached image.
WebExtension.jpg
WebExtension.jpg (184.9 KiB) Viewed 3468 times
I know how to set the .NET version (by selecting version number in correct dialog). But how can I go about 'Allowing' "Active Server Pages"?

Thanks in advance.

Buzz
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Windows 2003 Server IIS - Web Extensions

Hi,

I'm afraid there is no predefined option for setting this in Advanced Installer. The solution is to use a simple custom action,
for example in the following forum post it is discussed about enabling another option in Web Service Extensions, maybe it can help you you too.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
buzz71
Posts: 25
Joined: Tue Nov 02, 2010 11:03 am

Re: Windows 2003 Server IIS - Web Extensions

Hi Bogdan

Thanks for the info.

I have worked out I need to run the following as a custom action:

Code: Select all

cscript.exe %windir%\system32\iisext.vbs /enapp "active server pages"
I tried it as a "InstallExecuteSequence" -> "CostFinalize" -> "ScriptInline" custom action but it doesn't seem to work. Could you please suggest what type of custom action should I select for this and where?

Also, is there an explanation of all the types of actions and suggested useages, i.e. "CostFinalize", etc

Thanks,

Buzz
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Windows 2003 Server IIS - Web Extensions

Hi Buzz,

You can add the "iisext.vbs" as a temporary file from the Files and Folders page.
Instead of this:

Code: Select all

cscript.exe %windir%\system32\iisext.vbs /enapp "active server pages"
you can try the following in the Command Line field of a "Launch File or Open URL" custom action:

Code: Select all

cscript.exe "[#iisext.vbs]" /enapp "active server pages"
You can select the "iisext.vbs" file path reference by pressing the Edit button. For more information about this custom action's usage please follow this link.
You can schedule it for example after the Install standard action and also set its execution option to "Deferred, with no impersonation" and execution condition to:

Code: Select all

NOT Installed
For a complete list of custom actions and their description, please follow this user guide article and its subarticles. If you find any difficulties in the user guide reference please don't hesitate to contact us.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”