Archive: revert nsis exe to nsi


revert nsis exe to nsi
Hello,

I would like to redit existant complied nsis exe is there way to do it?


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

For now, you can view/extract an installer with 7zip but no a usable script.