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: Verify the OS version in Install Shield
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 24, 2012
04:48 AM
Verify the OS version in Install Shield
Hi,
Can anyone please help me to understand how to script in Install Shield to get the OS version such as Windows XP, Windows Vista, including the operating bit(32 bits or 64 bits)?
Regards,
Mohan
Can anyone please help me to understand how to script in Install Shield to get the OS version such as Windows XP, Windows Vista, including the operating bit(32 bits or 64 bits)?
Regards,
Mohan
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 24, 2012
05:18 AM
With VBscript for example:
Dim OS, Name
OS = Session.Property ("VersionNT")
Name = Session.Property ("ProductName")
Server = Session.Property ("MsiNTProductType")
'Msgbox OS
If(OS = "502" AND Server = "3") then 'Windows server 2003 detected
End If
Dim OS, Name
OS = Session.Property ("VersionNT")
Name = Session.Property ("ProductName")
Server = Session.Property ("MsiNTProductType")
'Msgbox OS
If(OS = "502" AND Server = "3") then 'Windows server 2003 detected
End If