This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Build Time Variables Info?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2011
12:36 PM
Build Time Variables Info?
Hi,
Does anyone know how to use Build Time Variables? I can't find any doc or help on this new functionality.
-Jeff
Does anyone know how to use Build Time Variables? I can't find any doc or help on this new functionality.
-Jeff
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2011
07:58 AM
Hi Jeff Morse,
Please find the online article at below mentioned link:
http://kb.flexerasoftware.com/doc/DocumentRepository/Installation/InstallAnywhere/InstallAnywhere%202011/01_Public/Product_Info/IA2011SP2ReleaseNotes.pdf
Please feel free to drop in a query if any
Hope this helps!
Thanks,
Madhav Pai
InstallAnywhere Engineering
Flexera Software
Please find the online article at below mentioned link:
http://kb.flexerasoftware.com/doc/DocumentRepository/Installation/InstallAnywhere/InstallAnywhere%202011/01_Public/Product_Info/IA2011SP2ReleaseNotes.pdf
Please feel free to drop in a query if any
Hope this helps!
Thanks,
Madhav Pai
InstallAnywhere Engineering
Flexera Software
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2011
10:46 AM
Thanks Madhav Pai. That helps me to understand how to set build time variables. But why do I want to do that? Can you give me an example of using build time variables?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2011
07:46 AM
Hi Jeff,
Below is my understanding:
"Build Time Variables" are the variables that have their values set at build time which means there can be few scenarios where you would like to change the values of some strings (can be associated with any action or panel or file-name or any file/directory/registry path) every time you are going to build the project.
For example:
1. You need to change the title of the Introduction panel every time you build the project.
2. You will define the Title as @custom_title_variable@
3. Then you will have this variable declare in the properties file as:
custom_title_variable= Nov_15_2011
Or
custom_title_variable=Introduction_version_2.0.1
4. Now you will build you project from command line as described in release notes.
5. You can also have a default value of @custom_title_variable@ set in Project --> Variables --> Build_Time_Variables property.
So next time you need to build the project and you need to include the new set of the values then you can change the properties file and build the project without even opening the project. Say:
custom_title_variable= Nov_21_2011
Or
custom_title_variable=Introduction_version_4.1.1
You can implement the same functionality in all the actions or panels where you can edit the strings.
I am attaching the project and properties files for your reference. I have implemented the same on few action and panels.
I believe the above information will be helpful for you.
--Mac
Below is my understanding:
"Build Time Variables" are the variables that have their values set at build time which means there can be few scenarios where you would like to change the values of some strings (can be associated with any action or panel or file-name or any file/directory/registry path) every time you are going to build the project.
For example:
1. You need to change the title of the Introduction panel every time you build the project.
2. You will define the Title as @custom_title_variable@
3. Then you will have this variable declare in the properties file as:
custom_title_variable= Nov_15_2011
Or
custom_title_variable=Introduction_version_2.0.1
4. Now you will build you project from command line as described in release notes.
5. You can also have a default value of @custom_title_variable@ set in Project --> Variables --> Build_Time_Variables property.
So next time you need to build the project and you need to include the new set of the values then you can change the properties file and build the project without even opening the project. Say:
custom_title_variable= Nov_21_2011
Or
custom_title_variable=Introduction_version_4.1.1
You can implement the same functionality in all the actions or panels where you can edit the strings.
I am attaching the project and properties files for your reference. I have implemented the same on few action and panels.
I believe the above information will be helpful for you.
--Mac
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2011
07:58 AM
Thanks very much Mac. This explanation and sample helps a lot.
-Jeff
-Jeff