The solution is to add a custom action for each language, of course containing the translated error message.I have 7 build languages selected.
There is an Custom action "UserPassWord_Check" used as DoAction when next button is pressed.
This Custom action has an "Script text" of MsgBox "You must enter an User Name and a Password", witch I like to translate.
I am not sure if this is a correct Java Script but I'm sure it will work as a VBScript. Can you please change the "Source Type" of the custom action from "Java Script" to "Visual Basic Script".I use java script with text MsgBox"You must enter a User Name and a Password"
Code: Select all
MsgBox Session.Property("MY_PROPERTY")I don't recommend using this custom action because it will automatically finish the installation, as its name says it represents and error message, after the user presses OKIf I use ErrorMessage
FOLLOW US
Get the latest news in Application Packaging