I want to conditionally force a reboot, depending on the operating system.
What values winn %WINVER% return for Win98SE or Me?
TIA,
Jane
I want to conditionally force a reboot, depending on the operating system.
What values winn %WINVER% return for Win98SE or Me?
TIA,
Jane
winn=will
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
Perfect. Thanks!
Jane
There are currently 1 users browsing this thread. (0 members and 1 guests)