Page 1 of 1

fail to delete registry entries

Posted: Thu Feb 20, 2025 2:24 am
by vaibhavopkey
I'm using InstallAware Studio 18. Sometimes, when a user tries to uninstall the old version of $TITLE$, they receive the message:

"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]
Image.jpg
[/img]
[img]
image%20(1).png
[/img]

Most of the time, the installer works fine, but this issue occasionally occurs for our clients.

Re: fail to delete registry entries

Posted: Thu Feb 20, 2025 1:03 pm
by JohnGaver
InstallAware 18 is over a decade old, and nearly 20 versions behind X17!

It is way past end of life, and what you're seeing is most likely to be a bug that's been fixed in the plethora of versions since.

It would only make sense to try and troubleshoot this in our current production release.