emrey
Posts: 12
Joined: Wed Nov 28, 2012 9:46 am

localization problem at uninstalling

hi ,
i have a problem with AI.My project language is Turkish.My windows system language is English.
My AI project can install Turkish.but at uninstalling stage language being semi Turkish semi English.I think languages are conflict when the windows installer is run(pls check attachments).
I want to use Turkish for all install-maintenance-uninstall stages.Thank for your help.

I am AI 9.7 Enterprise user.
Attachments
screenshot1
screenshot1
uninstall3.jpg (81.05 KiB) Viewed 15028 times
screenshot2
screenshot2
uninstall2.jpg (88.02 KiB) Viewed 15028 times
screenshot3
screenshot3
uninstall.jpg (87.77 KiB) Viewed 15028 times
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: localization problem at uninstalling

Hi,

The dialog from "uninstall.jpg" is an OS dialog, not part of the package created with Advanced Installer. Since you have an English OS the message is normal to appear in this language.

If you want to avoid this dialog you can go to Product Details page and tick the option "Disable Remove". This should remove the option to directly uninstall the package for the user, instead it will have to select the option to "Change" the configuration and from there it can select a complete uninstall. In this scenario the texts from our setup package should be used.

The behavior is similar to manually launching the setup one more time, after you completely installed it.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: localization problem at uninstalling

Bogdan wrote:If you want to avoid this dialog you can go to Product Details page and tick the option "Disable Remove". This should remove the option to directly uninstall the package for the user, instead it will have to select the option to "Change" the configuration and from there it can select a complete uninstall. In this scenario the texts from our setup package should be used.

The behavior is similar to manually launching the setup one more time, after you completely installed it.
I have tried this, but with strange GUI results in the Black Surface theme.

Launching the setup after complete install gives no problems, but when I hit "Change" in Control Panel > Uninstall Programs the graphical interface of the Surface theme has become cluttered and almost not readable (OS language is Dutch in Windows 8 64 bit system).

Look at the screen capture below:
Change.jpg
Change.jpg (46.57 KiB) Viewed 15014 times
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: localization problem at uninstalling

You need to go to Themes page, Settings tab and set the option to "Always" use Enhanced UI. This should make the UI to correctly appear when you hit change in Control Panel.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: localization problem at uninstalling

OK, I made the change and set the option to "Always" use Enhanced UI.

The UI appears now, but it's not the correct Maintenance dialog, but the the dialog to do the whole setup from the beginning and in English instead of Dutch (system language).

Notice that I have only kept the "Change" possibility in Control Panel > Uninstall programs and the options "Remove" and "Repair" are disabled in "Product details".

Below you see the dialog after hitting "Change" in "Uninstall programs":
Setup.jpg
Setup.jpg (47.21 KiB) Viewed 14999 times
Below the dialog when I launch the setup one more time after complete install:
Setup2.jpg
Setup2.jpg (50.57 KiB) Viewed 14999 times
What's going wrong? (OS = Windows 8 64 bit).
emrey
Posts: 12
Joined: Wed Nov 28, 2012 9:46 am

Re: localization problem at uninstalling

Hi Bogdan,
Thanks for your reply..
I have a question about uninstall2.jpg.I think this dialog also windows installers dialog as same as uninstall.jpg .But it is Turkish(my os is English)
Best regards,
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: localization problem at uninstalling

Hi,
What's going wrong? (OS = Windows 8 64 bit).
Please make sure the option "Override Windows Installer programs list entry" is not checked in Product Details page. This can lead to conflicts that have this behavior as result.
I have a question about uninstall2.jpg.I think this dialog also windows installers dialog as same as uninstall.jpg .But it is Turkish(my os is English)
Some of the messages used by the OS dialogs are available in your project. The OS knows to load them. However, the dialog asking if you are sure about removing the application or not appears event before the OS loads the setup for it, so it cannot read any texts from your package yet.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: localization problem at uninstalling

Bogdan wrote:Please make sure the option "Override Windows Installer programs list entry" is not checked in Product Details page. This can lead to conflicts that have this behavior as result.
Thank you, Bogdan, but unfortunately it's still going wrong.

With the following settings, I get the following cluttered dialog (as already mentioned in a previous post)...

Settings:

- Product details:
- Disable Modify: NOT checked
- Disable Repair & disable Remove: checked
- Override Windows Installer programs list entry: NOT checked.

