How to translate the "Cancel" button if uninstalling SW from ControlPanel
I Run into some difficulties when trying to translate the "Cancel" button if uninstalling from OS ControlPanel.
IDS_ERROR_20 "Veuillez patienter pendant que Windows configure [ProductName]" could be addressed
in resource file's string table, but could not find button of "Cancel"
See the attached "Uninstall.JPG" for details.
Maybe you guys could give some clues,
thanks!
Ian
If my schoolboy French is correct
...the uninstall is executing an MSI. If that's the case, the 'Cancel' button text (and, indeed, the text for all the controls) for the MSI's dialogs are in the 'Control' table. Create a transform to run against the MSI rather than directly editing the MSI.
Before you do that, though, you may find that the vendor already supllies a language transform. Look for files like 1033.MST, 2057.MST and so on. Most vendors name the MSTs using the locale ID for the country into whose language it is translated.
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
Launguage Transforms
Use a language transform to install your application. launguage transforms can be downloaded.
I dont know how IMPOSEBLE spells
Yes, I use transform, the
Yes, I use transform, the problem is I do not know how to translate the button of "Cancel", the others likes "Veuillez patienter pendant que Windows configure.." is translated as French already
Yes, I find the mst file
Yes, I find the mst file 1036.mst(French). As we know, language mst has its corresponding TransFile specified in WISELanguage table, for example "[WiselanguagesPath]\FR.RC". I opened the FR.RC file and can NOT find the button of "Cancel".
What O/S language are you testing on?
Some dialogs are embedded in the windows installer service.
If you are testing your French application on a US or UK build, then the windows installer generated dialogs will be in the language of the operating system.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Normal 0 false false false EN
I tested on French OS, and other applications like apple "quicktime" does NOT have this issue in the OS
Detailed steps:
Did you check the control table as VBScab suggested?
You can search the tables of your MSI when it is opened in Windows Installer Editor, by selecting the Setup Editor tab, tables, and then doing a search for "Cancel".
If you find any instances in the Control table, for example, you can change this to Annuler via a transform as a test to see if it is the right dialog.
You can also check the dialogs directly using dialog editor.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
My installation is a
My installation is a Single-file .EXE that contains multiple languages, all the transforms are packaged inside the .EXE along with the .MSI. It will automatically installs in the destination computer's language.
Yes, I tried as VBScab suggested. There are some “Concel” instances in "Setup Editor->Tables->Control", but all of them are belongs to Dialogs which used when Install or uninstall by running .EXE.
but if I uninstall it from Control Panel, Windows will use MSI file which cached in the %windir%\Installe to do the uninstallation, and the Dialog pasted above is seemingly not defined by WISE but msiexec.exe itself
I can find the string "Veuillez patienter pendant que Windows configure [ProductName]" is defined as IDS_ERROR_20 in Fr.rc file, and msiexec.exe tak use it. so my question is what the ID used for misexec.exe to translate to "Cancel" botton
Single File EXE
The EXE installer is just a stub program written in Wisescript which acts as a launcher for the MSI install, with the appropriate transform. So the dialgos applied during installation will presumably be applied from the language specific transform applied by the stub installer. Both the MSI and the transform are cached in c:\windows\installer, so should be available for uninstall.
From what I recall of multilingual installs, the control table entries are defined for each language in each of the transforms, so what I think you need to do is to open the MSI and the associated French transform in an editor such as ORCA, then look for any instances of CANCEL that are still in the control table. If you find any, use ORCA to replace these with Annuler, and then export a new transform which now contains your additional changes as well as the original language strings. Save the old transform as backup, rename the new transform to the old name and recompile, then test.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hey EdT, thanks for your
Hey EdT, thanks for your point, it's great, and I also beleived that issue should be resolved.... but the cruel truth is that it still does NOT work, following steps exucted

