I'm trying to load my path variables file from command line.
I use following command:
Code: Select all
"C:\Program Files (x86)\Caphyon\Advanced Installer 8.5\bin\x86\AdvancedInstaller.com" /loadpathvars .\PathVariables.xml
Code: Select all
Your 'simple' Advanced Installer project cannot be used to execute command 'LoadPathVariables'. One of the following types of projects is required 'java | professional | enterprise | win-ce | vsix | architect'.
Advanced Installer version 8.5
Usage:
AdvancedInstaller.com <path_to_project_file>
AdvancedInstaller.com /help [<command>] | /? [<command>]
AdvancedInstaller.com /build <path_to_project_file> { [-buildslist <builds_list>] | [-configurationslist <configurations_list>] } [-force]
AdvancedInstaller.com /rebuild <path_to_project_file> { [-buildslist <builds_list>] | [-configurationslist <configurations_list>] }
AdvancedInstaller.com /edit <path_to_project_file> <command>
AdvancedInstaller.com /execute <path_to_project_file> <command_file_path> [-nofail]
AdvancedInstaller.com /loadpathvars <path_variables_file_path>
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PathVariables Application="Advanced Installer" Version="8.5">
<Var Name="PLATFORM_LAYOUT" Path="%PLATFORM_LAYOUT_DIR%" Type="2" ContentType="2"/>
<Var Name="SCADA_LAYOUT" Path="%SCADA_LAYOUT_DIR%" Type="2" ContentType="2"/>
</PathVariables>
I have registered version of Advanced Installer.
What the problem is with this command? How can I load path variables from command line?
FOLLOW US
Get the latest news in Application Packaging