[Launch]
ProgramExecutable=PasswordSafe\pwsafe.exe
CommandLineArguments=-g "%PAL:DataDir%\config\pwsafe.cfg" -u "PasswordSafePortable" -h "PasswordSafePortable"
DirectoryMoveOK=yes
SupportsUNC=yes
MinOS=Vista

[DirectoriesMove]
LocalSafes=%DOCUMENTS%\My Safes

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\config\pwsafe.cfg
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\config\pwsafe.cfg
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\config\pwsafe.cfg
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\config\pwsafe.cfg
Find=DEFAULTPORTABLEDATAPATH
Replace=%PAL:DataDir%

[FileWrite5]
Type=Replace
File=%PAL:DataDir%\config\pwsafe.cfg
Find=%CustomLastDocumentsDirectory%\
Replace=%DOCUMENTS%\
