LFCavalcanti Posted March 16, 2015 Author Posted March 16, 2015 (edited) Are you sure it isn't Autoit3Wrapper asking for the source file location? The prompt is not for the AUT2EXE location, but for your scriptfile location. Jos Confirmed, it is the Aut2Exe(see atachment). Even If I select the au3 scrip file using the window, nothing happens. EDIT: I tried compiling the script using Aut2Exe fist: Aut2Exe.exe /in ..\client\IntermixClient.au3 /out E:\IntermixClientTest.exe /icon ..\client\img\icon.ico Then, running the Wrapper pointing to the same output file: AutoIt3Wrapper.exe /in ..\client\IntermixClient.au3 /out E:\IntermixClientTest.exe /icon ..\client\img\icon.ico /x86 Again, the wrapper does not "wrap" the resources appointed by the directives. Edited March 16, 2015 by LFCavalcanti -- "There is a way out of every box, a solution to every puzzle; it's just a matter of finding it." - Picard, Jean-Luc
Developers Jos Posted March 16, 2015 Developers Posted March 16, 2015 Reading through this it seems to me you are actually confirming that it is AutoIt3Wrapper prompting you which script you want to compile. Just so I understand you last post: The Aut2EXE.exe commandline is working and the AutoIt3Wrapper.exe commandline is giving the prompt... right? My guess is that the workdir isn't the same or internally changed by AutoIt3Wrapper and hence it can't find the script. Try putting in fully qualified filenames&paths for both /In and /Out and if that works. 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.
LFCavalcanti Posted March 16, 2015 Author Posted March 16, 2015 Reading through this it seems to me you are actually confirming that it is AutoIt3Wrapper prompting you which script you want to compile. Just so I understand you last post: The Aut2EXE.exe commandline is working and the AutoIt3Wrapper.exe commandline is giving the prompt... right? My guess is that the workdir isn't the same or internally changed by AutoIt3Wrapper and hence it can't find the script. Try putting in fully qualified filenames&paths for both /In and /Out and if that works. Jos AutoIt3Wrapper.exe /in "E:\_ARQUIVOS\PROJETOS\PROJETO INTERMIX\VERSION\0.0.7\SOURCE\client\IntermixClient.au3" /out "E:\IntermixClientTest.exe" /icon "E:\_ARQUIVOS\PROJETOS\PROJETO INTERMIX\VERSION\0.0.7\SOURCE\client\img\icon.ico" /x86 Now, it is not asking for the file, but also doesn't do anything. Checked Event Log, permissions on the files/folders, all good. -- "There is a way out of every box, a solution to every puzzle; it's just a matter of finding it." - Picard, Jean-Luc
Developers Jos Posted March 16, 2015 Developers Posted March 16, 2015 Now, it is not asking for the file, but also doesn't do anything. Checked Event Log, permissions on the files/folders, all good. Can you run the command from the SciTE outputpane so you can see the possible error messages? Just open a file in the proper directory you run the shown command from. Press F8 and paste the commandline in there and press Enter. What is shown? 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.
LFCavalcanti Posted March 16, 2015 Author Posted March 16, 2015 (edited) Can you run the command from the SciTE outputpane so you can see the possible error messages? Just open a file in the proper directory you run the shown command from. Press F8 and paste the commandline in there and press Enter. What is shown? Jos Bingo!!!! The Wrapper was not finding the AutoIt3 directory, so I added this directive: #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\ The final command line still is the same above, just added the directive. AutoIt3Wrapper.exe /in ..\SOURCE\client\IntermixClient.au3 /out ..\SOURCE\client\IntermixClientTest.exe /icon ..\SOURCE\client\img\icon.ico /comp 4 /x86 Edited March 16, 2015 by LFCavalcanti -- "There is a way out of every box, a solution to every puzzle; it's just a matter of finding it." - Picard, Jean-Luc
LFCavalcanti Posted March 17, 2015 Author Posted March 17, 2015 UPDATE: Well, If I run wrapper with the command line parameters from SciTE(F8), it works... however, if I run the same command line on a batch file or command prompt, no good. It does run the Wrapper, Aut2Exe, generates the executable, but the resources are not there. No error, the resources are just not there. -- "There is a way out of every box, a solution to every puzzle; it's just a matter of finding it." - Picard, Jean-Luc
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