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
- :
- SYSINFO Failure
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 31, 2007
03:38 PM
SYSINFO Failure
Just released a new version of our software which I packaged using 2008.
I've always had script in OnBegin to verify OS service packs to avoid problems with SQL Server 2005 installs.
A customer has a server with Windows Server 2003 SP1. I verified this in System Properties and the registry on his machine.
My script has an IF WINXP then...check service pack. His install actually passes the IF WINXP condition when it shouldn't.
He is getting my message box saying that he doesn't have SP2 for XP and has 2003 server.
Anyone else seen this behavior?
I checked HKLM\Software\Microsoft\Windows NT\CurrentVersion > shows 5.2
I've always had script in OnBegin to verify OS service packs to avoid problems with SQL Server 2005 installs.
A customer has a server with Windows Server 2003 SP1. I verified this in System Properties and the registry on his machine.
My script has an IF WINXP then...check service pack. His install actually passes the IF WINXP condition when it shouldn't.
He is getting my message box saying that he doesn't have SP2 for XP and has 2003 server.
Anyone else seen this behavior?
I checked HKLM\Software\Microsoft\Windows NT\CurrentVersion > shows 5.2
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2007
05:18 PM
I don't have a Windows Server 2003 system nearby to test on, but could you post the if-statement using SYSINFO that fails? Perhaps someone here in the community can give it a try...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2007
08:52 AM
Rudolph, I dont think there is a variable WINXP defined by SYSINFO. Can you try SYSINFO.WINNT.bWinXP and SYSINFO.WINNT.bWinServer2003 instead?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2007
09:01 AM
if (SYSINFO.WINNT.bWinXP) then
if (SYSINFO.WINNT.nServicePack) < 2 then
MessageBox ("Windows XP - Service Pack 2 not detected. Service Pack 2 is required for the Microsoft SQL Server installation. Update Windows XP to Service Pack 2 and run the installation again.", WARNING);
abort;
endif;
endif;
Sorry, I was using pseudo code. Here's the snippet from my script.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2007
10:53 PM
Similar problem has been logged on an IS8 forum at http://community.macrovision.com/showthread.php?t=123414. Looks like 2008 also has the same issue. You should consider using SYSINFO.nWinMajor and SYSINFO.nWinMinor
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2007
08:28 AM
Thanks Charlie.