Registry entry needs changed value during uninstall instead - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Registry entry needs changed value during uninstall instead

Hello,

When installing, the installer will create a registry entry with the value "0". During the uninstall the installer needs change this registry entry to the value "1" instead of removing it? How to do this? I know the registry entry can be avoided from removing by checking the Permanent check box in the Organization pane. But how to change the value during uninstall?

:)
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registry entry needs changed value during uninstall inst

Hi,

I'm afraid that Windows Installer does not permit adding registry values during the uninstallation of a package. So, in order to achieve what you want, you can create your own custom action and execute it only on uninstall.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Registry entry needs changed value during uninstall inst

Glad to help. Just let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”