Sign in to follow this  
Followers 0
slloyd

How can I tell if AutoIT is installed?

3 posts in this topic

From a compiled autoit script, can I tell if the box I am running on has AutoIT installed or not? I tried @AutoITExe but that returns the exe name that is running (the compiled script name).


Basgetti.comSoftware worth donating to ...

Share this post


Link to post
Share on other sites



From a compiled autoit script, can I tell if the box I am running on has AutoIT installed or not?  I tried @AutoITExe but that returns the exe name that is running (the compiled script name).

<{POST_SNAPBACK}>

RegRead("HKLM\SOFTWARE\AutoIt V3\AutoIt","InstallDir")
if @error <>0 then 
; AutoIt not installed
endif
:)

Share this post


Link to post
Share on other sites

Thanks a bunch! I thought that a registry read was as close as I could get.

Steve

RegRead("HKLM\SOFTWARE\AutoIt V3\AutoIt","InstallDir")
if @error <>0 then 
; AutoIt not installed
endif
:)

<{POST_SNAPBACK}>


Basgetti.comSoftware worth donating to ...

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