Adding a File Extension to a Virtual Package
AdminStudio 2022 | 23.0 | Virtual Package Editor
Version:The procedure for adding a file extension varies, depending on the version of the App-V package.
Also note that for App-V 5 packages, the file extension that you enter must include a dot—for example, .txt. However, for App-V 4.x packages, the file extension that you enter should not include a dot—for example, txt.
The Virtual Package Editor enables you to add a file extension to your App-V application.
Adding a File Extension to an App-V 5 Package
To add a file extension to your App-V 5 package:
1. | In the View List under Application Data, click File Extensions. |
2. | Right-click the File Extensions explorer, and then click Add File Extension. |
The Virtual Package Editor adds the file extension to the File Extensions explorer.
Tip:To specify the file extension, do one of the following:
• | In the File Extensions explorer, click the name of the new file extension and then press F2. The Virtual Package Editor highlights the name of the file extension, enabling you to enter the file extension as needed. |
• | In the File Extensions explorer, right-click the name of the new file extension and then click Rename. The Virtual Package Editor highlights the name of the file extension, enabling you to enter the file extension as needed. |
• | Select the new file extension, and in the Settings window, change the value of the Extension setting. |
For App-V 5 packages, it is necessary to enter the dot—for example, enter .txt instead of txt.
Adding a File Extension to a Target in an App-V 4.x Package
You can associate a file extension with any target in an App-V 4.x package. To learn how to add a new target, see Adding a Target to a Virtual Package.
To add a file extension to a target in your App-V 4.x package:
1. | In the View List under Application Data, click Shortcuts. |
2. | In the Targets explorer, under the target that you want to contain the new file extension, right-click the File Extensions folder, and then click Add File Extension. |
The Virtual Package Editor adds the file extension to the Targets explorer.
Tip:To specify the file extension, do one of the following:
• | In the Targets explorer, click the name of the new file extension and then press F2. The Virtual Package Editor highlights the name of the file extension, enabling you to enter the file extension as needed. |
• | In the Targets explorer, right-click the name of the new file extension and then click Rename. The Virtual Package Editor highlights the name of the file extension, enabling you to enter the file extension as needed. |
• | Select the new file extension, and in the Settings window, change the value of the Extension setting. |
It is not necessary to enter the dot—for example, enter txt instead of .txt.
See Also