Sign in to follow this  
Followers 0
iceberg

OS Requirements

2 posts in this topic

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.

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0