Capture (Deprecated)

<< Click to Display Table of Contents >>

RayPack > 7.3 u6 > User Guide > Command Line Tools > Command Line Switches 

Capture (Deprecated)

 

warning1

WARNING:

This switch is deprecated, and will no longer be supported by the RayPack.exe provided by future RayPack releases. Use Repackage switch instead.

 

Description

Calling RayPack with this switch initiates a PackRecorder session, launching the PackRecorder Wizard in the parametrized mode.

Parameters

Parameter

Required

Description

-App <path>

 
YES
 

Fully qualified path to the application that is about to be captured. This can be either a local or an UNC path.

-AppParams <params>

 
YES
 

Parameters to pass to an application that is about to be captured. RayPack does not evaluate these parameters, but simply passes them as they are when the application installation is triggered during the capture procedure.

Please make sure to use the right format for quotes within the general parameter value as shown in the sample below.

-Profile <path>

 
YES
 

This is the fully qualified path and name of the configuration profile.

-ProjectName <name>

 
 
YES
 

A name of the RCP project.

-WizardMode <mode>

 
YES
 

When a capture procedure is triggered, RayPack needs to be informed about the required wizard mode. This parameter contains the actual name of the mode that has to be applied. Two values are supported: expert or standard.

-Silent

 
NO
 

When a switch is used with this trigger parameter, the initiated RayPack method is invoked without a visible user interface representation. This is especially useful when capture procedures are triggered from RayFlow, and the results of the procedure will directly be reused for subsequent activities.

Example

This command line will start RayPack, and initiate the PackRecorder Wizard in the standard mode. The snapshots made during the wizard run will be configured according to the specified profile.

The installer used for the wizard is defined within the -App parameter.

 

RayPack.exe Capture 

–Profile "\\raypackshare\raynet.rpprofile"

-ProjectName "7-Zip_6.5_MUL_1.0.0"

-App "\\rayflowshare\sources\7-Zip_6.5_MUL_1.0.0\7zip65.exe"

-AppParams ""

-WizardMode "standard"