Archive: Repair/Modify/Uninstall


Repair/Modify/Uninstall
Hello!
Are there Repair/Modify/Uninstall(of course) functionality in the NSIS! What I am want? When the End User Click on Uninstall or rerun the installer, it check the version, if the running installer never than the installed, update the program! If same pops up a windows with Reapair/Modify/Uninstall options same as Installshield professional... I searched in Archive but nothing founded yet...

Many Thanks,
ACEMCP


Sure, all possible with the script language.

If you want it to be able to repair, let the installer create a backup and and add option in the uninstaller to repair.


So there aren't any ready2use solution?


I search also for a solution.

Anyone?


There is no all in one ready to use solution. No install product is the same therefore you will have to do it yourself. It should be straight forward. Uninstall first (call the existing uninstaller) but leave configuration files or registry behind (uninstaller can have a command line switch for this). Then install but without overwriting configuration files or registry (a variable can be used).

Stu


I had started this like 2 years ago mabey it will help you. basically what i'd do is have a couple custom NsDialog pages in your uninstaller and then you can do whatever you want with the functions
screen shot

http://image.bayimg.com/cadheaadd.jpg