Is it possible to change the built-in installer strings dynamically? (i.e. via a Set Variable action) or is the only manner to change these is to specify a custom language file?

Thanks

asked 27 Jun '12, 12:58

jalexrod's gravatar image

jalexrod
38121215
accept rate: 0%


link

answered 27 Jun '12, 15:08

gt8967884's gravatar image

gt8967884
116747678
accept rate: 12%

This is my point precisely. It seems that the only way that this can be done is via a customized language file as described here http://installbuilder.bitrock.com/docs/installbuilder-userguide/ar01s12.html#built_in_strings. My question, however, was if this could be accomplished by a Set Variable pre-build action as follows:

<setInstallerVariable>
    <name>Installer.Welcome.Title</name>
    <value>Welcome to the ${product_version} Setup Wizard</value>
</setInstallerVariable>

I tried this and was not able to get the value to change.

(27 Jun '12, 17:50) jalexrod

It is not possible without creating a customized language file.

However, as mentioned in the other question, you can then insert a variable. So if your language file would contain:

Installer.Welcome.Title=${InstallerWelcomeTitle}

You could just use:

<setInstallerVariable>
  <name>InstallerWelcomeTitle</name>
  <value>Welcome to the ${product_version} Setup Wizard</value>
</setInstallerVariable>

And modify the welcome message on the fly.

(28 Jun '12, 04:32) wojciechka ♦♦

Thanks wojciechka! This will work for me. One question that I had with regards to the language file that is included in the InstallBuilder installation (i.e <installbuilder_location>/docs/userguide/eng.lng). Does InstallBuilder use this language file at build time?

(28 Jun '12, 14:58) jalexrod
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×19
×4

Asked: 27 Jun '12, 12:58

Seen: 1,528 times

Last updated: 28 Jun '12, 14:58