Page 2 of 2

Re: Installer error

Posted: 04 Jun 2015, 05:15
by lexikos
I have updated both test executables to work on Windows XP.
AutoHotkey112202_Install_test.exe
AutoHotkey112202_Install_test2.exe


Error 5 is ERROR_ACCESS_DENIED, which in rommmcek's case means that the antivirus denied access to the file.

Re: Installer error

Posted: 09 Jun 2015, 02:51
by lexikos
I just realized that I made a typo, so didn't replace the original test files. Fortunately the links I posted in my previous post were correct. I have replaced the original test files and updated the links.

Re: Installer error

Posted: 09 Jun 2015, 13:20
by QuantumSingular
Sorry lexikos, unfortunately/fortunately IT replaced my aging Windows XP PC yesterday. I no longer have access to that computer for further testing. However there still remains a couple other Windows XP machines in the building that I can access to compare results but it may be a week before I have an opportunity.

Re: Installer error

Posted: 11 May 2018, 15:21
by AlanLivingston
I just tried to install v 1.1.28.02 and received the same error.

Looking in my event viewer, I see the following:
Access to C:\Users\livingsa\AppData\Local\Temp\7z018FC6D4\setup.exe has been restricted by your Administrator by location with policy rule {413d3b2b-d96b-4b24-bfa9-8d98bc8201b1} placed on path C:\Users\livingsa\AppData\Local\Temp\7z*\*.exe.
The installation executable is unpacking setup.exe into %TEMP% and local policy has restricted execution of files in that path, which is a pretty common rule.

One solution is to unpack the executable in a different location, and run setup.exe as shown above. Another solution is to change the definition of TEMP temporarily to something like C:\AHK_SETUP.

It would be nice if the executable could insure that setup.exe isn't run under C:\Users.