Jump to content

OS Requirements


Recommended Posts

Hi there,

Can this work?

$OS = @OSVersion & " " & @OSServicePack
If $OS >= "WIN_XP Service Pack 2"

What I am tying to do is to make sure that the minimum requirement to run a program would be WIN XP SP2. It should also support Win 2003 and Win Vista...and future release.

Having said that, whats the best method to achieve this?

Thanks.

mouse not found....scroll any mouse to continue.

Link to comment
Share on other sites

i'm not sure if this is as efficent but you got me inspired to do it for my web browser program. heres my code:

If Not @OSVersion = "Win_XP" or "Win_Vista" or "Win_2003" Then
    msgbox(0, "PROGRAM NAME", "You did not meet the minimum OS Version required. WinXP, WinVISTA, Win2003")
    Exit
endif
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...