[Launch]
ProgramExecutable=PotPlayer\PotPlayerMini.exe
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[RegistryKeys]
-=HKCU\Software\DAUM\PotPlayerMini

[RegistryCleanupIfEmpty]
1=HKCU\Software\DAUM

[RegistryValueBackupDelete]
1=HKCU\Software\DAUM\GUID_POTPLAYER

[DirectoriesCleanupIfEmpty]
1=%APPDATA%\Daum\PotPlayer\Log
2=%APPDATA%\Daum\PotPlayer
3=%APPDATA%\Daum

[FilesMove]
PotPlayerMini.ini=%PAL:AppDir%\PotPlayer

[DirectoriesMove]
Playlist=%PAL:AppDir%\PotPlayer\Playlist
Capture=%PAL:AppDir%\PotPlayer\Capture
Log=%PAL:AppDir%\PotPlayer\Log

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\Playlist\PotPlayerMini.dpl
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\Playlist\PotPlayerMini.dpl
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\Playlist\PotPlayerMini.dpl
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
