Edit (Interactive)

<< Click to Display Table of Contents >>

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

Edit (Interactive)

Description

This switch instructs RayPack to open a project from a location specified by the -Path parameter.

The path specified within the -Path parameter may take any kind of editable project supported by one of the RayPack editors: RCP, RPP, MSI, MST.

 

papercliper

Note:

When the path to an MST is provided as value of the -Path parameter, RayPack will prompt a browse dialog once it has launched, demanding the selection of the base MSI for the specified MST. In order to provide the base MSI and avoid additional prompts, use the -mst parameter.

 

Parameters

Parameter

Required

Description

-Path <path>

 
YES
 

This is the fully qualified path to the project that is about to be opened for editing in RayPack. The parameter may take any kind of editable project supported by one of the RayPack editors: RCP, RPP, MSI, MST. The path can be either a local or an UNC path.

-Profile <path>

 
NO
 

This is the full path to the profile to be used by this instance. The path can be either a local or an UNC path. When omitted, the last used profile will be used.

-MST <path> 

 
NO
 

This parameter can be use more than once. It has to be a full local or UNC path of an MST transform to be applied on a loaded base MSI file.

Example

This command line will start RayPack, and open an existing project. If an RCP file is referenced by the path defined by -Path, the PackRecorder Editor will be launched, whilst all other supported formats launch the PackDesigner Editor interface.

 

RayPack.exe Edit 

–Profile "\\raypackshare\raynet.rpprofile" 

-Path "\\rayflowshare\sources\Projects\7-Zip_6.5_MUL_1.0.0\7-Zip_6.5_MUL_1.0.0.rcp"

 

Using as Default Switch

The Edit switch is a default switch in RayPack. The following syntax, using the file path as the first argument.

 <path_to_raypack.exe> "c:\test\myMsi.msi"

This is a shortcut which translates to the following.

 <path_to_raypack.exe> Edit 

 -Path "c:\test\myMsi.msi"

 

In order to specify transforms using the default syntax, use one of the following commands.

 <path_to_raypack.exe> "c:\test\myMsi.msi" 

 -mst "c:\test\f1.mst" -mst "c:\test\f2.mst"

 
 <path_to_raypack.exe> "c:\test\myMsi.msi" "c:\test\f1.mst" "c:\test\f2.mst"

 

These are both functionally equal to the following.
 
 <path_to_raypack.exe> Edit 

 -Path "c:\test\myMsi.msi" 

 -MST "c:\test\f1.mst" 

 -MST "c:\test\f2.mst"

 

Deprecated Parameters

The following parameters are deprecated but remain in the product due to compatibility reasons. It is not recommended to use them anymore.

Parameter

Required

Description

-RayFlowPackageId <guid>

 
NO*
 

When RayPack is launched from RayFlow, or operates connected to a RayFlow server, this parameter contains the unique identifier of a specific package as populated within the RayFlow database.

-RayFlowProjectId <guid>

 
NO*
 

When RayPack is launched from RayFlow, or operates connected to a RayFlow server, this parameter contains the GUID of the project the current connection is directed to.

-RayFlowServicePassword <password>

 
NO*
 

When RayPack is launched from RayFlow, or operates connected to a RayFlow server, this parameter contains the password of the user profile the connection is assigned to.

The credentials used for the RayFlow connection determine the scope available projects, packages, and methods on RayFlow data objects.

-RayFlowServiceUser <user>

 
NO*
 

When RayPack is launched from RayFlow, or operates connected to a RayFlow server, this parameter contains the name of the user profile the connection is assigned to.

The credentials used for the RayFlow connection determine the scope available projects, packages, and methods on RayFlow data objects.

-RayFlowUrl <path>

 
NO*
 

When RayPack is launched from RayFlow, or operates connected to a RayFlow server, this parameter contains the address of the RayFlow server.

 

papercliper

Note:

The five parameters starting with RayFlow are optional as long as none of them is defined. As soon as one of them is defined, all five parameters are needed.

 

Example

 

RayPack.exe Edit 

-Path "C:\RayPack\Projects\RasMol\RasMol.msi" 

-RayFlowPackageId "123-345-657-789-213" 

-RayFlowServiceUser "Admin" 

-RayFlowServicePassword "password" 

-RayFlowUrl "http://rayflow.url" 

-RayFlowProjectID "123-456-789-123-456"