The installer attempts to acquire or create a self-signed digital certificate for use signing the UIA.exe (which is required for "Run with UI access"). The error means that the installer failed to either open or create the key container ("AutoHotkey"). At a guess, it might be caused by corruption of cryptographic keys in your user profile or a change of login password.
Fully uninstalling AutoHotkey should remove the "AutoHotkey" key container, which should resolve the issue. Alternatively, you can try the following, which I have not tested (but the uninstaller makes this same call):
Code: Select all
EnableUIAccess_DeleteCertAndKey("AutoHotkey")
ExitApp
#include C:\Program Files\AutoHotkey\Installer.ahk
This must be run as admin.
If you don't use the "Run with UI access" context menu option (or the UIA files), you could just delete the UIA files and uncheck the corresponding option during installation.