I am creating an exe but i need it to check for the version of the OS in my IF statement. XP vs Windows 7. What variable would I use?

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
That depends on what you're using to create the EXE, doesn't it?
Answered 10/22/2010 by: VBScab
Red Belt

Please log in to comment
0
I am using wise package studio
Answered 10/22/2010 by: hotdrop1
Senior Yellow Belt

Please log in to comment
0
WPS's default 'Windows Application' template already contains examples of the OS check.Look for 'NTVersion'.
Answered 10/22/2010 by: VBScab
Red Belt

Please log in to comment
0
I don't recommend using WSP generated .EXE's as unless you sign them after your .EXE will have 'Unknown Publisher' and thus trigger UAC prompt on Vista/Win7.
Answered 10/25/2010 by: dreyer
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity