fail to delete registry entries

Got a problem you cannot solve? Try here.
vaibhavopkey
Posts: 28
Joined: Wed Feb 05, 2025 6:13 am

fail to delete registry entries

Postby vaibhavopkey » Thu Feb 20, 2025 2:24 am

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.
Attachments
Image.jpg
Image.jpg (45.14 KiB) Viewed 10584 times
image (1).png
image (1).png (98.71 KiB) Viewed 10584 times

JohnGaver
Posts: 197
Joined: Mon Feb 05, 2024 6:15 pm

Re: fail to delete registry entries

Postby JohnGaver » Thu Feb 20, 2025 1:03 pm

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.
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 103 guests