Jazkal Posted June 12, 2007 Posted June 12, 2007 I am trying to get AutoIt3Wrapper to edit the comment and descriptor fields of the EXE file. I have ResHacker.exe in the AutoIt3Wrapper folder. Here is the example file that I can reproduce the problem I'm having: #Region AutoIt3Wrapper directives section #AutoIt3Wrapper_AUTOIT3= #AutoIt3Wrapper_Run_Debug_Mode=n #AutoIt3Wrapper_AUT2EXE="C:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe" #AutoIt3Wrapper_UseAnsi=n #AutoIt3Wrapper_Icon="C:\Program Files\AutoIt3\Aut2Exe\Icons\AutoIt_HighColor.ico" #AutoIt3Wrapper_OutFile=".\TestMe.exe" #AutoIt3Wrapper_OutFile_Type=exe #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_Allow_Decompile=y #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Res_Comment="TestMe1" #AutoIt3Wrapper_Res_Description="TestMe2" #AutoIt3Wrapper_Res_Fileversion=2.23.0.20 #AutoIt3Wrapper_Res_FileVersion_AutoIncrement=n #AutoIt3Wrapper_Res_LegalCopyright="TestMe3" #AutoIt3Wrapper_Run_Tidy=n #AutoIt3Wrapper_Tidy_Stop_onerror=y #EndRegion And Here is the output from the console: >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /CompileDefaults /in "C:\Build\TestMe.au3" /autoit3dir "C:\Program Files\AutoIt3" +>11:05:20 Starting AutoIt3Wrapper v.1.9.1 >Running AU3Check (1.54.7.0) from:C:\Program Files\AutoIt3 +>11:05:20 AU3Check ended.rc:0 >Running:(3.2.4.9):C:\Program Files\AutoIt3\aut2exe\aut2exe.exe +>11:05:21 Aut2exe.exe ended.rc:0 ->Warning: This is an Unicode compiled script and will not run on Win9x/ME. ! RC.Exe (1) : Error :temp.RC (11): error RC2104 : undefined keyword or key name: TestMe1 ! RC.Exe (1) : Error : Resources information will not be updated in target program! >Running (3.0.0.0): C:\Program Files\AutoIt3\aut2exe\upx.exe +>11:05:23 UPX.exe ended.rc:0 +>11:05:23 AutoIt3Wrapper Finished >Exit code: 0 Time: 3.282 Am I missing something obvious?
Developers Jos Posted June 12, 2007 Developers Posted June 12, 2007 I have made a change for the next version of AutoIt3Wrapper to change each " to "" (which is needed for RC.exe to generate a " ) 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now