Customizing Windows Search Paths
InstallAnywhere 2022 R2
InstallAnywhere lets you customize search path settings for installers that target Windows-based systems.
Adding a Search Path for Windows-Based Systems
To add a search path for Windows-based systems:
|
1.
|
In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens. |
|
2.
|
Click the Search Panel Settings tab. |
|
3.
|
Click the Windows subtab. |
|
4.
|
Click the Search Paths subtab. |
|
5.
|
Do one of the following: |
|
•
|
To specify an absolute path for the search location: |
|
a.
|
Click the Add button. InstallAnywhere adds a new row to the search paths list. |
|
b.
|
Click the new row and then enter the absolute path to the directory that you want the installer to search for Java executable files. |
Note that you should not use InstallAnywhere variables or magic folders in the path statement.
By default, new search paths search only the top level of the directory that you specify. No subdirectories are searched.
|
•
|
To specify a Windows registry search, click the Add Windows Registry button. InstallAnywhere adds a new Windows Registry Search row to the search paths list. |
The Windows registry search examines standard keys in the Windows registry. It is not possible to customize this type of search.
|
•
|
To specify a PATH environment variable search, click the Add Path Environment Variable button. InstallAnywhere adds a new Path Environment Variable Search row to the search paths list. |
The PATH environment variable search scans the top-level of any directories in the PATH environment variable.
Removing a Search Path from Windows Systems
To remove a search path from Windows systems:
|
1.
|
In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens. |
|
2.
|
Click the Search Panel Settings tab. |
|
3.
|
Click the Windows subtab. |
|
4.
|
Click the Search Paths subtab. |
|
5.
|
Click the search row that you want to remove, and then click the Remove button. |
Editing an Existing Windows Search Path
You can edit a search path that uses an absolute path.
To edit an existing Windows search path:
|
1.
|
In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens. |
|
2.
|
Click the Search Panel Settings tab. |
|
3.
|
Click the Windows subtab. |
|
4.
|
Click the Search Paths subtab. |
|
5.
|
Click the search row that you want to edit. This activates the entry and places the cursor at the end of the path statement. |
|
6.
|
Enter your path changes. |
Changing the Directory Depth for a Windows Search Path
To change the directory depth for a Windows search path:
|
1.
|
In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens. |
|
2.
|
Click the Search Panel Settings tab. |
|
3.
|
Click the Windows subtab. |
|
4.
|
Click the Search Paths subtab. |
|
5.
|
In the search paths list, double-click the level that you want to edit, and then select one of the following options: |
|
•
|
Top Level—Only searches within the immediate directory. No subdirectories. |
|
•
|
First Level—Searches the immediate directory and its first-level subdirectories. |
|
•
|
All Levels—Searches the immediate directory and all subdirectories. |
Searching all levels results in a very thorough search but can significantly increase the time that it takes to perform the search. However, the installer stops searching in any directory as soon as it finds a VM in that directory.
Expanded Search Functionality for String Values
Now, InstallAnywhere supports expand search functionality for String Value. If the partial search is unchecked, the string search will search for the whole text. If the partial search is checked, then the parts of strings & variables will also be searched.
The “Variable Search” which is a new checkbox has been added in InstallAnywhere.
|
•
|
If the Variable Search check box is checked, it will enclose with a dollar sign symbol ($) before and after the variable to search for a variable. |
|
•
|
If the Variable Search check box is unchecked, it will not be enclosed with a dollar sign symbol ($) before and after the text to search for a string and variable. |
See Also
Customizing the VM Search Paths and Patterns
Windows
Java Virtual Machines