Guest Joerg Posted August 12, 2004 Share Posted August 12, 2004 Hello! What is the best way to ask for a Version of a program in a Skript? I want to install the Update 6.02 for Adobe Reader and this Update should only be installed if the Version 6.01 is installed. My suggestion was to aks for a registry key (RegRead), but i dont know if this is the best way. Thanks, Jörg Link to comment Share on other sites More sharing options...
Lazycat Posted August 12, 2004 Share Posted August 12, 2004 (edited) You can try FileGetVersion function and test version of main executable AcroRd32.exe. Something like: $ver = FileGetVersion ("C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe") if StringLeft($ver, 5) == "6.0.1" then {install new} endif Edited August 12, 2004 by Kot Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
Guest Joerg Posted August 12, 2004 Share Posted August 12, 2004 Thanks! It works fine! Jörg 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