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
- :
- Install Script Query
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
‎Jan 08, 2009
01:29 AM
Install Script Query
I'm working on Installshield 2009
Type of Project : Install Script
How can i check whether the IIS component of the operating system is enabled or not. As a part of the prerequisite check i've to check the version of IIS also. ...if its not installed i've to exit gracefully....How can i achieve this. ?? Please Help
Type of Project : Install Script
How can i check whether the IIS component of the operating system is enabled or not. As a part of the prerequisite check i've to check the version of IIS also. ...if its not installed i've to exit gracefully....How can i achieve this. ?? Please Help
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2009
02:30 AM
You might want to use the value of MajorVersion under the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters. If IIS is installed, that will tell you its (major) version.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2009
03:24 AM
DanGalender wrote:
You might want to use the value of MajorVersion under the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters. If IIS is installed, that will tell you its (major) version.
Checking the registry part is fine but how and where to implement the checking part in installscript type of project. If it were a basic msi project there is application requirements feature which can be used for selecting the prerequisites ...but how can i achieve this in installscript type of project. Please help
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2009
04:30 AM
You have to write InstallScript code to retrieve the value from the registry (and the logic of what to do if you find IIS is not installed) and put it into an event handler (like OnBegin).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
04:13 AM
DanGalender wrote:
You have to write InstallScript code to retrieve the value from the registry (and the logic of what to do if you find IIS is not installed) and put it into an event handler (like OnBegin).
Thanks DanGalender, issue resolved. Thanks for the help
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
11:10 AM
Hello,
I have written a function that can be found at this link. The function to look at is, My_IsIISInstalled. It will test to make sure that IIS is installed and it will get the version number of IIS from the registry.
I have written a function that can be found at this link. The function to look at is, My_IsIISInstalled. It will test to make sure that IIS is installed and it will get the version number of IIS from the registry.