4.0.4

Table Of Contents
VMware, Inc. 99
C
Thesnapshot.exeutilitycreatesasnapshotofacomputerfilesystemandregistryandcreatesaThinApp
projectfromtwopreviouslycapturedsnapshots.Youdonotneedtostartthesnapshot.exeutilitydirectly
becausetheSetupCapturewizardstartsit.Onlyadvancedusersandsystemintegratorswhoarebuilding
ThinAppfunctionality
intootherplatformsmightmakedirectuseofthisutility.
Creatingasnapshotofacomputerfilesystemandregistryinvolvesscanningandsavingacopyofthe
followingdata:
Fileinformationforalllocaldrives
Thisinformationincludesdirectories,filenames,fileattributes,filesizes,andfilemodificationdates.
HKEY_LOCAL_MACHINEandHKEY_USERSregistrytrees
ThinAppdoesnotscanHKEY_CLASSES_ROOTandHKEY_CURRENT_USER registryentriesbecausethose
entriesaresubsetsofHKEY_LOCAL_MACHINEandHKEY_USERSentries.
Thesnapshot.iniconfigurationfilespecifieswhatdirectoriesandsubkeystoexcludefromaThinApp
projectwhenyoucaptureanapplication.Youmightcustomizethisfileforcertainapplications.
This
informationincludesthefollowingtopics:
“MethodsofUsingthesnapshot.exeUtility”onpage 99
“Samplesnapshot.exeCommands”onpage 101
“CreateaProjectWithouttheSetupCaptureWizard”onpage 101
“Customizingthesnapshot.iniFile”onpage 102
Methods of Using the snapshot.exe Utility
Youcanusethesnapshot.exeutilitytocreatesnapshotfilesofmachinestates,createthetemplatefileforthe
Package.inifile,createaThinAppproject,anddisplaythecontentsofasnapshotfile.
ForinformationaboutthefullproceduretocreateaThinAppprojectfromthecommandline,see“Createa
ProjectWithouttheSetupCaptureWizard”onpage 101.
Creating Snapshots of Machine States
Thesnapshot.exeutilitycreatesasnapshotfileofamachinestate.ThinAppcapturesthemachinestateand
savesittoasinglefiletocreateaproject.Thesnapshot.exeutilitysavesacopyofregistrydataandfilesystem
metadatathatincludespaths,filenames,sizes,attributes,andtimestamps.
Usage
snapshot.exe SnapshotFileName.snapshot [-Config ConfigFile.ini][BaseDir1][BaseDir2][BaseReg1]
Snapshot Commands and
Customization
C