Reply to Thread

Post a reply to the thread: Winver reporting wrong version?

Your Message

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

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-20-2006, 02:14 AM
    linder

    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,
  • 12-19-2006, 11:46 AM
    timbojones

    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.
  • 12-19-2006, 12:04 AM
    linder

    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
  • 12-18-2006, 03:19 PM
    timbojones

    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?

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •