We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

talu3000
Posts: 13
Joined: Wed Feb 20, 2013 1:12 am

Error when uninstalling

Hi,

I have sometimes the following error when the user try to uninstall the app from the Program and Feature list:
"An error occurred while trying to uninstall [Application Name]. It may have already been uninstalled. Would you like to remove [Application Name] from the Programs and Feature list?" It occurs sometimes and on different platforms, Windows XP, 7 and 8. In fact the app is sometimes not properly uninstalled and an entry remain in the Program and Feature list.

How can I fix this issue? Is it a bug from advanced Installer?
I m using the latest version of advanced installer.

Thanks,
Sebastien
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error when uninstalling

Hello Sebastien,

I'm not sure why you encountered this behavior.

This might be a Windows Installer "Install new version first and then uninstall old version" upgrade type issue.
Please note that a similar subject is debated on our Advanced Installer 8.3 Programs and Features list bug thread.

Also, you can take a look on Error Message When Removing Program with Add/Remove Programs article which may be helpful to you.

Let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
talu3000
Posts: 13
Joined: Wed Feb 20, 2013 1:12 am

Re: Error when uninstalling

Thank you. Yes the links you sent me exactly correspond to my problem, in some cases, the registery key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall isn't properly removed.
Should I add a script during the uninstall process to remove this key or there is a better and more clean way to fix this issue?
talu3000
Posts: 13
Joined: Wed Feb 20, 2013 1:12 am

Re: Error when uninstalling

No one knows?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error when uninstalling

Hello Sebastien,

First of all I apologize for my delayed answer.

You can use a registry value removal. In order to achieve that you can go in the “Registry” page and use the [New Value Removal] toolbar button.
In the new appeared dialog you can customize a registry value removal operation.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
talu3000
Posts: 13
Joined: Wed Feb 20, 2013 1:12 am

Re: Error when uninstalling

ok I have found the issue:
I have edited the .aip file and change the "ComponentId" attribute of each "Row" element located in the node "<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">".

Looks like other products was sharing those same unique id...

Cheers,
Sebastien

Return to “Common Problems”