Summary
This article discusses how to associate a Rule Expression to a File extension and describes how to automatically associate the Rule Expression to a file whenever a file with that File Extension is added to the project.
Synopsis
This article outlines the steps necessary to associate a Rule Expression to a File Extension. When a Rule Expression is associated with a File Extension, all the files with that extension in the Project will have the Rule Expression applied.
Discussion
Here are the steps for applying Rule Expressions to File Extension:
- Navigate to InstallAnywhere Designer | Sequence | Install | Add File and add few .txt Files .
- Navigate to Project | Manage Expressions and Click New Expression
- Add Rules to the Expression by Clicking ‘Add Rule’
- In the ‘Associate Expression to File Extensions’ section, Click Add . ‘Choose an Expression’ dialog appears.
- Select the Expression that you want to associate to a file extension and then Click Load.
- Double Click the File Extension section in the same row where the expression has been added, and enter the name of the file extension, .txt for text files (or .sh for Linux shell executables files ).
- Click on Apply button. ‘Apply Expression’ dialog will be shown. Click ‘Yes’ to apply the expression. The files in the project that contain the file extension you have specified will be updated to have the rule expression applied to them.
- ‘Apply automatically when new files are added’ Check box can be Enabled to automatically associate the Rule Expression to a file whenever a file with that file extension is added to the project on the Sequence page.
- Navigate to Sequence | Install . All the text files added to be deployed to the target system will be marked with the Rule Expression applied.
Note : To disassociate an associated Rule expression from file extension, in ‘Associate Expression to File Extension’ section, disable “Apply” checkbox in the expression rows and Apply.
Additional Information
This Feature is available in InstallAnywhere 2017 & later versions.
Related Articles
InstalledSoftwareAlerts writer step may fail with error: "Arithmetic overflow error converting expression to data type int." 1Number of Views Compliance import may fails if an invalid regular expression is specified in a license points rule set 6Number of Views Associating a File Extension With an Icon 4Number of Views What file and installer evidence is gathered by the FlexNet Inventory Agent? 179Number of Views Changes to file evidence "Existence rule" (aka "Recognition rule") rules made in the web UI to rules in the published ARL … 7Number 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