Twilight Posted March 2, 2007 Share Posted March 2, 2007 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. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 2, 2007 Moderators Share Posted March 2, 2007 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. Link to comment Share on other sites More sharing options...
Twilight Posted March 2, 2007 Author Share Posted March 2, 2007 Is that the only option? It took quite a while to write >.< Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 2, 2007 Moderators Share Posted March 2, 2007 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. Link to comment Share on other sites More sharing options...
Twilight Posted March 2, 2007 Author Share Posted March 2, 2007 Oh well, considering this is only the second time i've done this, I guess I'll eventually learn. Link to comment Share on other sites More sharing options...
tAKTelapis Posted March 2, 2007 Share Posted March 2, 2007 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? Link to comment Share on other sites More sharing options...
xcal Posted March 2, 2007 Share Posted March 2, 2007 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. How To Ask Questions The Smart Way 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