This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: IIS7 and Advanced Settings
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 30, 2009
10:15 AM
IIS7 and Advanced Settings
I'm working with a Basic MSI package.
I need to update AspEnableParentPaths setting it to TRUE.
I've been doing this via a VB script with IIS6
I can set it via the InstallShield IDE, but it says IIS6 only. IIS7 Ignores this.
IIS7 has this setting, and it can be set via a VB script.
Why does Installshield say IIS7 ignores these advanced settings? I thought InstallShield 2010 supported IIS7?
What is the best way to update those settings?
Any help appreciated.
Thanks
I need to update AspEnableParentPaths setting it to TRUE.
I've been doing this via a VB script with IIS6
I can set it via the InstallShield IDE, but it says IIS6 only. IIS7 Ignores this.
IIS7 has this setting, and it can be set via a VB script.
Why does Installshield say IIS7 ignores these advanced settings? I thought InstallShield 2010 supported IIS7?
What is the best way to update those settings?
Any help appreciated.
Thanks
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2009
04:16 AM
Hi,
Is it not possiable to use the ISIISMetaData table in the direct editor?
Regards,
Vijay.
Is it not possiable to use the ISIISMetaData table in the direct editor?
Regards,
Vijay.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2009
11:44 AM
At this time, InstallShield does not support custom/advanced properties when installing on a machine with IIS 7.x. We hope to provide this support in a future release of InstallShield.
It is possible to work around this limitation if a target machine has IIS 6 metabase compatibility installed by adding a property to the project named IISPREFERLEGACYOBJECTS with any value. Note that the install will fail on an IIS 7 machine with this property set if IIS 6 metabase compatibility is not installed.
One other approach to setting custom properties on IIS 7 would be to call appcmd.exe from a custom action (this executable is typically located in C:\Windows\System32\inetsrv).
It is possible to work around this limitation if a target machine has IIS 6 metabase compatibility installed by adding a property to the project named IISPREFERLEGACYOBJECTS with any value. Note that the install will fail on an IIS 7 machine with this property set if IIS 6 metabase compatibility is not installed.
One other approach to setting custom properties on IIS 7 would be to call appcmd.exe from a custom action (this executable is typically located in C:\Windows\System32\inetsrv).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2009
01:46 AM
If you follow Josh's suggestion, you might check yourself whether the IIS 6 metabase compatibility has been installed.
Once you know this for the appropriate platforms, you might use the mentioned property or not or do something else.
For detecting whether the IIS Metabase and IIS 6 Configuration Compatibility feature is set, there is a sample DLL with source code available in the following folder:
C:\Program Files\InstallShield\2010\Samples\WindowsInstaller\Detect IIS6 Compatibility
Once you know this for the appropriate platforms, you might use the mentioned property or not or do something else.
For detecting whether the IIS Metabase and IIS 6 Configuration Compatibility feature is set, there is a sample DLL with source code available in the following folder:
C:\Program Files\InstallShield\2010\Samples\WindowsInstaller\Detect IIS6 Compatibility
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2009
06:57 AM
Thanks for this information and help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2009
07:52 AM
The help has instructions on how to use that sample DLL and source code:
Determining If a Target System Has IIS 6 or Earlier or the IIS 6 Metabase Compatibility Feature
Determining If a Target System Has IIS 6 or Earlier or the IIS 6 Metabase Compatibility Feature