Sign in to follow this  
Followers 0
Bac83

RegRead and Software installation Help

2 posts in this topic

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!

Share this post


Link to post
Share on other sites



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

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