iceberg Posted July 31, 2007 Share Posted July 31, 2007 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 More sharing options...
JustinReno Posted July 31, 2007 Share Posted July 31, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now