Skip to content
⌘ NSIS Forum Archive

revert nsis exe to nsi

3 posts

tbaror#

revert nsis exe to nsi

Hello,

I would like to redit existant complied nsis exe is there way to do it?
demiller9#
No, there is no way to 'uncompile' the exe and turn it back into the original nsi file. You might be able to use some programs that can show the logic in the script, but the variables and macros are all 'boiled down'.

I put my nsi files into the script and extract it to $PLUGINSDIR so I can get them out.
SetOutPath $PLUGINSDIR
File ${__FILE__}
This way I can run the installer, and before I exit the installer, I can find the PlugIns folder and copy the nsi that was used to make the installer. The PlugIns folder gets deleted so I don't leave any extra files on the target machine.

Don