5.0

Table Of Contents
VMware, Inc. 65
6
Thesnapshot.exeutilitycreatesasnapshotofacomputerfilesystemandregistryandcreatesaThinApp
projectfromtwopreviouslycapturedsnapshots.Youdonothavetostartthesnapshot.exeutilitydirectly
becausetheSetupCapturewizardstartsit.Onlyadvancedusersandsystemintegratorswhoarebuilding
ThinAppcapability
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 65
“Samplesnapshot.exeCommands”onpage 67
“CreateaProjectWithouttheSetupCaptureWizard”onpage 67
“Customizingthesnapshot.iniFile”onpage 68
Methods of Using the snapshot.exe Utility
Youcanusethesnapshot.exeutilitytocreatesnapshotfilesofmachinestates,createthetemplatefileforthe
Package.inifile,createaThinAppproject,anddisplaythecontentsofasnapshotfile.
ForinformationaboutthefullproceduretocreateaThinAppprojectfromthecommandline,see“Createa
ProjectWithouttheSetupCaptureWizard”onpage 67.
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
6