mike1305 Posted July 14, 2006 Share Posted July 14, 2006 I am trying to make a script that detects if certain files are installed on a computer or not, and if not, to give the user easy access to the installation files that are on our network. I can provide the code if requested, but it is not needed at this point. Currently my program runs a "FileExists" command in which I ask it to find if the given program's executable file exists in it's main directory. The issue is that if I have a lower version of the program than is required but still has the same directory, I have to go searching through all the folders for something unique to that version, which is hard sometimes when upgrading from say 7.1 to 7.2, etc. is there any way to find standard windows information such as version number without having to direct the computer to the properties/version tab and having the user validate that is the correct version? is there a better way to find if a program is installed on a given system other than doing a fileexists? thanks in advance, mike Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 14, 2006 Moderators Share Posted July 14, 2006 (edited) FileGetVersion()?Edit:Actually I don't know if that is in the released version, but here you will see alot more functionality then the released if that is what you are using:http://www.autoitscript.com/forum/index.php?showtopic=23823 Edited July 14, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
mike1305 Posted July 17, 2006 Author Share Posted July 17, 2006 FileGetVersion()?Edit:Actually I don't know if that is in the released version, but here you will see alot more functionality then the released if that is what you are using:http://www.autoitscript.com/forum/index.php?showtopic=23823wow, I can't believe I never saw "FileGetVersion". duhhh!!!! (looks for smiley with a dunce cap) thanks! Amp Energy Drink: the official sponsor of me scripting at 2AM. 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