Specifying Global Default Virtual Conversion Settings

AdminStudio 2022 R2 SP1 | 24.01 | Automated Application Converter

In addition to the settings that can be specified on the Project Options Dialog Box, a default value can be specified for any virtual conversion setting that would normally be stored in the ISVirtualPackage table by editing the settings.xml file. The global value is used if no project-specific value is found.

To configure these global default values, locate the settings.xml file installed with InstallShield Editor and AdminStudio Repackager, and then find the <Properties> subelement of the <Virtualization> element:

<Virtualization>

    <Properties>

        <Property Name="AppVRuntimeDrive" Value="G:" />

        <Property Name="AppVServerURLPath" Value="%PackageName%_v%PackageVersion%" />

    </Properties>

</Virtualization>

To define a default value for any of the properties in the ISVirtualPackage table, create a <Property> in the <Properties> element and set a value. In the examples above, the AppVRunTimeDrive property is set to a default value of G:, and the AppVServerURLPath property is set to a default value of %PackageName%_v%PackageVersion%.

The following three replaceable parameters are only valid for the AppVServerURLPath property:

%PackageName%—Name of the virtual package (which normally corresponds to the MSI ProductName).
%PackageVersion%—Version number. (Each new upgrade increments this number.)
%PackageVersionedName%—This is the %PackageName% for version one packages, and %PackageName%_v%PackageVersion% otherwise.