| 
       << Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > Command Line Tools > Silent Command Line Switches Edit (Silent) | 
    
This switch instructs RayPack to edit an RPP/MSI or MST file by applying a transform template (RPMST) and/or changing MSI properties. Additionally, this command can be used to create a new MST file.
Parameter  | 
Required  | 
Description  | 
||
|---|---|---|---|---|
-Path <path>  | 
   | 
  
 
 
  | 
||
-Template <path>  | 
   | 
  
 
    | 
||
-BaseMsi <path>  | 
   | 
  
 
 
  | 
||
-Set <name>=<value>  | 
   | 
   | 
Because the -Path parameter can point to a non-existing MST file and the -Template parameter is optional, the command can be used to create new transforms. Below is an example of syntax:
RpCmd.exe Edit
-Path C:\temp\newTransform.mst
-BaseMsi "C:\temp\db.msi"
-Set "ProductName=My Product"
  | 
Be aware: When -Template parameter is not specified, at least one -Set instance is required. Additionally, each Windows Installer Transform file has to contain at least one change as compared to the base MSI file.  | 
RpCmd.exe Edit
-Path C:\temp\db.msi
-Template C:\templates\t1.rpmst
-Set "ProductName=My Product"
RpCmd.exe Edit
-Path C:\temp\myTransform.mst
-BaseMsi "C:\temp\db.msi"
-Template C:\templates\t1.rpmst
-Set "ProductName=My Product"