Random Uninstall Language Keeps Getting Selected - Advanced Installer Community
DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

Random Uninstall Language Keeps Getting Selected

Hello,

I have currently two big issues. one is depicted in this post "Multiple Install Issues" which i will send my aip file also hoping it somewhat might help me with the second issue i have.

To explain this in detail, i built an installer that supports multiple languages, at first run it calls the language selection dialog (at this moment it has 8 languages).

Let's say i select English and install it, everything is okay.

Now i run the Exe again it uninstalls the other installation (by the way is this standard? Why does it not say i have already this product installed instead?) after it has
removed all contents of previous installation it doesn't pop the language installation dialog for some reason, and the worst part it selects a random language in this case the most often chosen is Japanese.
For some reason now i am installing in Japanese which i did not chose or have ever chosen.

Any particular reason this can happen?


Thank You for Your Help!


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

Re: Random Uninstall Language Keeps Getting Selected

Hello Diego,

The problem occurs because you have checked in "Builds" page the "Uninstall a package with the same version" option. When this option is checked your setup will uninstall the current version of the product (if installed) and then will be started using the current OS language, without displaying the language selection dialog. This is how this option works.

Can you uncheck this option and see if this solves your problem?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

Re: Random Uninstall Language Keeps Getting Selected

Hello Daniel,


But by removing this option will the users be able to install multiple times?
I am afraid if i do this that the previous version is still present and might lead to some issues.

But i will test this.

Thank You for Help!


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

Re: Random Uninstall Language Keeps Getting Selected

Hello,

Yes they can do that, second time when the setup is launched it will run in maintenance mode with the following options: Remove, Repair or Modify. For example, if you want to make a new installation, second time when you launch the setup choose Remove option then third time when it is launched you will be able to install the product again.

Unchecking that option won't lead you to new issues. Actually this is how a Windows Installer setup package should behave by default: after installation on second launch it should run in maintenance mode.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

Re: Random Uninstall Language Keeps Getting Selected

Hello Daniel,

Regarding now showing the maintenance dialog when runnning the exe with the app installed it is working! Thank You.

But the first issue still remains for some reason.

I installed in english when i rerun the exe it shows me the maintenance dialog but its in japanese i don't understand this.

If you could help me understand, this is quite critical i am currently using version 12.7.2 don't know if that helps.


Thank You for your Support.


Best Regards,

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

Re: Random Uninstall Language Keeps Getting Selected

Hello Diego,

Can you please go to "Product Details page -> Product IDs tab" and make sure you use the same ProductCode for all of your installation languages? Then just rebuild the setup and test it again.

Let us know if now is working as expected.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

Re: Random Uninstall Language Keeps Getting Selected

Hello Daniel,

i have done what you have asked after a few test i will have more info.


Thank You for Your support!

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

Re: Random Uninstall Language Keeps Getting Selected

You're welcome Diego.

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

Return to “Common Problems”