Wb-FreeKill Posted March 23, 2005 Share Posted March 23, 2005 I wonder if its possible to convert AutoIt code to c++ language?.. or make my own converter, witch is able to convert au3 to exe without havning AutoIt installed... I should be possible since all you need is the au2Exe.exe, upx.exe, and the bin file... Link to comment Share on other sites More sharing options...
MHz Posted March 23, 2005 Share Posted March 23, 2005 .. or make my own converter, witch is able to convert au3 to exe without havning AutoIt installed...I should be possible since all you need is the au2Exe.exe, upx.exe, and the bin file...If you want to convert Au3 to exe. Looks like you have the right tools. Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 23, 2005 Author Share Posted March 23, 2005 If you want to convert Au3 to exe. Looks like you have the right tools. <{POST_SNAPBACK}>True, true But, if i want to make my own script, witch is using the upx packer to convert it? Link to comment Share on other sites More sharing options...
MHz Posted March 23, 2005 Share Posted March 23, 2005 True, true But, if i want to make my own script, witch is using the upx packer to convert it?<{POST_SNAPBACK}>Have you tried thisThe Aut2Exe.exe program can be run from the command line as follows: Aut2exe.exe /in <infile.au3> [/out <outfile.exe>] [/icon <iconfile.ico>] [/nodecompile] [/comp 0-4] [/pass <passphrase>]Long filenames should be enclosed in double-quotes like "C:\Program Files\Test\test.au3". If no "out" file is given the input filename is used with a .exe extension. Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 23, 2005 Author Share Posted March 23, 2005 Have you tried this<{POST_SNAPBACK}>thats what im looking for Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 23, 2005 Author Share Posted March 23, 2005 C:\Aut2exe.exe /in <MyFile.au3> [/out <MyFile.exe>] [/icon <C:\icon.ico>] [/nodecompile] [/comp 0-4] [/pass <passphrase>] Like this or? Link to comment Share on other sites More sharing options...
MHz Posted March 23, 2005 Share Posted March 23, 2005 Well, if Aut2Exe is in the same directory. You could just do Aut2Exe /in MyFile.au3 The result would be MyFile.exe. Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 23, 2005 Author Share Posted March 23, 2005 Well, if Aut2Exe is in the same directory. You could just doAut2Exe /in MyFile.au3The result would be MyFile.exe.<{POST_SNAPBACK}>Found the problem, no white spaces in the filename Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 23, 2005 Author Share Posted March 23, 2005 Found the problem, no white spaces in the filename <{POST_SNAPBACK}>Can i compile without using an icon? Link to comment Share on other sites More sharing options...
SumTingWong Posted March 23, 2005 Share Posted March 23, 2005 Can i compile without using an icon?<{POST_SNAPBACK}>Why don't you just run Au2Exe and use the nice GUI instead of fiddling with command lines. Better still, download and install Scite! Link to comment Share on other sites More sharing options...
layer Posted March 23, 2005 Share Posted March 23, 2005 (edited) just curious... (since i see it's solved(the question that is)):1.) .bin stands for binary file, correct?2.) how was the compiler madE? i mean i know its an au3 script, but it uses outside resources, id just like to know the exact processim going to say what I think happens when you compile an au3 script.. the Aut2Exe script uses the UPX thingy to make it into an exe? then whats the bin file foR? and also, the exe is really just a parser right? (for autoit)EDIT: or is the UPX used to make the outputted .exe file made with the bin file, smaller? Edited March 23, 2005 by layer FootbaG Link to comment Share on other sites More sharing options...
SumTingWong Posted March 23, 2005 Share Posted March 23, 2005 (edited) EDIT: or is the UPX used to make the outputted .exe file made with the bin file, smaller? <{POST_SNAPBACK}>Yes! UPX = Ultimate Packer for eXecutables Edited March 23, 2005 by SumTingWong Link to comment Share on other sites More sharing options...
MHz Posted March 24, 2005 Share Posted March 24, 2005 Why don't you just run Au2Exe and use the nice GUI instead of fiddling with command lines. Better still, download and install Scite!<{POST_SNAPBACK}>Wb-FreeKill would be making an exe that can make an exe, using fileinstall? Was discussed in another thread.just curious... (since i see it's solved(the question that is)):1.) .bin stands for binary file, correct?2.) how was the compiler madE? i mean i know its an au3 script, but it uses outside resources, id just like to know the exact processim going to say what I think happens when you compile an au3 script.. the Aut2Exe script uses the UPX thingy to make it into an exe? then whats the bin file foR? and also, the exe is really just a parser right? (for autoit)1.) The bin file contains the Autoit interpreter code, for running compiled script.(Autoit3.exe is the Autoit interpreter, for running uncompiled script.)2.) Aut2Exe.exe would not be an Autoit3 script?As SumTingWong has stated for upx. Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 24, 2005 Author Share Posted March 24, 2005 (edited) Okay, ive made it all and it works perfekt, Execpt when i tri to run it on another computer, then it says "falied to open GUIConstans.AU3", bacause it is used in my script im going to convert. So i tried creating the path and filenames when the compiler (my compiler) opens, but it says the same error even if the file exist in the directory, why? This is the dir were MY AutoIt are installed: C:\Programmer\AutoIt3\Include\GUIconstans.AU3 So i made the exact same dir for my program, but it aint working when autoit aint installed Edited March 24, 2005 by Wb-FreeKill Link to comment Share on other sites More sharing options...
MHz Posted March 24, 2005 Share Posted March 24, 2005 Same directory, you state? " " for relative to script. #include "GUIConstants.AU3" Link to comment Share on other sites More sharing options...
SumTingWong Posted March 24, 2005 Share Posted March 24, 2005 Wb-FreeKill would be making an exe that can make an exe, using fileinstall? Was discussed in another thread.Where is this thread?I don't get what he's trying to do. Thanks. Link to comment Share on other sites More sharing options...
MHz Posted March 24, 2005 Share Posted March 24, 2005 Where is this thread?I don't get what he's trying to do. Thanks.<{POST_SNAPBACK}>Try here. I believe this is the one.Get ready for a bumpy ride. 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