Post a reply to the thread: Winver reporting wrong version?
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Winver reporting wrong version? Tim, The value for %WINVER% is directly based on the GetVersionEx Windows API result. Please do me a favour and display %WINVER% in a message box. Or send him a test installer that display the %WINVER$ variable value. Thanks,
Re: Winver reporting wrong version?
Re: Winver reporting wrong version? I already know that this user is getting %WINVER% == $WIN_95$, based on the error message he gets ("Windows 95 not supported") and the stage of installation that he reached. Code: If %WINVER% Equals "$WIN_95$" Then Display Message Box "#ERR_LAUNCH_CONDITION_OS#\n\nWindows 95 not suppor..." -- "Windows version error!" Exit Installation End I'm using SB5.
If %WINVER% Equals "$WIN_95$" Then Display Message Box "#ERR_LAUNCH_CONDITION_OS#\n\nWindows 95 not suppor..." -- "Windows version error!" Exit Installation End
Re: Winver reporting wrong version? Tim, The installer makes use of Windows API calls to determine the OS (stored in %WINVER%). You can use a "Display Message Box" to check the %WINVER% value. It should display 64 on a Windows XP machine. BTW, are you using SB5 or SB6? Friedrich
Winver reporting wrong version? I have a user who reports that when running our installer, he got a message that Windows 95 is not supported. This message is most likely coming from rt_vc2005redist_x86.sbi. But this user is not using Win95, he is on XP Pro SP2. How is the value of {WINVER} determined?
Winver reporting wrong version?
Forum Rules