- Themes (BlackSurface) settings:
- Use Enhanced User Interface: "Always" enabled
- Use custom frame...: NOT checked

When I hit "Modify" in Control Panel > Uninstall programs, I get the following cluttered dialog:
Modify.jpg
Modify.jpg (53.62 KiB) Viewed 14937 times
What can I do more? Can I send you my project?

In fact to have the dialog interface not cluttered, "Use Enhanced User Interface: Always" must be enabled AND also "Override Windows Installer programs list entry" MUST be checked, but then I don't get the correct dialog, i.e. "Modify, Repair, Remove", but the dialog to install the software from the beginning.

Maybe it's a bug?
emrey
Posts: 12
Joined: Wed Nov 28, 2012 9:46 am

Re: localization problem at uninstalling

Ok Bogdan,
I understand.I tried Deutsch Windows.When try to uninstall first dialog is Deutsch,after the click "JA"(yes) dialogs being Turkish.
I have a one question.

I try to install.My installer doesnt show "exit dialog page",directly open our product .OS language is Deutsch,installer language is Turkish.
Mini dialog pages comes after the progress bar.jpg and this dialog language is English.Why this dialog page(deleting.jpg) English?? I dont want to any English dialogs,can you help me ? Sorry for my English
Attachments
deleting.jpg
deleting.jpg (61.81 KiB) Viewed 14923 times
progress bar.jpg
progress bar.jpg (68.98 KiB) Viewed 14923 times
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: localization problem at uninstalling

Hi:

@: redseujac : Sorry, my mistake the option "Override Windows Installer programs list entry" should be enabled, as you said. The only case I reproduce this is for a multilingual package, which I assume you have too. The solution in this case is to use the same product code for each language. You can set that product code from Product Details page, Product Ids tab. After this rebuild and test the package.

@: emrey : The dialog from "deleting.jpg" was recently included by us so the problem is that strings for all languages were not yet included for it. We rely on updating our texts with the help of our users so a delay appears.

This dialog unfortunately is not optional so you cannot choose for it to not be displayed. Our setup displays it only if it detects that deleting those files might take a longer time period and the user should be informed about that, this way avoiding situations when users try to launch the setup again immediately after it was closed.

You could change the texts by modifying the stubs we provide with Advanced Installer, see our install folder from your machine, using a resource editor.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: localization problem at uninstalling

Bogdan wrote: @: redseujac : Sorry, my mistake the option "Override Windows Installer programs list entry" should be enabled, as you said. The only case I reproduce this is for a multilingual package, which I assume you have too. The solution in this case is to use the same product code for each language. You can set that product code from Product Details page, Product Ids tab. After this rebuild and test the package.
Thank you Bogdan.

I indeed have a multilingual package (English, French, Dutch).

I followed your suggestion and used the same product code for each language. Now it's working, but I now have two options in "Uninstall programs" of Control Panel, i.e. "Remove" and "Modify", though "Disable Remove" is checked in "Product details".

Of course "Remove" should NOT be showed, because otherwise it does not make sense to do all the previous mentioned work: the purpose was to have only "Modify" (or "Change") showing in "Add/Remove Programs".

How to solve that new problem?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: localization problem at uninstalling

Hello,

We have tested your scenario and, indeed this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention. Until then, as a workaround, you can proceed as following:
- Go to "Product Details" page and just unchceck and then check again the "Disable Remove" option.

or

- Go to "Table Editor" page and add the following row in "Registry" table:
  • Registry: NoRemove
    Root: -1
    Key: Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]
    Name: NoRemove
    Value: #1
    Component: AI_CustomARPName
Also, please keep in mind that our "Table Editor" feature is available only in an "Enterprise" or higher project type.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: localization problem at uninstalling

Thank you Daniel.

Adding the suggested data to "Registry" in the Table Editor finally did the trick: it's now working properly :D

Notice that previously (before reading your answer) I already tried with unchecking and checking again the "Disable Remove" option in "Product Details", but that did not work.

Thanks again.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: localization problem at uninstalling

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

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
marmoc
Posts: 8
Joined: Mon Aug 26, 2013 2:47 pm

Re: localization problem at uninstalling

Hallo Daniel,

i have the same Problem. I edit the Product-Code of the englisch language and it solved the Problem.

But an Message appears that Patches are disabled. Can i enable patches again with the same Product-Code?

Thank you for a Reply.

All the Beste
Markus

Return to “Common Problems”