Problem
When using the search-and-replace feature in an InstallAnywhere project, searches that include leading or trailing dollar signs do not locate matching entries in the Advertise Variables section.
This article describes how to reproduce the behavior and provides a verified workaround to update variable references.
- Create a new project In InstallAnywhere.
- Select Project > Variables > Advertise Variables > Pre-Install and enter:
- Variable Name =
$INSTALL_VC14_STATUS$ - Default Value = DEFAULT
- Variable Name =
- Select Sequence > Pre-Install and add a Set InstallAnywhere Variable action as the first action in the Pre-Install Sequence.
- Variable Name =
$INSTALL_VC14_STATUS$ - Set Value To = SUCCESS
- Variable Name =
- Add the following text to the Introduction Panel:
INSTALL_VC14_STATUS=$INSTALL_VC14_STATUS$ - Select File > Search and do the following:
- Select Other Elements so all of the options in the top section are selected.
- Select the Select All option.
- Select the Variable Search option.
- Enter Text =
$INSTALL_VC14_STATUS$.
- The search finds two references, one for the Set IA Variable action and one for the text on the Introduction Panel reference.
- In the search dialog, delete the dollar signs at the beginning and end of the string so it reads:
INSTALL_VC14_STATUS - Search again. The search returns four matches.
- Click Replace All and enter:
INSTALL_VC14_X64_STATUS - All four references are replaced.
After performing the search and replace using the variable name without dollar signs, Advertise Variables entries are found and updated. The workaround enables updates to variable references until the search behavior is changed.
Related Articles
Using the Dollar Sign Symbol in InstallAnywhere 4Number of Views Variable SETUPEXEDIR Returns Blank When Running a Patch Update 8Number of Views HOTFIX: 64 bit System Variables Resolves to 32 bit Path During an Upgrade 4Number of Views Enumerating InstallAnywhere Variables at Run Time Using Custom Code Action 7Number of Views How to set License Search path using an Environment Variable for individual Server and Triad Server? 26Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago