4.6.1

Table Of Contents
VMware, Inc. 107
7
Thesnapshot.exeutilitycreatesasnapshotofacomputerfilesystemandregistryandcreatesaThinApp
projectfromtwopreviouslycapturedsnapshots.Youdonothavetostartthesnapshot.exeutilitydirectly
becausetheSetupCapturewizardstartsit.Onlyadvancedusersandsystemintegratorswhoarebuilding
ThinAppcapabilityintootherplatf
ormsmightmakedirectuseofthisutility.
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.
Thisinform
ationincludesthefollowingtopics:
“MethodsofUsingthesnapshot.exeUtility”onpage 107
“Samplesnapshot.exeCommands”onpage 109
“CreateaProjectWithouttheSetupCaptureWizard”onpage 109
“Customizingthesnapshot.iniFile”onpage 110
Methods of Using the snapshot.exe Utility
Youcanusethesnapshot.exeutilitytocreatesnapshotfilesofmachinestates,createthetemplatefileforthe
Package.inifile,createaThinAppproject,anddisplaythecontentsofasnapshotfile.
ForinformationaboutthefullproceduretocreateaThinAppprojectfromthecommandline,see“Createa
ProjectWi
thouttheSetupCaptureWizard”onpage 109.
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]
Creating ThinApp Snapshots and
Projects from the Command Line
7