Archive: Add Remove Progams


Add Remove Progams
Hi all,
I am new user of NSIS. I want to write a script which will remove the processes that are currently running and call windows uninstaller when I invoke Start->Control Panel-> Add Remove Programs-> Remove button.

Iam not sure where to write in the NSIS script when the user invokes remove button. How will I write an event handler (i.e Remove Button is Pressed by user) in NSIS? Can anybody help me in this regard?

Regards
Pradeep


The remove button starts the uninstaller. You don't need to monitor the user clicking it...

There are several nsis plugins that can end a process. Processes plugin or nsProcess plugin are examples. Just use that in the uninstaller.