Unable to install AutoHotkey112300

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
WyleySam
Posts: 10
Joined: 05 Jul 2014, 10:26

Unable to install AutoHotkey112300

21 Jan 2016, 10:20

When I try to install AutoHotkey112300 or the 64bit version. I get an error message saying:

Script file not found. E:\My Documents\AutoHotKey.ahk.

That file has never been located in E:\My Documents\. It is located in E:\My Documents\AutoHotkey\Macros

Can anyone help???
japankid3000
Posts: 43
Joined: 14 Nov 2015, 09:58

Re: Unable to install AutoHotkey112300

21 Jan 2016, 17:36

I had your same problem its some really minor, completely uninstall/delete all ahk folders(backup scripts obviously)....

Go to https://autohotkey.com/ > Click Download > Click Installer >Make Folder in C named AHK >extract to AHK > install

Don't download with the old website, only the new one which currently has a snowflake..
lexikos
Posts: 9599
Joined: 30 Sep 2013, 04:07
Contact:

Re: Unable to install AutoHotkey112300

21 Jan 2016, 20:09

WyleySam wrote:Script file not found.
This is not the installer. It appears that you have downloaded one of the "Binaries (portable zip downloads)". If you want to install AutoHotkey, download the Installer.

What you are running is AutoHotkey itself, and it doesn't know which script to run, because you haven't told it which script and you don't have one in the default location (My Documents).
japankid3000 wrote:Don't download with the old website, only the new one which currently has a snowflake..
What are you talking about?

The new website is the old old website (autohotkey.com), and the old website (ahkscript.org) redirects to the new website (autohotkey.com). You can't download from the old website, unless there's some other "old website" I'm not aware of.
WyleySam
Posts: 10
Joined: 05 Jul 2014, 10:26

Re: Unable to install AutoHotkey112300

22 Jan 2016, 10:53

The version located at https://autohotkey.com/ installed without any problems.

The version at https://autohotkey.com/download/ is the one that was not working. I have been downloading from here for years with no problem. I'll change all my shortcuts to point to https://autohotkey.com/.
kon
Posts: 1756
Joined: 29 Sep 2013, 17:11

Re: Unable to install AutoHotkey112300

22 Jan 2016, 11:07

WyleySam wrote:The version at https://autohotkey.com/download/ is the one that was not working. I have been downloading from here for years with no problem.
Pretty sure you downloaded the binary, not the installer. (you want the installer)
lexikos
Posts: 9599
Joined: 30 Sep 2013, 04:07
Contact:

Re: Unable to install AutoHotkey112300

22 Jan 2016, 18:14

:facepalm: The "installer" link on the front page is exactly the same as the "installer" link on the download page. They are both:
https://autohotkey.com/download/ahk-install.exe
japankid3000
Posts: 43
Joined: 14 Nov 2015, 09:58

Re: Unable to install AutoHotkey112300

23 Jan 2016, 12:18

What are you talking about?
My mistake, but a month or two ago the old ahk website was still up, and i made this mistake, just trying to insure OP did not make my mistakes.
The "installer" link on the front page is exactly the same
Yes it is, but i had this problem too, so hundreds if not thousands will too.

It is the confusion of the option to choose the binaries, for novice users.
lexikos
Posts: 9599
Joined: 30 Sep 2013, 04:07
Contact:

Re: Unable to install AutoHotkey112300

23 Jan 2016, 20:10

Both websites have pointed to the same download location for about 10 months.
It is the confusion of the option to choose the binaries, for novice users.
What is the confusion? If there are multiple options, read the options. If you don't know which one to choose, ask. If you chose one and it didn't work, try another one. In the first place, "Installer" is at the top and given obvious emphasis so that it will be chosen over the other options.

It's difficult to solve a problem rationally when the problem is that people are irrational.
JRKdiesel
Posts: 2
Joined: 27 Jan 2016, 12:14

Re: Unable to install AutoHotkey112300

27 Jan 2016, 14:16

I am having a similar problem when trying to install one of the "other versions" the 64 bit unicode or even the AHK2.0 versions, all are the exe format. I currently don't have ahk installed on this pc, I have it on a different pc I used to do some specific applications before porting to other systems.

The odder thing though is if I try to install the current vanilla installer it spits out the below faults, both when trying to install normally and as administrator:

"Error: Can't create control.
Line#
104:onexit,guiclose
106: gui,margin,0,0
107:gui,+lastfound
....
117:throw,exeption("Failed to create IE control")
118:if getkeystate("shift")|| getkeystate("ctrl")

The current thread will now exit."

Both the PC I've installed it on successfully and my regular work one are Win7 enterprise. Both have local admin rights.

I'm not above creating "autohotkey.ahk" to put into the directory that the other installers want it in, but I'd just need to know the code to satisfy it.
lexikos
Posts: 9599
Joined: 30 Sep 2013, 04:07
Contact:

Re: Unable to install AutoHotkey112300

27 Jan 2016, 22:25

You can't install v2. There is no installer.

If you get a message about AutoHotkey.ahk, you are running AutoHotkey itself, not the AutoHotkey installer.

In the error message, the most relevant line is the one with the arrow next to it. It appears you omitted that line. What was it? You can copy the whole error text by pressing Ctrl+C (no need to select anything).

If the installer won't start, you can try the /S command line option.
https://autohotkey.com/docs/Scripts.htm#install
JRKdiesel
Posts: 2
Joined: 27 Jan 2016, 12:14

Re: Unable to install AutoHotkey112300

28 Jan 2016, 09:56

Here's the full error

---------------------------
Installer.ahk
---------------------------
Error: Can't create control.

Line#
104: OnExit,GuiClose
106: Gui,Margin,0,0
107: Gui,+LastFound
108: Try
108: {
109: DllCall("UxTheme\SetWindowThemeAttribute", "ptr", WinExist(), "int", 1, "int64*", (3<<32)|3, "int", 8)
111: }
---> 112: Gui,Add,ActiveX,vwb w600 h400 hwndhwb,Shell.Explorer
113: ComObjConnect(wb, "wb_")
114: OnMessage(0x100, "gui_KeyDown", 2)
115: Try
115: {
116: if !wb
117: Throw,Exception("Failed to create IE control")
118: if GetKeyState("Shift") || GetKeyState("Ctrl")

The current thread will exit.
---------------------------
OK
---------------------------
lexikos
Posts: 9599
Joined: 30 Sep 2013, 04:07
Contact:

Re: Unable to install AutoHotkey112300

29 Jan 2016, 02:49

Thanks. There appears to be something wrong with the WebBrowser control on your system. I haven't been able to produce any problems by changing security settings or even sabotaging the Shell.Explorer registry keys.

The installer had some error-recovery code, but I made a silly mistake when writing it, and wasn't able to test it (see above). I have fixed it for the next release (so it should catch the error you posted and offer other options).

That reminds me, you can access those same options by holding the Ctrl or Shift key while the installer starts. (If you get a UAC prompt, press and hold the key before clicking Yes/Continue.) The same options can be accessed via the command line as per the link I posted above.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], hiahkforum and 385 guests