"Unable to uninstall the old version of $TITLE$. It is strongly recommended that you uninstall it yourself using ...."
The installer is unable to delete certain registry entries on its own, even though the user has granted administrative rights to the installer. This issue occurs occasionally.
The following code is used to remove the old version:
Code: Select all
Install/Remove MSI Package $PRODUCTCODE$ [REMOVE=ALL] (get result into variable REMOVEOLD)
However, when REMOVEOLD fails, I have to manually delete all related registry entries from the registry editor on the client machine.
If the installer has full privileges, why does it sometimes fail to delete certain registry entries? I have to search for these entries in the registry and delete them manually.
I have attached some screenshots for reference.
Note: When I try to uninstall the program from Control Panel or Plugin Manager in my app, the files are already deleted. This issue occurs because some registry entries are not removed from the registry editor."
[img] [/img]
[img] [/img]
Most of the time, the installer works fine, but this issue occasionally occurs for our clients.