Jump to content

Bug in Autoit - Script


Recommended Posts

Bug in Autoit - Script

#Region
#AutoIt3Wrapper_Outfile=Name.exe
#AutoIt3Wrapper_OutFile_X64=Name64.exe
#AutoIt3Wrapper_Compile_both=Y
#AutoIt3Wrapper_Icon=Name.ico
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_Icon_Add=App.ico
#AutoIt3Wrapper_Res_Comment=Name
#AutoIt4Wrapper_Res_Description=Name
#AutoIt3Wrapper_Res_Fileversion=30.5.0.0
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement=n
#AutoIt3Wrapper_Res_LegalCopyright=Copyright (c)
#AutoIt3Wrapper_Res_Language=1049
#AutoIt3Wrapper_Res_Compatibility=Vista,Windows7,Windows8,Windows10,Windows11
#AutoIt3Wrapper_Run_Au3check=n
://////=__=...
://////=__=
://////=__=
://////=__=
://////=__=
://////=__=
://////=__=.=
://////=__=.=
://////=__=
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, Icon, 162,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, Icon, 164,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, Icon, 169,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, Stringtable,7,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, Stringtable,8,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, Stringtable,9,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, stringtable,10,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, stringtable,11,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, stringtable,12,
#AutoIt3Wrapper_Run_After=ResHacker.exe -delete %out%, %out%, stringtable,313,
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0 /sci=0
#EndRegion#NoTrayIcon
#Obfuscator_Off
#Pragma compile(AutoItExecuteAllowed,True)
#Obfuscator_On
$sOSV=@OSVersion
$sOSB=@OSBuild
MsgBox(4096,'Result','$sOSV =>'&$sOSV&'<='&@CRLF&'$sOSB =>'&$sOSB&'<=')

If you run the AU3 script through autoit3.exe, we get on Windows 10:

http://tc-image.3dn.ru/Image/autoit/0/Autoit_au3.png

If you run after compilation Name.exe , we get on Windows 10:

http://tc-image.3dn.ru/Image/autoit/0/Autoit_exe.png

Programs are used in compilation Obfuscator.exe и AutoIt3Wrapper.exe

Why so? Here is an archive with files:

http://tc-image.3dn.ru/Files/Autoit/Autoit_bug.zip

 

 

 

Link to comment
Share on other sites

  • Developers

Split into its own topic as it has totally unrelated to the thread you posted in!.

1 hour ago, Andrey_A_A said:

Programs are used in compilation Obfuscator.exe и AutoIt3Wrapper.exe

As Obfuscator is NOT supported anymore since a very long time, you won't get any support from me unless you take that out of the process.
Also post images & source code (post code) directly in the forum as I don't want to open external resources. 

Thanks,
Jos
 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

The problem is not in obfuscator.exe and autoit3wrapper.exe, but in aut2exe.exe and in its parameter [/compatibility <vista | Win7 | Win8>]
No compatibility for Win10 and Win11
In this case, the problem of obtaining proper information from macros arises @OSVersion and @OSBuild
The problem is the manifesto of the program that is incorrectly created in aut2exe.exe
(google translate)

The problem can be seen on Windows10
@OSVersion and @OSBuild return such a result

1534125088_Autoit_exe1.png.520d7feafe4e26000d06427775aad8a1.png

 

 

Edited by Andrey_A_A
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...