4.0.4

Table Of Contents
VMware, Inc. 101
Appendix C Snapshot Commands and Customization
Displaying the Contents of a Snapshot File
Thesnapshot.exeutilityliststhecontentsofthesnapshotfile.
Usage
snapshot.exe SnapshotFileName.snapshot -Print
Examples
Snapshot Start.snapshot –Print
ThinApprequiresalloftheparameters.
Sample snapshot.exe Commands
Table C1describessamplecommandsforthesnapshot.exeutility.Theparametersarenotcasesensitive.
ThecommandsarewrappedintheCommandcolumnbecauseofspacerestraints.
Create a Project Without the Setup Capture Wizard
Youcanusethesnapshot.exeutilityfromthecommandlineinsteadofusingtheSetupCapturewizardthat
runsthesnapshot.exeutilityinthebackground.Thecommandlineutilityisusefultopackagealarge
numberofapplicationsorautomateThinAppprojectcreation.Thetypicallocationofthesnapshot.exe
utilityis
C:\Program Files\VMware\VMware ThinApp\snapshot.exe.
Thesnapshotprocessmakesacopyoftheallregistryentriesonthesystemandfilesystemmetadata.
File systemmetadataincludespath,filename,attribute,size,andtimestampinformationbutexcludesactual
filedata.
To create a project with the snapshot.exe command-line utility
1 Saveaninitialsnapshotofthecurrentmachineconfigurationtodisk.
snapshot.exe c:\Start.snapshot
2Installtheapplicationandmakeanynecessarymanualsystemchanges.
Table C-1. snapshot.exe Sample Commands
Command Description
snapshot c:\Capture.snapshot Capturesacompletesnapshotoflocaldrivesand
registrytothefilec:\Capture.snapshot.
snapshot c:\Capture.snapshot c:\ e:\ Capturesacompletesnapshotofthec:\ande:\drives.
ThinAppdoesnotcaptureregistryinformation.
snapshot c:\Capture.snapshot c:\
HKEY_LOCAL_MACHINE\Software\Classes
Capturesacompletesnapshotofthec:\driveandallof
theHKEY_CLASSES_ROOTregistrysubtree.
snapshot c:\Original.snapshot -Diff
c:\NewEnvironment.snapshot c:\MyProject
GeneratesaThinAppproject
directorybycomparing
twosnapshots.
snapshot Original.snapshot -DiffPrint
NewEnvironment.snapshot
Displaysdifferencesbetweentwocapturedsnapshots.
snapshot C:\data.snapshot snapshot
C:\data.snapshot C:\ HKEY_LOCAL_MACHINE
Savesthestateofthecomputerfilesystemandregistry.
snapshot C:\start.snapshot -diffprint
C:\end.snapshot
Comparestworecordedstates.
snapshot C:\start.snapshot -print Printsthecontentsofasavedstate.
snapshot C:\start.snapshot -SuggestProject
C:\end.snapshot C:\project.ini snapshot
C:\project.ini -GenerateProject
GeneratesaThinAppprojectbycomparingtwosaved
states.