Jump to content

Recommended Posts

Posted

Hello everyone,

I need to compile au3 file to exe without using Aut2Exe tool (it is forbidden in my environment). Where should I look at for this purpose? If Aut2Exe is an open source I can analyze the source code of that.

BTW: Online compiler will not work, I don't have internet connection for that specific machine.

Thanks.

  • Developers
Posted (edited)

Could be me but this question sounds like you want to have Hamer in a nail without a hammer, since they are not allowed.

Is AutoIt3 not allowed in your environment at all?
if so: why look at AutoIt3 at all then?

Jos

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

Posted

Well, you can compile it manually, however you'll still need to compile your script to A3X.

1. Get any already compiled AutoIt script (in .exe), no matter what it is (it can even be a hello world)

2. Compile your desired script to A3X.

3. Open A3X with Notepad(++) and your exe file with Resource Hacker

4. In Resource Hacker, replace the content of RCDATA\SCRIPT with the A3X file contents. That's all.

5. Come back and answer why AU3 is forbidden on your environment :)

My stuff

  Reveal hidden contents

 

  • Developers
Posted

@Jefrey, 

Are you seriously proposing this or just making fun here? You approach still needs a compiled script in the "closed environment" so why go through all this trouble when you simple can compile (your step 2) and simply copy the script.exe to this close environment?

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

  • 2 weeks later...
Posted
  On 6/29/2017 at 4:39 PM, Jos said:

@Jefrey, 

Are you seriously proposing this or just making fun here? You approach still needs a compiled script in the "closed environment" so why go through all this trouble when you simple can compile (your step 2) and simply copy the script.exe to this close environment?

Jos 

Expand  

Actually I suggested this so the OP can understand how the compiler works and also know that, no matter what you can do, the compiler is still needed.

  Quote

however you'll still need to compile your script to A3X

Expand  

Perhaps if the OP gives more detail about the environment we can offer serious suggestions :D

My stuff

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...