Upcoming Ahk2Exe Changes (2024)
Posted: 03 Jun 2019, 23:21
Installation
This new Ahk2Exe 1.1.37.02a0 version includes bug fixes to the version included with AutoHotkey v1.1.37.02 (see 'Updates' below).
If updating from a version earlier than v1.1.34.04b please check the important bug fix for v1.1.34.04b (see 'Updates' below).
If you have Ahk2Exe version 1.1.34.03c or later installed, run Ahk2Exe and go to 'Help' -> 'Check for Updates'. You can update directly from there.
Otherwise, download from this location. Next, unblock the downloaded .zip file by right-clicking it, selecting 'Properties', and ticking or pressing 'Unblock' (near the bottom). 'OK' out. Install by copying the Ahk2Exe.exe file from the downloaded zip to the Compiler sub-directory under where AutoHotkey has been installed (Usually C:\Program Files\AutoHotkey\Compiler\).
Note that the download may be flagged as containing a virus, but rest assured that it does not. Users can help with this by notifying their anti-virus provider that this Ahk2Exe download is being flagged as a false positive. See this post for details of how to do this for a number of popular anti-virus providers. Thanks.
Note that updates to BinMod are also reported here. BinMod is used to implement part of the ScriptGuard package, which can be used to protect compiled scripts from decompilation.
Bugs
Please report any problems to this thread. (Also report successful use as well!)
Updates:-
1.1.37.02a0, 17 May 2024
(Older fixes)
This new Ahk2Exe 1.1.37.02a0 version includes bug fixes to the version included with AutoHotkey v1.1.37.02 (see 'Updates' below).
If updating from a version earlier than v1.1.34.04b please check the important bug fix for v1.1.34.04b (see 'Updates' below).
If you have Ahk2Exe version 1.1.34.03c or later installed, run Ahk2Exe and go to 'Help' -> 'Check for Updates'. You can update directly from there.
Otherwise, download from this location. Next, unblock the downloaded .zip file by right-clicking it, selecting 'Properties', and ticking or pressing 'Unblock' (near the bottom). 'OK' out. Install by copying the Ahk2Exe.exe file from the downloaded zip to the Compiler sub-directory under where AutoHotkey has been installed (Usually C:\Program Files\AutoHotkey\Compiler\).
Note that the download may be flagged as containing a virus, but rest assured that it does not. Users can help with this by notifying their anti-virus provider that this Ahk2Exe download is being flagged as a false positive. See this post for details of how to do this for a number of popular anti-virus providers. Thanks.
Note that updates to BinMod are also reported here. BinMod is used to implement part of the ScriptGuard package, which can be used to protect compiled scripts from decompilation.
Bugs
Please report any problems to this thread. (Also report successful use as well!)
Updates:-
1.1.37.02a0, 17 May 2024
- Get Mpress more reliably in the Updater.
- Fix addition of new base file in the GUI.
- Send parameter errors to stdout/stderr if in /Silent mode.
- Prevent compression when compiling Ahk2Exe.
- Rationalise detection of major AHK version.
- Enhance for MS Store version.
- Fix Base compiler directive not fully expanding built-in variables.
- Fix "Save script as' for v1 & v2.
- Add diagnostics to 'Syntax check' error message.
- Fix: compile of new .exe failed in 1.1.37.01a.
- Avoid copying compiled .exe permissions from temp.
- Fix 'Save script as' when Base compiler directive selected.
- Local help now shows v2 if Base compiler directive selected.
- Ahk2Exe: Add sub-version check for base file *.exe allowed. (Compile v2.1 scripts correctly.)
Edit: Fixed download link.
- Ahk2Exe: (No changes).
- BinMod: Fix error message.
- Ahk2Exe: (No changes).
- BinMod: Add new parameter /ScriptGuard2pss ('Permit /script switch').
- Ahk2Exe: Allows 64-bit interpreter use on 64-bit Windows.
- (Ahk2Exe: no changes.)
- BinMod: Align mcode for faster processing.
- (Ahk2Exe: no changes.)
- BinMod: File handling is now fully Unicode compatible.
- (Ahk2Exe: no changes.)
- BinMod: Ensure ScriptGuard2 handles big .exe's.
- Ahk2Exe: Avoid compressing BinMod.
- BinMod: Use default icon.
- BinMod: Save and restore optional registers.
- Ahk2Exe has not changed since Ahk2Exe v1.1.36.02c.
- BinMod has been updated.
- Fix @Ahk2Exe-Keep, broken by last commit.
- Only skip */ if within a block comment.
- Accept FileInstall names containing commas.
- Show warning if compression fails.
- PostExec: added 'Program not found' error message.
- Remove default CompanyName from generated .exe.
- Fixed quoted #Include for v2.
- Fixed the Ahk2Exe updater ('Check for Updates' menu option) assigning incorrect permissions to updated programs.
To fix any existing incorrect permissions:- It is first necessary to use the Ahk2Exe updater to update Ahk2Exe to version 1.1.34.04b or later.
- Then use the Ahk2Exe updater to re-update Ahk2Exe, plus any other programs in the list which have been updated or installed by a version of the updater earlier than 1.1.34.04b.
- (Apologies for the inconvenience.)
- Ahk2Exe updater help button now opens this Ahk2Exe forum post to allow browsing of updates, etc.
- Changed how sub-version is set for local compiles of Ahk2Exe.
- Improved comma handling in the 'Debug' directive.
- A directive reference to 'A_PriorLine' just after '#Include' now sees the last line of the included file.
- The 'Cont' directive can now be 'Nop'ed.
- Added the directive variable 'A_BasePath'.
- Included a higher resolution logo.
(Older fixes)