Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 8

Thread: IA variables in HTML panel

  1. #1
    Join Date
    Aug 2007
    Posts
    42

    IA variables in HTML panel

    Hi all,
    I'd like to create a HTML panel similar to Pre-Installation Summary panel, so in my HTML file I write:

    Product Name: $PRODUCT_NAME$

    but the variable isn't resolved at running time and the output is the same.

    Is there a way to resolve IA variables in these panels?

    Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Question

    If there is no Substitute IA variables option on a panel I'm afraid that, well, there is no built-in variable replacement. What exactly do you mean by creating a panel, is that a custom panel?

  3. #3
    Join Date
    Aug 2007
    Posts
    42
    No,
    in the pre-install phase I add an action (Panel: Display HTML), I create an index.html file with the text mentioned above and I put it into an archive as suggested.

    The only option present is "Read Form Elements as InstallAnywhere Variables" but I didn't understand how to use it.

    Thanks for your reply

  4. #4
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Question

    Yeah, indeed no mention of that option checked by default in the doc.

    "The Display HTML panel allows developers to display HTML from an archived file or a specific URL on a panel during the installation. Use the General Settings tab to assign the HTML panel a title and select the source of the HTML. See Panel Action Settings for more information about settings for images, labels, and help content on this panel.

    Tip: A sample custom HTML panel is available in
    <InstallAnywhere>/Custom Code/Samples/HTMLPanelSample/"

    Maybe the HTML Panel Sample to give you a tip?

  5. #5
    Join Date
    Aug 2007
    Posts
    42
    Unfortunately the example in Samples directory doesn't show how to display a IA variable in a HTML panel, it just shows an input form

    I'll try to understand the meaning of that option...

    Thanks

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •