ohpsn Posted December 9, 2023 Share Posted December 9, 2023 I am getting this message when I tried to compile. The exe file created is not correct because it does not function the same as executable from another machine. output snapshot from the bad result: "C:\Program Files (x86)\AutoIt3\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "g:\My Drive\Documents\TDAmeritrade\AutoIt\MRGMargin.au3" [PID 4896] +>16:17:57 Starting AutoIt3Wrapper (19.1127.1402.0} from:Code.exe (1.84.2.0) Keyboard:00000409 OS:WIN_11/ CPU:X64 OS:X64 Environment(Language:0409) -> 1 Change(s) made. >Running AU3Check (3.3.16.1) from:C:\Program Files (x86)\AutoIt3 input:g:\My Drive\Documents\TDAmeritrade\AutoIt\MRGMargin.au3 +>16:18:38 AU3Check ended.rc:0 >Running Au3Stripper (19.1127.1402.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. - 1.89 Iteration 1 Strip Functions result: Output 2720 lines, stripped 12307 Func lines and 11059 Commentlines ================== output snapshot from the good result: "C:\Program Files (x86)\AutoIt3\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "c:\Users\jamie\Google Drive\Documents\TDAmeritrade\AutoIt\MRGMargin.au3" [PID 8688] +>14:52:39 Starting AutoIt3Wrapper (19.1127.1402.0} from:Code.exe (1.84.2.0) Keyboard:00000409 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0409) -> No changes made.. >Running AU3Check (3.3.14.5) from:C:\Program Files (x86)\AutoIt3 input:c:\Users\jamie\Google Drive\Documents\TDAmeritrade\AutoIt\MRGMargin.au3 +>14:52:42 AU3Check ended.rc:0 >Running Au3Stripper (19.1127.1402.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: - 4.44 Iteration 1 Strip Functions result: Output 2727 lines, stripped 12007 Func lines and 10949 Commentlines - 6.44 Iteration 2 Strip Variables result: Output 762 lines and stripped 1965 lines - 6.73 Iteration 3 Strip Variables result: Output 701 lines and stripped 61 lines - 6.97 Iteration 4 Strip Variables result: Output 699 lines and stripped 2 lines - 7.22 Iteration 5 Strip Variables result: Output 699 lines and stripped 0 lines I tried to re-install autoit with different versions a few times to no avail. BTW, the bad result is from Widows 11 while the good one is Windows 10. Any help is greatly appreciated. Regards, Link to comment Share on other sites More sharing options...
Solution argumentum Posted December 9, 2023 Solution Share Posted December 9, 2023 (edited) #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/mo #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <MsgBoxConstants.au3> Local $iTimeout = 10 ; Display a message box with a nested variable in its text. MsgBox($MB_SYSTEMMODAL, "Title", "This message box will timeout after " & $iTimeout & " seconds or select the OK button.", $iTimeout) ; C:\Users\<UserName>\AppData\Local\AutoIt v3\SciTE\Au3Stripper\au3Stripper.dat >"C:\Utilities\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Utilities\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "C:\Utilities\Test.au3" +>20:42:50 Starting AutoIt3Wrapper (pid=12504) 23.402.1150.10 from:SciTE.exe (4.4.6.0) Keyboard:00000409 OS:WIN_11/2009 CPU:X64 OS:X64 Environment(Language:0409) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Utilities\AutoIt3\SciTE UserDir => C:\Users\Gamr\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\Gamr\AppData\Local\AutoIt v3\SciTE -> 4 Change(s) made. >Running AU3Check (3.3.17.0) from:C:\Utilities\AutoIt3 input:C:\Utilities\Test.au3 +>20:43:06 AU3Check ended. rc:0 >Running Au3Stripper (23.402.1150.1) from:C:\Utilities\AutoIt3\SciTE\Au3Stripper cmdline: +> Au3Stripper v23.402.1150.1 finished merging 81 lines of code, stripped 31 comment lines and Merged 0 Continuation lines. +> Created:C:\Utilities\Test_stripped.au3 with 50 lines. +>20:43:06 Au3Stripper ended. rc:0 >Running AU3Check (3.3.17.0) from:C:\Utilities\AutoIt3 input:C:\Utilities\Test_stripped.au3 +>20:43:06 AU3Check ended. rc:0 >Running:(3.3.16.1):C:\Utilities\AutoIt3\aut2exe\aut2exe.exe /in "C:\Utilities\Test_stripped.au3" /out "C:\Users\Gamr\AppData\Local\AutoIt v3\Aut2exe\~AU8B97.tmp.exe" /nopack /comp 2 +>20:43:07 Aut2exe.exe ended.C:\Users\Gamr\AppData\Local\AutoIt v3\Aut2exe\~AU8B97.tmp.exe. rc:0 +>20:43:07 Created program:C:\Utilities\Test.exe >Running:(3.3.16.1):C:\Utilities\AutoIt3\aut2exe\aut2exe.exe /in "C:\Utilities\Test_stripped.au3" /out "C:\Users\Gamr\AppData\Local\AutoIt v3\Aut2exe\~AU8B97.tmp.exe" /nopack /comp 2 /x64 +>20:43:08 Aut2exe.exe ended.C:\Users\Gamr\AppData\Local\AutoIt v3\Aut2exe\~AU8B97.tmp.exe. rc:0 >20:43:08 Performing the Program Resource Update steps: ...>Updating Program Version information. >20:43:08 Program Resource updating finished successfully. +>20:43:08 Created program:C:\Utilities\Test_x64.exe +>20:43:09 AutoIt3Wrapper Finished. >Exit code: 0 Time: 19.66 23H2 here and all good. The file should be at: C:\Users\<UserName>\AppData\Local\AutoIt v3\SciTE\Au3Stripper\au3Stripper.dat if SCITE_USERHOME=C:\Users\<UserName>\AppData\Local\AutoIt v3\SciTE Open a cmd prompt and type set, enter. That should show where %SCITE_USERHOME% points to. PS: update your files with the beta ones. Edited December 9, 2023 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
ohpsn Posted December 9, 2023 Author Share Posted December 9, 2023 I added the environment variable SCITE_USERHOME and the error message went away. Thanks. My executable problem still exists but I will post another topic for clarity. Thanks again. argumentum 1 Link to comment Share on other sites More sharing options...
Developers Jos Posted December 9, 2023 Developers Share Posted December 9, 2023 5 hours ago, ohpsn said: I added the environment variable SCITE_USERHOME and the error message went away. Thanks. My executable problem still exists but I will post another topic for clarity. Thanks again. This means you didn't use the installer? 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 More sharing options...
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