Section 7.1.1 in the User Guide (Configuring Parameters At Runtime) suggests you can set the text for a label parameter in a preShowPageAction, but it is not working for me - I get a blank page.

I simplified it to this, but it's still not working. Please advise!

<labelparameter> <name>summary</name> <title>Summary</title> <description></description> <explanation></explanation> <image></image> <preshowpageactionlist> <setinstallervariable> <name>text</name> <value>You are about to install ${project.fullName}.

Please review the below information:

Installation Type: ${installationType}

Installation Directory: ${installdir}

</value> </setinstallervariable> </preshowpageactionlist> </labelparameter>

asked 16 Mar '12, 16:28

bstoke's gravatar image

bstoke
16222224
accept rate: 0%


The code is creating a ${text} variable with the summary but is is not being used in the parameter. The below code should work:

<labelParameter>
    <name>summary</name>
    <title>Summary</title>
    <description>${text}</description>
    <explanation></explanation>
    <image></image>
    <preShowPageActionList>
        <setInstallerVariable>
            <name>text</name>
            <value>You are about to install ${project.fullName}.

Please review the below information:

Installation Type: ${installationType}

Installation Directory: ${installdir}

</value>
        </setInstallerVariable>
    </preShowPageActionList>
</labelParameter>
link

answered 19 Mar '12, 05:09

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:

×11
×10
×8
×2
×2

Asked: 16 Mar '12, 16:28

Seen: 1,566 times

Last updated: 19 Mar '12, 05:09