Bac83 Posted February 22, 2011 Posted February 22, 2011 Hi Im new to AutoIT and have been reading through various posts to answer my question Im started writing my script, Which basically looks to see if a version of software is installed, if it is the script should exit, if not it should execute an .exe At the moment my script isnt working if RegRead "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{147BCE03-C0F1-4C9F-8157-6A89B6D2D973}" Then Exit Else Run("Apps\HITS\SetupVse.exe") Endif Exit Any help would be great! Cheers!
Bac83 Posted February 22, 2011 Author Posted February 22, 2011 I think ive solved it already with if RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{147BCE03-C0F1-4C9F-8157-6A89B6D2D973}","Version=8070000") Then Exit Else Run("Apps\HITS\SetupVse.exe /q") Endif Exit
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