【V2】the latest Ahk2Exe version can't compile the Fileinstall command

Report problems with documented functionality
MrBack
Posts: 4
Joined: 02 Mar 2018, 00:28

【V2】the latest Ahk2Exe version can't compile the Fileinstall command

02 Mar 2018, 01:36

【V2】the last vision of Ahk2Exe can't compile the Fileinstall command
while I use the latest Ahk2Exe(V1.1.28.00) version to compile a script which using a fileinstall command, an error occurs like this
---------------------------
Ahk2Exe Error
---------------------------
Error adding FileInstall file:

"D:\Program Files\AHKV2\Compiler\1.txt"
---------------------------
确定
---------------------------
a script sample like this:
#singleinstance force
FileInstall "D:\Program Files\AHKV2\Compiler\1.txt", A_Desktop "\Readme.txt", 1
return

Note:
1、if I only run the script,it works well;but it just cannot be compiled by the Ahk2Exe
2、both fileinstall a txt and picture will appears this error
3、I tried to complile it as U32 and U64,both orror in win7 X64、win10 x86 and x64
4、actually, this error appeared in the latest several versions
MrBack
Posts: 4
Joined: 02 Mar 2018, 00:28

V2 - AHK2exe could not deal with the FileInstall function

27 Mar 2018, 02:31

[Moderator's note: Post moved from another thread.]

AHK2exe still could not deal with the FileInstall function while compliling a script include it,it always occour an error
a simple sample like this

Code: Select all

#SingleInstance force
FileInstall "1.txt","2.txt", 1
return
the error picture as follow
TIM图片20180327151258.png
TIM图片20180327151258.png (66.11 KiB) Viewed 1823 times
Can any one help? :crazy: :crazy: :crazy: :crazy:
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: 【V2】the latest Ahk2Exe version can't compile the Fileinstall command

29 Mar 2018, 17:44

As you can see in the screenshot, you are using "Ahk2Exe for v1.1.28.00". There is no v2 compiler, unless you consider AutoHotkey_H. No official version of Ahk2Exe has ever supported this code as far as I am aware. Earlier v2 alpha versions did not include quote marks.

Having said that, it would be reasonable for Ahk2Exe v1 to support this minor difference in syntax.
MrBack
Posts: 4
Joined: 02 Mar 2018, 00:28

Re: 【V2】the latest Ahk2Exe version can't compile the Fileinstall command

29 Mar 2018, 21:04

thanks a lot!
Because of the ahk2exe version working well few mouths ago, that I thought both the v1 and V2 just use the same Ahk2exe compiler.Now I will try the H version.
at last, thanks again

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 17 guests