5.1

Table Of Contents
Example:
-Config ConfigFile.ini is optional. The configuration file specifies directories or registry subkeys for
exclusion from the project. If you do not specify a configuration file, ThinApp uses the snapshot.ini file.
Snapshot Template.ini –GenerateProject C:\MyProject Snapshot Template.ini –GenerateProject
C:\MyProject –Config MyExclusions.ini
Displaying the Contents of a Snapshot File
The snapshot.exe utility lists the contents of the snapshot file.
Usage
snapshot.exe SnapshotFileName.snapshot -Print
Example: Printing Content of a Snapshot File
ThinApp requires all of the parameters.
Snapshot Start.snapshot -–Print
Sample snapshot.exe Commands
These sample commands can be used with the snapshot.exe utility.
The parameters are not case-sensitive.
The commands are wrapped in the Command column because of space constraints.
Table 262. snapshot.exe Sample Commands
Command Description
snapshot C:\Capture.snapshot
Captures a complete snapshot of local drives and registry
to the file C:\Capture.snapshot.
snapshot C:\Capture.snapshot C:\ E:\
Captures a complete snapshot of the C:\ and E:\ drives.
ThinApp does not capture registry information.
snapshot C:\Capture.snapshot C:\data.snapshot
C:\ HKEY_LOCAL_MACHINE
Captures a complete snapshot of the C:\ drive and all of
the HKEY_CLASSES_ROOT registry subtree.
snapshot C:\Original.snapshot -Diff
C:\NewEnvironment.snapshot C:\MyProject
Generates a ThinApp project directory by comparing two
snapshots.
snapshot Original.snapshot -DiffPrint
NewEnvironment.snapshot
Displays differences between two captured snapshots.
snapshot C:\data.snapshot C:\
HKEY_LOCAL_MACHINE
Saves the state of the computer file system and registry.
snapshot C:\start.snapshot -diffprint
C:\end.snapshot
Compares two recorded states.
snapshot C:\start.snapshot -print
Prints the contents of a saved state.
snapshot C:\start.snapshot -SuggestProject
C:\end.snapshot C:\project.ini
Generates a ThinApp project by comparing two saved
states.
Chapter 26 Creating ThinApp Snapshots and Projects from the Command Line
VMware, Inc. 91