Cannot Install AutoHotKey

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
qwertynotmNEO
Posts: 6
Joined: 09 Mar 2023, 05:51

Cannot Install AutoHotKey

13 May 2023, 04:32

The subject says it all. What is even happening?

I tried to install AHK and suddenly got this message. I cannot install it at all

333: authcode_attr := struct( "uint", 8+A_PtrSize*3, "int", false, "ptr", true, "ptr", StrPtr(Name))
335: sig_info := struct( "uint", 8+A_PtrSize*4, "uint", CALG_SHA1:=0x8004, "ptr", SIGNER_AUTHCODE_ATTR:=1, "ptr", authcode_attr.ptr)
▶ 338: DllCall("MSSign32\SignerSign" , "ptr", subject_info, "ptr", cert_info, "ptr", sig_info , "ptr", 0, "ptr", 0, "ptr", 0, "ptr", 0, "hresult")
341: {
341: Return ( args.Push(b := Buffer(args[2], 0)), NumPut(args*), b )

The current thread will exit.

Call stack:
*#1 (338) : [DllCall] DllCall("MSSign32\SignerSign" , "ptr", subject_info, "ptr", cert_info, "ptr", sig_info , "ptr", 0, "ptr", 0, "ptr", 0, "ptr", 0, "hresult")
*#1 (338) : [EnableUIAccess_SignFile] DllCall("MSSign32\SignerSign" , "ptr", subject_info, "ptr", cert_info, "ptr", sig_info , "ptr", 0, "ptr", 0, "ptr", 0, "ptr", 0, "hresult")
*#1 (220) : [EnableUIAccess] EnableUIAccess_SignFile(ExePath, cert, CertName)
*#1 (1066) : [Installation.Prototype.MakeUIA] EnableUIAccess(newPath)
*#1 (500) : [Installation.Prototype.Apply] item(this)
*#1 (560) : [Installation.Prototype.InstallFull] this.Apply()
*#1 (393) : [Install_Main] inst.%method%(params*)
*#1 (1168) : [] Install_Main()
> Auto-execute
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Cannot Install AutoHotKey

13 May 2023, 07:24

delete every autohotkey related certificate u can find in certmgr.msc

theyre old and the installer cant overwrite them for whatever reason. the rerun the installer
qwertynotmNEO
Posts: 6
Joined: 09 Mar 2023, 05:51

Re: Cannot Install AutoHotKey

13 May 2023, 12:47

Thank you so much!!

It works now!! :D :dance:

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: Archimede, FalseShepard, Google [Bot], jaccotjuhhh, kjustice, loadinator, mikeyww, songdg and 66 guests