Portable Repackager

<< Click to Display Table of Contents >>

RayPack > 7.3 u6 > User Guide > Utilities and Standalone Tools 

Portable Repackager

The portable repackager is a general-purpose, standalone, and license-free executable which can be used to:

 

Snapshot the current state of the machine.

Compare two snapshots to produce RCP files.

 

The tool rps.exe can be found in subfolder Tools/Repackaging.

 

Creating Snapshots with RPS.EXE

Syntax:

rps.exe snapshot -snap <snap_file> [DRIVE1: [DRIVE2: ....]] [HKLM|HKCU|HKCR] [-permissions <True|False>] [-services <True|False>] [-ini <True|False>]

 

Parameters:

-snap <snap_file>

(required) The full path to a snapshot file, for example C:\snapshots\snapshot.rcs.

 

DRIVE1: [DRIVE2: ....]

(optional) A list of drives to scan separated by space, for example C: D: E:. By default nothing is scanned.

 

HKLM|HKCU|HKCR

(optional) A list of registry root nodes to scan, separated by space, for example HKLM HKCU. By default nothing is scanned.

 

-permissions <True|False>

(optional) A boolean value determining whether permissions are scanned. Default: False.

 

-services <True|False>

(optional) A boolean value determining whether services are scanned. Default: False.

 

-ini <True|False>

(optional) A boolean value determining whether INI files are scanned. Default: False.

 

Examples

rps.exe snapshot -snap C:\temp\snapshot1.rcs C: HKLM

rps.exe snapshot -snap C:\temp\snapshot1.rcs C: D: HKLM HKCU -permissions True

rps.exe snapshot -snap C:\temp\snapshot1.rcs C: -permissions True -services True -ini True

 

Comparing Snapshots

Syntax:

rps.exe compare <snapshot1> <snapshot2> <output_file> [-copyFiles <True|False>] [-discardExcluded <True|False>] [-excludeEmptyFolders <True|False>] [-exclusionList <None | RayPack | Default | path-to-exclusions-1.rpexl;path-to-exclusions-2.rpexl;...;path-to-exclusions-n.rpexl | path-to-raypack.profile>]

 

Parameters:

<snapshot1>

(required) The full path to the first snapshot file, for example C:\snapshots\snapshot1.rcs.

 

<snapshot2>

(required) The full path to the second snapshot file, for example C:\snapshots\snapshot2.rcs.

 

<output_file>

(required) The full path to the output file, for example C:\snapshots\comparisonResult.rcp.

 

-discardExcluded <True|False>

(optional) Determines whether to discard excluded items. Default: <False>.

 

-copyFiles <True|False>

(optional) Determines whether new or changed files are copied. Default: <False>.

 

-excludeEmptyFolders <True|False>

(optional) Determines whether all empty folders will be excluded. Default: <True>

 

-exclusionList <None | RayPack | Default | path-to-exclusions-1.rpexl;path-to-exclusions-2.rpexl;...;path-to-exclusions-n.rpexl | path-to-raypack.profile>

(optional) Determines which exclusion list will be used. Default: Default

 

The following options are supported:

None: No exclusion list, all resources will be included.

RayPack: Tries to locate the current RayPack profile and read the exclusion lists from that profile.

Default: Uses the standard exclusion list, embedded within rps.exe.

Full path to a single exclusion file (.rpexl)

Full paths to two or more exclusion files (.rpexl), separated by semicolons.

Full path to the RayPack profile (.rpprofile). The current exclusion lists defined by this profile will be used.

 

Examples

rps.exe compare "C:\temp\snapshot1.rcs" "C:\temp\snapshot2.rcs" "C:\temp\result.rcp"

rps.exe compare "C:\temp\snapshot1.rcs" "C:\temp\snapshot2.rcs" "C:\temp\result.rcp" -copyFiles True -discardExcluded False

rps.exe compare "C:\temp\snapshot1.rcs" "C:\temp\snapshot2.rcs" "C:\temp\result.rcp" -copyFiles False -discardExcluded False -exclusionList None

rps.exe compare "C:\temp\snapshot1.rcs" "C:\temp\snapshot2.rcs" "C:\temp\result.rcp" -copyFiles False -discardExcluded False -exclusionList "c:\Raypack\exclusions.rpexl"