5.0

Table Of Contents
ThinApp User’s Guide
66 VMware, Inc.
Examples
Snapshot My.snapshot
Snapshot My.snapshot –Config MyExclusions.ini
Snapshot My.snapshot C:\MyAppDirectory HKEY_LOCAL_MACHINE\Software\MyApp
Options
Theoptionsspecifythedirectoriesorsubkeysinthesnapshot.
Creating the Template Package.ini file from Two Snapshot Files
Thesnapshot.exeutilitygeneratesatemplatePackage.inifile.Theutilityscansthetwosnapshotfilesfor
allapplicationsthatarecreatedandreferencedfromshortcutlinksortheStartmenu.Thetemplate
Package.inifilebecomesthebasisofthePackage.inifileinaThinAppproject.
Usage
snapshot.exe Snap1.snapshot -SuggestProject Snap2.snapshot OutputTemplate.ini
Examples
Snapshot Start.snapshot –SuggestProject End.snapshot Template.ini
ThinApprequiresalloftheparameters.
Creating the ThinApp Project from the Template Package.ini File
Thesnapshot.exeutilitycreatestheThinAppprojectfilefromthetemplatePackage.inifile.
Usage
snapshot.exe Template.ini -GenerateProject OutDir [-Config ConfigFile.ini]
Examples
Snapshot Template.ini –GenerateProject C:\MyProject
Snapshot Template.ini –GenerateProject C:\MyProject –Config MyExclusions.ini
-Config ConfigFile.iniisoptional.Theconfigurationfilespecifiesdirectoriesorregistrysubkeysfor
exclusionfromtheproject.Ifyoudonotspecifyaconfigurationfile,ThinAppusesthesnapshot.inifile.
Table 6-1. Snapshot Directories and Subkeys
Option Description
-Config ConfigFile.ini Specifiesdirectoriesorregistrysubkeystoexcludeduringsnapshotcreation.
If youdonotspecifyaconfigurationfile,ThinAppusesthesnapshot.inifile
fromtheThinAppinstallationdirectory.
BaseDir1 Specifiesoneormorebasedirectoriestoincludeinthescan.Ifyoudonotspecify
basedirectories,thesnapshot.exeutilityscansC:\
andallsubdirectories.
Ifyouscana machinewhereWindowsorprogramfilesareinstalledondifferent
disks,includethesedrivesinthescan.
Ifyouknowthatyourapplicationinstallationcreatesormodifiesfilesinfixed
locations,specifythesedirectoriestoreducethetotaltimerequiredtoscana
machine.
BaseReg1
Speciesoneormorebaseregistrysubkeystoincludeinthescan.Ifyoudonot
specifyregistrysubkeys,thesnapshot.exeutilityscansthe
HKEY_LOCAL_MACHINEandHKEY_USERSkeys.