Sign in to follow this  
Followers 0
Twilight

Idiot's Error

7 posts in this topic

Ok, this was a rookie mistake, I'll admit, but here's what happened.

I was making a script with an 'uninstall' function (as it hooked into the registry) I always made sure to copy it AND keep a open editing window open. Well it worked. Once I was done with the script, I was worried about using '@ScriptName' for my uninstall as a .exe, so I quick compiled (right clicked, hit compile) and opend up the .exe, it all worked, so I hit uninstall. As the warning came up, my mind screamed "copy your script!" but my hand said no. I also happened to have closed my editer version.

Long story short, I lost my source, and apparently, it needs working on before release (as the uninsall doesn't work)

How can I decompile the .exe now? I tried Exe2Aut but it gives me a passphrase error, even though I never set one.

Share this post


Link to post
Share on other sites



Ok, this was a rookie mistake, I'll admit, but here's what happened.

I was making a script with an 'uninstall' function (as it hooked into the registry) I always made sure to copy it AND keep a open editing window open. Well it worked. Once I was done with the script, I was worried about using '@ScriptName' for my uninstall as a .exe, so I quick compiled (right clicked, hit compile) and opend up the .exe, it all worked, so I hit uninstall. As the warning came up, my mind screamed "copy your script!" but my hand said no. I also happened to have closed my editer version.

Long story short, I lost my source, and apparently, it needs working on before release (as the uninsall doesn't work)

How can I decompile the .exe now? I tried Exe2Aut but it gives me a passphrase error, even though I never set one.

Re-Write it.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Is that the only option? It took quite a while to write >.<

Share this post


Link to post
Share on other sites

Is that the only option? It took quite a while to write >.<

That's the only option.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Oh well, considering this is only the second time i've done this, I guess I'll eventually learn.

Share this post


Link to post
Share on other sites

heh, i did a similar thing a while ago.

From now on, i compile all of my scripts via aut2exe, with the allow compile option set.. much safer that way.

Why isnt this default for the right click > compile?

Share this post


Link to post
Share on other sites

Is that the only option? It took quite a while to write >.<

Use some kind of file recovery software and see if you haven't overwritten the area of the hard drive where your uncompiled script is.

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