InstallerContactSite Map

Command Syntax

/SetPackageName   <file_path>
                  { [-buildname <build_name>] | [-configuration <configuration_name>] }
                  [-withjre]

This command will set the package name. To specify the path of the package containing the bundled jre just use the -withjre option.

Parameters:

  • [-buildname <build_name>]
  • The package name will be set for this build.
  • [-configuration <configuration_name>]
  • For WinCE project only. The package name will be set for this configuration.
  • [-withjre]
  • This switch is deprecated and exists only for backwards compatibility. You should use the -buildname switch to specify the build with JRE. Does not apply for WinCE projects.

Example:

AdvancedInstaller.com /edit MyProject.aip 
    /SetPackageName MyPackage.msi -buildname DefaultBuild

If the project uses an EXE bootstrapper, the /SetPackageName command can set its name. The command which sets the bootstrapper name looks like this:

AdvancedInstaller.com /edit MyProject.aip 
    /SetPackageName MyPackage.exe -buildname DefaultBuild

If the project is WinCE project the /SetPackageName command looks like this:

AdvancedInstaller.com /edit MyProject.aip 
    /SetPackageName MyPackage.cab -configuration Default