aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

AI does not use installed language when (un-)installer is executed again

Errorreport

To reproduce:

Create an exe-installer with two languages (german and english msi) and let the user select the language. Set a different ProductCode for each language, as suggested by Microsoft and on Advanced Installer homepage (->ProductCode).

Install using the german language. Result: the german MSI is installed and the german language code is written into the registry by AI.

Uninstall by executing the setup again or through control panel. exe-installer is executed and assumes the english language is installed. It looks for the english ProductCode, which does not exist. Then the setup installs the application again. Uninstall is not possible! (only by excuting it with option /x and the right ProductCode given)

The problem is the exe-installer does not use the installed language code from registry.

Setting the same ProductCode for any language solves this problem. But this is still a wrong behaviour of AI, which I want to report by this post.
(We had a discussion via e-mail recently where I have sent you my .aip file.)
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: AI does not use installed language when (un-)installer is executed again

Hi,

I apologize for the delayed reply, we were quite busy in the last days.

Indeed, if different Product Codes are used for different language the problem you described appears. In this case it is recommended for the same Product Code to be used for all the languages available in the project. We will however do further investigations regarding this and default the best solution. Thank you for the report.

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

Return to “Common Problems”