Old version:This action is only valid for products installed - Advanced Installer Community
MarwaAhmad
Posts: 14
Joined: Mon Mar 24, 2014 2:16 pm

Old version:This action is only valid for products installed

Hi,
I have advanced installer 11.2.1, I use in the updater "Uninstall old version first then install new version". The new version replaced the old version successfully but I saw that all the old versions were kept in the "programs and features"; windows OS. When trying to uninstall these old versions i got: "This action is only valid for products currently installed" attached a screen shot.

Would you please advice? as this issue in all customers using our product.
Thanks
Attachments
unnamed.png
unnamed.png (52.58 KiB) Viewed 4262 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Old version:This action is only valid for products insta

Hi,

As I can see in your screenshot, you have changed only the forth field of the version of your application. However, please keep in mind that Windows Installer ignores that field and does not consider it as a new version.

Changing only that field can lead to problems like yours. In order to remove those empty entries from the "Programs and features" window, you can go to the following registry paths and remove the registry keys that have the name or the Product Code of your application:

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MarwaAhmad
Posts: 14
Joined: Mon Mar 24, 2014 2:16 pm

Re: Old version:This action is only valid for products insta

Thank you Eusebiu, do you have any idea how could i remove the old versions in the registry using AdvancedInstaller?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Old version:This action is only valid for products insta

Hi,

In order to remove them from Advanced Installer, you can go in the "Registry" page, create all those registry keys with their paths, then for each registry key that you want to remove, go to "Properties -> Operations" tab and check the "Remove this key with all its values and subkeys" option.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MarwaAhmad
Posts: 14
Joined: Mon Mar 24, 2014 2:16 pm

Re: Old version:This action is only valid for products insta

Thank you Eusebiu for your support, your suggestion solved my issue.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Old version:This action is only valid for products insta

You're welcome. I'm glad you solved the problem.

Just let us know anytime you need help.

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

Return to “Common Problems”