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
- :
- Validate XP Service Pack and IIS
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
‎Jul 19, 2011
09:25 AM
Validate XP Service Pack and IIS
I wan't to create an install pack that will deploy an offline web application in a client machine. But I'm a newbie to Install Shield. 😞
It has to work with .NET 4.0 and SQL Server 2008 R2.- (I know that this part I can add in the InstallShield Project as a requirement or redistributable). It also has to work in Windows Xp Pro SP3+ and Windows 7 Pro+.
My question is, how to validate the installed Windows XP version?
The other question is about IIS, is it possible to validate if the feature is on (both on XP and W7). If not, how do I turn it on through the install pack.
Thanks
It has to work with .NET 4.0 and SQL Server 2008 R2.- (I know that this part I can add in the InstallShield Project as a requirement or redistributable). It also has to work in Windows Xp Pro SP3+ and Windows 7 Pro+.
My question is, how to validate the installed Windows XP version?
The other question is about IIS, is it possible to validate if the feature is on (both on XP and W7). If not, how do I turn it on through the install pack.
Thanks
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2011
11:36 PM
I would recommend you to start from system search view which will help you check for the installed version and iis.
Install condition can also be considered.
Install condition can also be considered.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2011
08:39 AM
For validating the Installed OS and Service Pack you can use the following built in properties:
VersionNT
ServicePackLevel
eg For example to test for OS of XP SP3+ you would want to test for VersionNT=501 And ServicePackLevel>2
Additional Info:
VersionNT64 = true for 64bit OS
MsiNTProductType = 3 for Servers (the only way to distinquish Vista from 2008 which both share VersionNT=600, and Win7 from 2008R2 where VersionNT=601
VersionNT
ServicePackLevel
eg For example to test for OS of XP SP3+ you would want to test for VersionNT=501 And ServicePackLevel>2
Additional Info:
VersionNT64 = true for 64bit OS
MsiNTProductType = 3 for Servers (the only way to distinquish Vista from 2008 which both share VersionNT=600, and Win7 from 2008R2 where VersionNT=601
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2011
11:16 AM
Thanks for the replies. 🙂
I can now validate the windows version, but i'm still facing the IIS problem.
The target user for my application is a very basic Windows user. I have to automatically turn on the IIS feature on Windows 7 and have to install the IIS on XP SP3.
How can I do it? Or do you recomend installing IIS Express on both systems?
Best regards
I can now validate the windows version, but i'm still facing the IIS problem.
The target user for my application is a very basic Windows user. I have to automatically turn on the IIS feature on Windows 7 and have to install the IIS on XP SP3.
How can I do it? Or do you recomend installing IIS Express on both systems?
Best regards
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)