Search the Community
Showing results for tags 'resource update'.
-
Hi. Problem was using two compilation options at the same time: "Save a copy of the Scriptsource in the output program resources." on Tab "Resource Update", and ... "Run Au3Stripper before compilation." on Tab "Au3Stripper" (no options). In this thread Jos pointed out, that UTF-8 with or without BOM doesn't make any difference. It was a bug in AutoIt3Wrapper.au3, which was instantly fixed by Jos. That beta Version is available from this page, the Link "this location" on the bottom of the page will take you to the "Betas": https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/ Thanks to Jos again, you can stop reading here, the other stuff is just confusing Regards, Rudi. ###################################################################### This is only one out of 5 PCs, where I use Autoit & SciTE, latest version on all of them. for a similar issue Jos suggested, to try the latest beta version of SciTE: I did so, but the compilation is always failing, *IF* I try to "save a copy of the Scriptsource in the output program resources". Starting SciTE using "run as Administrator" doesn't change anything. Deleting "%localappdata%\AutoIt v3" doesn't help either, avoiding "German Umlauts" (äöüÄÖÜ) doesn't make any difference as well. >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung.au3" +>13:54:18 Starting AutoIt3Wrapper v.15.920.938.0 SciTE v.3.6.0.0 Keyboard:00000407 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0407) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\admin\AppData\Local\AutoIt v3\SciTE -> No changes made.. >Running AU3Check (3.3.15.1) from:C:\Program Files (x86)\AutoIt3 input:H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung.au3 +>13:55:01 AU3Check ended.rc:0 >Running Au3Stripper (15.920.938.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Au3Stripper will work correctly. - 0.02 Iteration 1 Strip Functions result: Output 18 lines, stripped 0 Func lines and 28 Commentlines - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Au3Stripper will work correctly. - 0.02 Iteration 2 Strip Variables result: Output 18 lines and stripped 0 lines +> 0 Au3Stripper v15.920.938.0 finished merging 54 lines of code, stripped 28 comment lines and Merged 7 Continuation lines. +> Created:H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung_stripped.au3 with 19 lines. +>13:55:01 Au3Stripper ended.rc:0 >Running AU3Check (3.3.15.1) from:C:\Program Files (x86)\AutoIt3 input:H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung_stripped.au3 +>13:55:01 AU3Check ended.rc:0 >Running:(3.3.14.2):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe /in "H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung_stripped.au3" /out "C:\Users\admin\AppData\Local\AutoIt v3\Aut2exe\~AUF86B.tmp.exe" /nopack /comp 2 +>13:55:04 Aut2exe.exe ended.C:\Users\admin\AppData\Local\AutoIt v3\Aut2exe\~AUF86B.tmp.exe. rc:0 >13:55:04 Performing the Program Resource Update steps: ...>Updating Program Version information. !>13:55:04 Skipping SourceSave because this is an stripped script.rc:2 !>13:55:04 Error: EndUpdateResource: Returncode = 0 - LastError:1359:Interner Fehler.rc:2 !>13:55:04 Error: Program Resource updating Failed. The output program will not contain the Resource updates!rc:2 +>13:55:07 AutoIt3Wrapper Finished. >Exit code: 0 Time: 49.72 After renaming "my" folder "C:\Program Files (x86)\AutoIt3" and copying over all the content of the same folder from a different, working PC do the mainly used box, the Error Message now is: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung.au3" +>14:14:35 Starting AutoIt3Wrapper v.2.2.0.0 SciTE v.3.6.0.0 Keyboard:00000407 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0407) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\admin\AppData\Local\AutoIt v3\SciTE ! *************************************************************************************************************** ! * Input file is UTF8 without BOM encoded, Au3Stripper do not support UNICODE and will be skipped. * ! * The file SHOULD BE encoded as UTF8 with BOM to continue processing by AutoIt3Wrapper. * ! * ##################################################################################################### * ! * ##### AutoIt3Wrapper will not show a GUI or update the script to avoid any damage to your scriptfile. ##### * ! * ##################################################################################################### * ! * When your file isn't a UTF8 file without BOM then please report this to me for review. * ! *************************************************************************************************************** >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 input:H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung.au3 +>14:14:36 AU3Check ended.rc:0 >Running Au3Stripper (1.2.0.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 0.02 Iteration 1 Strip Functions result: Output 18 lines, stripped 0 Func lines and 28 Commentlines - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 0.02 Iteration 2 Strip Variables result: Output 18 lines and stripped 0 lines +> 0 Au3Stripper v1.2.0.0 finished merging 54 lines of code, stripped 28 comment lines and Merged 7 Continuation lines. +> Created:H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung_stripped.au3 with 19 lines. +>14:14:36 Au3Stripper ended.rc:0 >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 input:H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung_stripped.au3 +>14:14:36 AU3Check ended.rc:0 >Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe /in "H:\DATEN\EDV\Anleitungen Hilfe Doku\W3Stat-(IDES)\w3stat-IDES-DesktopVerknüpfung_stripped.au3" /out "C:\Users\admin\AppData\Local\AutoIt v3\Aut2exe\~AU3hddtvjf.exe" /nopack /comp 2 +>14:14:38 Aut2exe.exe ended.C:\Users\admin\AppData\Local\AutoIt v3\Aut2exe\~AU3hddtvjf.exe. rc:0 >14:14:38 Performing the Program Resource Update steps: ...>Updating Program Version information. !>14:14:38 Skipping SourceSave because this is an stripped script.rc:2 +>14:14:38 Resource Update skipped: missing Resfile :C:\Users\admin\AppData\Local\AutoIt v3\Aut2exe\scriptin.tmp >14:14:39 Program Resource updating finished successfully. +>14:14:39 Created program:z:\w3stat-IDES-IntraStat-DesktopVernuepfung-Erstellen.exe - Skipping Updated of the Source Version because this file is detected as UTF8 without BOM which could cause script corruption. +>14:14:40 AutoIt3Wrapper Finished. >Exit code: 0 Time: 5.176 I tried to figure out, if this AU3 file is such a "UTF-8 without BOM", I don't know how to tell? any suggestions? Regards, Rudi.
- 9 replies
-
- compilation error
- resource update
-
(and 1 more)
Tagged with: