Skip to content
⌘ NSIS Forum Archive

Uninstallation of installed pre-requisites

2 posts

srividyatr#

Uninstallation of installed pre-requisites

Hi,

I have created an installer which checks if the necessary pre-requisites are installed
and if not, will install the same using ExecWait. During uninstallation, I want to uninstall
these pre-requisites if they were installed by us in the first place but leave them if the user already had these softwares installed. How can I achieve this?

Thanks in advance for your help.
Regards,
Srividya
MSG#
You'll need to store some variable(s) somewhere that tells you that you were the one who installed requisite 1, 2, etc.
- In registry
- In an ini file
- as an appended byte to the unintaller exe.