[Launch]
ProgramExecutable=PgAdmin\pgadmin3.exe
RefreshShellIcons=both
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[RegistryKeys]
PgAdminPortable=HKCU\Software\pgAdmin III

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\settings\PgAdminPortable.reg
Find=%PAL:LastDrive%\\
Replace=%PAL:Drive%\\

[FilesMove]
settings\pgpass.conf=%APPDATA%\PostgreSQL

[Environment]
PATH=%PATH%;%PAL:AppDir%\PgAdmin\System