1. Open the MSI and the associated French transform(1036.mst)
2. Repalce all CANCEL that are still in the control table with Annuler.
3. Save as new test.msi contains with the changed French transform
4. Then test it at French OS
Try one other thing
Open the MSI and 1036.mst in ORCA, and save them as a new MSI which includes the transform changes. Then install and see if the uninstall still shows the "Cancel" text on the button.
One final thing - is there ANY chance at all that your windows installer service has been updated by an English version - perhaps embedded as part of an install of an English application? Check the properties of msiexec.exe in the c:\windows\system32 folder and verify what the language parameter reports.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Try one other thing ... >>I
Try one other thing ...
>>I tried already as I replied in the previous thread
>>3. Save as new test.msi contains with the changed French transform
Check the properties of msiexec.exe in the c:\windows\system32 folder and verify what the language parameter reports
>>I don't think that would be the rootcause as I tested other applications like "quicktime" which does NOT have this issue in the same French OS machine
>>But I just checked it, find that the msiexec.exe 's language is Language Neutral
I'm out of ideas
Expect maybe one more - try generating a simple new project and see if that also shows the same issue. Sometimes a project can develop weird faults (especially if quick compile is left enabled), so this is a quick way to check.
Anyone else care to suggest something I've missed?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Normal 0 false false false EN
Hey EdT,
Latest update, I just use WISE wizard to generate a simple new project, and find it also shows the same issue. I'm wandering if it is WISE issue/limitation itself...??
Thanks!
BTW, the wise what am I using
BTW, the wise what am I using is WISE6.2, patched with WfWILangPack.exe and WfWI_6_20_Hotfix1.msp
Can you zip your MSI
Can you zip your simple test MSI and attach it to your first posting in this thread, as I would like to take a look at it and maybe forward it to a Wise tech if it looks like a bug.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Attached as simple.zip
Attached as simple.zip
Translated Installs
We make translated installs and I have not always found the default translations to be complete.
Can you modify the language table at the WSI level?
I use the Languages section under Installation Expert to make sure that all the items are translated correctly. When looking at the French set of strings I do notice that one Cancel is untranslated.
There are a whole bunch of "[_WiseDialogFontDefault]Cancel" strings that are correctly translated but the sole "Cancel" is not
If you can modify the WSI, recompile the install and try that it may fix the problem
If you wish to use the tables then make sure you have changed the Languge to French (use the menu option Language), Sort the table by text, and find the entry "Cancel" in the Text Column (not [_WiseDialogTitleFontDefault]Cancel)
Hope this helps.
Hey, I could not file any
Hey, I could not file any sole "Cancel" under Installation both Expert and Setup editor -> tables
Ouch!
I spent a bit of time this morning trying to get to the bottom of this problem.
Looking at simple.msi, there is no actual dialog in there that matches the uninstall dialog with the Cancel button on it.
So my *guess* here is that the dialog is actually one of the windows installer dialogs. However, the windows installer dialogs may well be pulling the language strings from the MSI they are installing, and it looks like the Error and ActionText tables are involved in this.
Here is an extract from MSI.CHM:
Localizing the Error and ActionText Tables
The Platform SDK includes localized resource strings, localized Error tables, and localized ActionText tables for the languages listed in the following table. The LANGIDs marked with asterisks indicate that the resource strings are stored as the base language and so can be used with all dialects of that language.
You can import the localized Error and ActionText tables into your database by using Msidb.exe or MsiDatabaseImport.
So I'm beginning to think that this is a bug in the Wise language implementation which cingram also alludes to.
My thinking is that it would be worth comparing the ActionText table in your MSI with the ActionText table in the Quicktime MSI, to see whether the Quicktime MSI has more content in there.
Or if you are programmatically inclined, you could grab a copy of the Platform SDK from Microsoft.com and have a more detailed look at the localised resource strings for the 1036 code page, and compare with the default resource strings in the Wise product.
Alternatively, if you have a support agreement with Wise, throw this one at them and see what they suggest.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hey, Thanks for your
Hey, Thanks for your tremendous help, and I'll find out wether I can get support from WISE, will let you know if get any response
Would you like to reply?
Login or Register to post your comment.