Is there any way to output all parameter/variable names used in a project to a text file or copy and paste the names. I see they can be listed on screen but I don't see any way to copy or save the list. Thanks.

asked 04 Oct '12, 13:04

HJM's gravatar image

accept rate: 0%

InstallBuilder does not provide tools to list all parameter and variable names in a project. However, as project file is an XML, it should be possible to create a script that uses DOM to retrieve all parameter tags and retrieves their names.

For example a sample XPath query //stringParameter/name allows querying for names of all stringParameters. Similarly, it is possible to query for all parameter types this way.

As for querying all variables, similar thing can be done by querying for actions that set variables - such as <setInstallerVariable> or <setInstallerVariableFromRegEx>.


answered 05 Oct '12, 06:13

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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



Asked: 04 Oct '12, 13:04

Seen: 857 times

Last updated: 05 Oct '12, 06:13