Changing the locale of OK button in a MessageBox in InstallShield -


We have a basic MSI installer project. On a fixed communication, we verify the data provided by the user and Then use the message message () to throw the appropriate message.

Now when the message box arrives, we want this message and an OK button.

We have a problem wrt locale of this OK button when tested on English, French window 2008 machine, then we can get the OK button, where OK is in English when we are on a Spanish window machine If you use the same installer, the OK button comes with OK in Spanish.

I did not know what is the reason for this behavior

Any help / help would be very helpful. It is not clear from your question that you call the API, and in exactly the exact scenario. Note that for almost everyone, displaying OK buttons in the machine's "native" language will not be confusing, so problems arise during the QA process only.

MessageBox API windows are localized for the same space as windows, on the contrary, to take a language parameter, although I noticed, though, a Commenter said that it does not always change the default localization (I would guess that the requested language was not available on commenter's machine.)

If you are displaying a message from within the MSI DLL custom verb, Then it's MessageBox < / Code> As the MsiProcessMessage parents will do their windows correctly I suspect that you are using a content event, which is prohibited from a silent installation, but MsiProcessMessage will not display your message during silent installation without requiring any additional work; If you have to use MessageBox in an executed sequence operation, then you have to manually check UILevel . Although it is not clear from the document that buttons of the MsiProcessMessage message box will be localized.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -