Announcement

Collapse
No announcement yet.

Bootstrapper messages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bootstrapper messages

    Most bootstrappers will use the global functions, which come from a LUA file installed with the product. That LUA uses a number of messages that come from something else installed with the product. Where are the messages defined? Is there a way to replace some of the messages without editing a file that will be replaced if you upgrade to a new version?

    Thanks,
    John

  • #2
    You did not give an example of any of these messages you are referring to, but I assume that you mean the default strings defined in MSI Factory\Bootstrap\Data\Languages.

    You can edit these files, but as you already mentioned, in case of a reinstall or update the default file would be deployed, overwriting your edits.

    Sadly, MSI Factory's bootstrapper does not have the SetLocalizedString() action which can be found in Setup Factory, however, you can use Application.SetTitle(), Application.SetMessage(), and Application.SetStatusText() to set your custom texts, directly in the bootstrapper script. In this case, you probably want to use Application.EnableTextChange() to disable the automatic display of default texts.

    Ulrich

    Comment

    Working...
    X