PackTailor

<< Click to Display Table of Contents >>

RayPack > 8.0 > User Guide > Command Line Tools > Command Line Switches 

PackTailor

Description

This switch signifies that RayPack is to start and to open the PackTailor Wizard for transform generation.

All parameters are used to fill in data that is requested by one of the PackTailor Wizard steps. If none are provided, all wizard steps have to be answered manually.

Parameters

Parameter

Required

Description

-MSI <path>

 
NO
 

Fully qualified path to the MSI that is about to be tailored. It can be either a local path or an UNC path. When omitted, the value will have to be entered manually in the wizard before processing to the tailoring process.

-Transforms <path>

 
NO
 

This parameter contains a list of paths for transform files, which are about to be applied to the base MSI before a tailoring procedure is executed. Use semicolon as a separator. The paths can be either local paths, or UNC paths, or mixed. When omitted, the value can be entered manually in the wizard.

-IgnoreSystemState

 
NO
 

This parameter works as a keyword trigger for the PackTailor switch: If it is present, the advanced option Ignore current system state within the wizard step Capturing changes is activated. When omitted, the current system state is respected.

-IgnoreLaunchConditions

NO

This parameter works as a keyword trigger for the PackTailor switch: If it is present, the advanced option Ignore launch conditions within the wizard step Capturing changes is activated. When omitted, LaunchConditions are respected.

-MsiParams <params>

 
NO
 

String with command line parameter definition. RayPack does not evaluate these parameters, but simply passes them as they are when the UI sequence is triggered during the tailor procedure.

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

-MachineName <name>

 
NO
 

The name of the virtual machine to use for the tailoring. The machines must be preconfigured, and the name must match one of them. If no machine is found, the tailoring does not fail but uses the local machine instead.

-Output <path>

 
NO
 

This is the fully qualified path to the MST that is to be created as result of a PackTailor procedure. When ommited, a default path based on profile settings will be used as a default value.

Example

This sample launches PackTailor with a specified MSI file and two transform files from different locations. The combination of MSI and transforms will be used to specify the UI sequence behavior as well as other (invisible) MSI settings and properties.

 

RayPack.exe PackTailor

-MSI "\\rayflowshare\sources\7-Zip_6.5_MUL_1.0.0\7zip65.msi" 

-Transforms "\\rayflowshare\sources\7-Zip_6.5_MUL_1.0.0\7zip65.mst;\\raypackshare\brandings\demo.mst"