NewRun

<< Click to Display Table of Contents >>

PackBench > 7.3 u1 > User Guide > Command Line Tools > Silent Command Line Switches > PbCmd.exe 

NewRun

Description

This switch instructs PackBench to create a new run from a local file or folder.

Parameters

Parameter

Required

Description

-PkgName <name>

 
YES
 

Package name

-PkgVendor <vendor>

 
YES
 

Application vendor

-PkgAppName <name>

 
YES
 

Application name

-Description <description>

 
YES
 

Description of the package

-PkgDir <path>

 
YES
 

Path to package directory

-Bitness <platform>

NO

 
Package platform. Neutral by default. The following values are supported: x64, x84, Neutral
 

-PkgVersion <version>

YES

 
Application version
 

-PkgLanguage <language>

YES

 
Application language
 

-Project <name>

YES

 
Name of the project
 

-Workflow <name>

YES

 
Name of the workflow
 

-PkgFileName <path>

NO

 
Path to sources. This can be either a full path to a source folder, or a full path to a source file. If omitted, the sources will not be assigned to the run.
 

-SourcesEntryPoint <path>

NO

 
Sources entry point. This parameter can be used only if the path to the sources points to a directory. This has to be a full path to a file present in the source folder.
 

-CopySources

NO

 
Determines whether the sources should be copied to run folder. This parameter can be used only if the path to the sources has been specified.
 

-Set <name>=<value>

NO

 
Sets a custom variable to a given value. This parameter can be specified many times.
 

-RayFlowTaskId

 
NO
 

 

-RayFlowUser

 
NO*
 

 
The account name used to make a connection with RayFlow.
This parameter is required if -RayFlowTaskId is specified.
 

-RayFlowPassword

 
NO*
 

 
The matching password (open-text) for an account used to make a connection with RayFlow.
This parameter is required if -RayFlowTaskId is specified.
 

-RayFlowFileName

 
NO
 

Optional name of the file uploaded to RayFlow to enable source copying.

-showResult

 
NO
 

Determines whether after the creation PackBench should be started to show the newly created run.

Example

PbCmd.exe NewRun 

-PkgName "0001_Package_1.0.0_ENU"
-PkgVendor Raynet
-PkgAppName MyPackage
-Description "This is a sample package"
-PkgDir \\raynet.local\sources\package_0001
-Bitness x64

-PkgVersion 1.0.0
-PkgLanguage English
-Project "Default project"

-Workflow "Repackage for Windows Installer"

-PkgFileName \\raynet.local\sources\package_0001\setup.exe

-CopySources
-Set CustomRevision=1.2.0

-Set PackagerName=MO