sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Multi-language EXE package uninstall not working

I am localizing our installer into several languages. I have opted to build a single multilingual EXE package with the language selection dialog. The install works fine in various languages, but when clicking "Uninstall/Change" from Control Panel, it is like a first-time install in English.

I see the "UninstallPath" in the registry is C:\ProgramData\Caphyon\Advanced Installer\{A}\Minitab17.3.0.0Setup.exe /i {B}, where {A} is the English Product Code and {B} is the French Product Code (for example).

If I execute msiexec /i {B}, I get the proper localized maintenance dialogs.

Why is this not working?
Dan
Posts: 4524
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multi-language EXE package uninstall not working

Hello,

In order to overcome this, you should use the same Product Code for all of your installation languages. Just, go to "Product Details page -> Product IDs tab" and set the same Product Code GUID for all of your installation languages.

Can you please tell us if the behaviour still persist?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: Multi-language EXE package uninstall not working

That fixed it. Thanks again!

Do you consider that a bug since it breaks the uninstall? Should the Product Codes be forced to be the same when selecting a multi-language package (if you had language-specific resources, you would handle them as conditioned features)? It seems to me like you would only want different Product Codes if you're building separate packages, and you want to allow installing more than one of them, no?
Dan
Posts: 4524
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multi-language EXE package uninstall not working

You're welcome,

I'm glad you got this working.
Do you consider that a bug since it breaks the uninstall? Should the Product Codes be forced to be the same when selecting a multi-language package (if you had language-specific resources, you would handle them as conditioned features)? It seems to me like you would only want different Product Codes if you're building separate packages, and you want to allow installing more than one of them, no?
We will further investigate this scenario and I will let you know when we have a conclusive answer.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”