Results 1 to 4 of 4

Thread: WinVer?

  1. #1

    Default WinVer?

    I want to conditionally force a reboot, depending on the operating system.
    What values winn %WINVER% return for Win98SE or Me?

    TIA,

    Jane

  2. #2

    Default Re: WinVer?

    winn=will

  3. #3

    Default Re: WinVer?

    Jane,

    See "Common Definitions.sbi" include script. %WINVER% should hold one of
    the following:

    ! Windows Version Management SetupBuilder IDs
    #const $WIN_95$ = 1
    #const $WIN_98$ = 2
    #const $WIN_98SE$ = 4
    #const $WIN_ME$ = 8
    #const $WIN_NT$ = 16
    #const $WIN_2000$ = 32
    #const $WIN_XP$ = 64
    #const $WIN_SERVERFAMILY$ = 128

    BTW, you can use the "Get System Information" script function to retrieve
    more OS
    information.

    Does this help?

    Friedrich

    --
    Friedrich Linder
    CEO, Lindersoft
    www.lindersoft.com
    1.954.252.3910

    "point. click. ship" - that's SetupBuilder 5

  4. #4

    Default Re: WinVer?

    Perfect. Thanks!

    Jane

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Winver reporting wrong version?
    By timbojones in forum SetupBuilder
    Replies: 3
    Last Post: 12-20-2006, 03:14 AM

Posting Permissions

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