Sign in to follow this  
Followers 0
Wb-FreeKill

Au3 file to c++

17 posts in this topic

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...

Share this post


Link to post
Share on other sites

.. 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. :)

Share this post


Link to post
Share on other sites

If you want to convert Au3 to exe. Looks like you have the right tools.  :)

<{POST_SNAPBACK}>

True, true :D

But, if i want to make my own script, witch is using the upx packer to convert it?

Share this post


Link to post
Share on other sites

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 this

The 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.

Share this post


Link to post
Share on other sites

Have you tried this

<{POST_SNAPBACK}>

thats what im looking for :)

Share this post


Link to post
Share on other sites

C:\Aut2exe.exe /in <MyFile.au3> [/out <MyFile.exe>] [/icon <C:\icon.ico>] [/nodecompile] [/comp 0-4] [/pass <passphrase>]

Like this or?

Share this post


Link to post
Share on other sites

Well, if Aut2Exe is in the same directory. You could just do

Aut2Exe /in MyFile.au3

The result would be MyFile.exe.

Share this post


Link to post
Share on other sites

Well, if Aut2Exe is in the same directory. You could just do

Aut2Exe /in MyFile.au3

The result would be MyFile.exe.

<{POST_SNAPBACK}>

Found the problem, no white spaces in the filename :)

Share this post


Link to post
Share on other sites

Found the problem, no white spaces in the filename  :)

<{POST_SNAPBACK}>

Can i compile without using an icon?

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

#11 ·  Posted (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 process

im 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 by layer

FootbaG

Share this post


Link to post
Share on other sites

#12 ·  Posted (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 by SumTingWong

Share this post


Link to post
Share on other sites

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 process

im 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.

:)

Share this post


Link to post
Share on other sites

#14 ·  Posted (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 by Wb-FreeKill

Share this post


Link to post
Share on other sites

Same directory, you state?

" " for relative to script.

#include "GUIConstants.AU3"

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. :D

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0