Archive: Can i make a isntaller supporting callback function by NSIS?!


Can i make a isntaller supporting callback function by NSIS?!
Just like the *.msi installer,when something wrong to terminate the installation !Can the installer callback and delete the info and file hava been installed!And if I can ,How to make it!???


You can use .onInstFailed. It's called when the installer fails.


OK!And then read the log file and uninstall the exist fules?


yep.. you'll have to write out a list of files installed, changes made, etc. yourself. Here's a good starter on that:
http://nsis.sourceforge.net/Uninstal...nstalled_files


Thanks