We need to tell the user whether this is an upgrade or new install as part of the welcome page.

How would we do that? Can we set the value of a string programmatically as part of an action?

eg Installer.Welcome.Text = Installer.Welcome.Text + "\nThis is an Upgrade"

thanks.

asked 16 Mar '12, 11:01

bstoke's gravatar image

bstoke
16222224
accept rate: 0%


You could modify the built-in language string as:

Installer.Welcome.Text=Welcome to the %1$s Setup Wizard.${additional_details}

And then configure the variable ${additional_details} in the <initializationActionList>

<initializationActionList>
    <setInstallerVariable>
        <name>additional_details</name>
        <value></value>
    </setInstallerVariable>
    <setInstallerVariable>
        <name>additional_details</name>
        <value>&amp;#xA;This is an Upgrade</value>
        <ruleList>
            <isTrue>
                <value>${isUpgrade}</value>
            </isTrue>
        </ruleList>
    </setInstallerVariable>
</initializationActionList>
link

answered 16 Mar '12, 12:17

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

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:

×22
×10

Asked: 16 Mar '12, 11:01

Seen: 1,051 times

Last updated: 16 Mar '12, 12:17