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!

MKutschner
Posts: 9
Joined: Thu May 16, 2013 8:14 am

Error Uninstall/Upgrade

Hello,

I install a Windows Service with AI 11.6, the installation works without problems.

But when I want to uninstall the service, I get the following Error:
Error Uninstall
Error Uninstall
ErrorUninstall.png (6.51 KiB) Viewed 3068 times

When I want to install a new version over my old version I get the following Error:
Error Upgrade
Error Upgrade
ErrorUpgrade.png (6.71 KiB) Viewed 3068 times

What can I do to solve this problem?


The log of the installation is here;
installer.log
Logfile
(243.66 KiB) Downloaded 256 times
Thank`s for you`re help.

Best regards.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error Uninstall/Upgrade

Hello,

Investigating your attached log file, I'm afraid I cannot track down the root cause of the related behavior. Can you also please send us to support at advancedinstaller dot com the .AIPs (project files) of your old and new version to investigate their settings?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error Uninstall/Upgrade

Hello Matthias,

I've tested two sample projects (having the same settings as your sent projects) on a Windows 7 x64 English OS, but I cannot replicate the behavior. However, I've observed that you are building multilingual packages which have different Product Codes for the installation languages. Please keep in mind that when creating multilingual packages, this error may occur if you have different Product Codes for your installation languages. Here is our "Why do I get the "Error applying transforms" error when uninstalling from Control Panel?" faq.

Therefore, can you open your old version of your project, go to "Product Details page -> Product IDs tab", set the same Product Code GUID for all of your installation languages and test again the scenario on a clean machine? Also, you should proceed the same for the new version of your product. Afterwards, when you will increase the ProductVersion of your project (and choose [Major Upgrade]) there would be no need to manually set the same ProductCode for your installation languages, because this operation will be automatically done by Advanced Installer.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MKutschner
Posts: 9
Joined: Thu May 16, 2013 8:14 am

Re: Error Uninstall/Upgrade

Hello Daniel,

Thanks for you`re help.
This solved my problems.

Best regards

Matthias
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error Uninstall/Upgrade

You're always welcome Matthias. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”