Ani-chan Posted April 6, 2004 Share Posted April 6, 2004 Hi! since most ppl have less problems with an exe, I'm converting my Scripts with Aut2Exe to an executable. Now I have quite a problem, since Aut2Exe seems to compress the Scripts and Stuff with UPX ( as far as I noticed ). When I now remove the UPX compression, the exe wont run anymore I have my own exe-packer and want to use it, since it also got a nice protection! Is there any way to turn the compression completely off? I would love to have a simple Tool, which just merges the exe with the script, without any protection and stuff... somethink like a runtime Anyway, I must say I just love AutoIt! kind regards, Ani-chan Link to comment Share on other sites More sharing options...
trids Posted April 6, 2004 Share Posted April 6, 2004 .. which just merges the exe with the script, without any protection and stuff ..Have you seen Helge's clever trick?HTH Link to comment Share on other sites More sharing options...
Administrators Jon Posted April 6, 2004 Administrators Share Posted April 6, 2004 Well the problem is that even if UPX wasn't used (which is only used for compressing the exe stub, Autoit uses its own compression/encryption for the actual script) then you wouldn't be able to compress it afterwards anyway as it would destroy the format of the exe that AutoIt understands. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Ani-chan Posted April 6, 2004 Author Share Posted April 6, 2004 @trids Does this make a executable? @Jon I thought so, but wouldn't it be possible to create that tool without the compression/protection? Link to comment Share on other sites More sharing options...
Administrators Jon Posted April 6, 2004 Administrators Share Posted April 6, 2004 No, because an exe packer/compressor would compress the whole thing which would remove access to the script (which is appended to the exe). Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
trids Posted April 6, 2004 Share Posted April 6, 2004 @tridsDoes this make a executable?Yes .. well, the source gets included into the exe and then if you launch the exe with the /source <password> switches, the source gets restored .. in all it's original indented and commented glory ... .. sorry - i like this so much i got carried away a little Link to comment Share on other sites More sharing options...
Ani-chan Posted April 6, 2004 Author Share Posted April 6, 2004 hm... but I just wanna have a little uncompressed/undecrypted exe which runs my script... Link to comment Share on other sites More sharing options...
Valik Posted April 6, 2004 Share Posted April 6, 2004 Undecrypted means encrypted... Link to comment Share on other sites More sharing options...
esfalk Posted April 7, 2004 Share Posted April 7, 2004 Ani-chan, Aut2Exe converts your script to an executable that can be run on any PC and requires no AutoIT be installed. It doesn't need to be uncompressed or decrypted by anything; and like Trids said... you can always expand it back to the origional code if you know the passphrase. Link to comment Share on other sites More sharing options...
trids Posted April 7, 2004 Share Posted April 7, 2004 .. and if you compiled it with Helge's clever trick (see link above) Link to comment Share on other sites More sharing options...
Helge Posted April 7, 2004 Share Posted April 7, 2004 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