Page 1 of 1

Uninstalling from Control Panel always starts in English

Posted: Thu Dec 21, 2006 9:35 am
by pfennig
Although the default language is German and the installation language was left to German the Uninstall process starts always in English when running it from Control Panel. How can this be prevented?

best regards
--
pfennig

Posted: Thu Dec 21, 2006 9:43 am
by MichaelNesmith
Try to add Set Variable LANGUAGE to $LANGUAGE$ and check the persistent option as the first line of your setup, see if that helps.

Posted: Thu Dec 21, 2006 11:09 am
by MichaelNesmith
BTW - I was unable to reproduce this issue, so maybe you can provide some more details on what exactly is broken (and when).

Posted: Tue Jan 02, 2007 4:19 am
by pfennig
Happy New Year!
Thank you for your suggestions. Setting the LANGUAGE variable didn't help, though.

When I use the Setup file to uninstall then all dialogs are in German from the start. But using Control Panel the Maintenance and all following forms have English strings. OTOH, the shared dialog texts are correctly displayed in German.

best regards
--
pfennig

Posted: Tue Jan 02, 2007 6:39 am
by Tinus
I can't reproduce this either.

My localized setups all start with German language in maintenance mode.

Please verify:

- There are one or more directories under c:\\document and settings\\all users\\application data\\{GUID}
- Look for the directory which includes files with your product name
- In my setups I have a file called <product>.lan. Check if you have this file. In my setup the contents of this file is "German". This file is created at install time.

Posted: Wed Jan 03, 2007 5:17 am
by pfennig
Tinus wrote:I can't reproduce this either.

My localized setups all start with German language in maintenance mode.


Thank you. I've got it to work now. The reason seems to have been a workaround that I created to compensate the fact that the string that is put into the field "Product Name" is actually the value for the TITLE variable, which is used all over the place. The get a little more flexibility I created a new variable that really holds the product name and assigned it combined with the company name to TITLE, like this:

Code: Select all

Set Persistent Variable PRODUCTNAME to $TITLE$
Set Variable TITLE to $COMPANY$ $PRODUCTNAME$


It didn't matter if Persistent was set or not. Obviously, when uninstalling via Control Panel, the stored TITLE got used, PRODUCTNAME became $COMPANY$ $PRODUCTNAME$ and TITLE became $COMPANY$ $COMPANY$ $PRODUCTNAME$. This must have caused a mismatch.

Anyway, I think it would be great if, in a future version of InstallAware, a few more variables could be set via the fields that are there, and the names of the fields would fit to the names of the variables :)

best regards
--
pfennig