Build command line prooblem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Yanivi
Posts: 1
Joined: Tue Apr 05, 2011 1:06 pm

Build command line prooblem

Hi,

I am trying to run the build process from command line:

C:\"Program Files (x86)"\Caphyon\"Advanced Installer 8.1.1"\bin\x86\advancedinstaller.com /build C:\Users\Yaniv\Documents\"Advanced Installer"\Projects\ConfigurationInstaller\setup.aip

I get the following output:

Advanced Installer version 8.1.1

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>

Supported Commands:
/SetVersion
/SetPackageName
/AddFile
/RegisterFile
/DelFile
/AddFolder
/DelFolder
/NewShortcut
/DelShortcut
/NewSync
/ResetSync
/SetProperty
/DelProperty
/GetProperty
/SetProductCode
/NewReg
/AddReg
/DelReg
/AddFileSearch
/DelFileSearch
/AddDrLocator
/DelDrLocator
/DelSearch
/AddRegLocator
/DelRegLocator
/AddCompLocator
/DelCompLocator
/AddIniLocator
/DelIniLocator
/SetBitmap
/DuplicateProject
/SetBuildJreOnly
/SetUpdatesUrl
/ImportRegFile
/NewPrerequisite
/DelPrerequisite
/NewEnvironment
/DelEnvironment
/SetPackageType
/SetCurrentFeature
/NewFeature
/AddLanguage
/DelLanguage
/GenRegKeys
/AddMsm
/DelMsm
/SetMsmName
/SetMsmId
/SetMsmGuid
/NewMspUpgraded
/NewMspTarget
/DelMspFamily
/DelMspUpgraded
/DelMspTarget
/NewPathVariable
/DelPathVariable

any ideas? note that i am using the free version

Thanks
Yaniv
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Build command line prooblem

Hi Yaniv and welcome to the Advanced Installer Forums,

The command line should be something like:

Code: Select all

"C:\Program Files (x86)\Caphyon\Advanced Installer 8.1.1\bin\x86\AdvancedInstaller.com" /build "C:\Users\Yaniv\Documents\Advanced Installer\Projects\ConfigurationInstaller\setup.aip"
For more information about the Advanced Installer command line options please follow this article from our user guide.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”