[Launch]
ProgramExecutable=MPC-BE\mpc-be.exe
DirectoryMoveOK=yes
SupportsUNC=yes
MinOS=7

[FilesMove]
settings\mpc-be.ini=%PAL:AppDir%\MPC-BE
settings\toolbar.bmp=%PAL:AppDir%\MPC-BE
settings\toolbar.png=%PAL:AppDir%\MPC-BE
settings\default.mpcpl=%PAL:AppDir%\MPC-BE
settings\history.mpc_lst=%PAL:AppDir%\MPC-BE

[Language]
Base=%PortableApps.comLocaleID%

[LanguageFile]
Type=INI
File=%PAL:DataDir%\settings\mpc-be.ini
Section=Settings
Key=InterfaceLanguage

[FileWrite1]
File=%PAL:DataDir%\settings\mpc-be.ini
Type=Replace
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite2]
File=%PAL:DataDir%\settings\mpc-be.ini
Type=Replace
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite3]
File=%PAL:DataDir%\settings\mpc-be.ini
Type=Replace
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\

[FileWrite4]
File=%PAL:DataDir%\settings\mpc-be.ini
Type=Replace
Find=LASTOPENDIRDEFAULT
Replace=%PortableApps.comVideos%

[FileWrite5]
File=%PAL:DataDir%\settings\mpc-be.ini
Type=Replace
Find=SNAPSHOTPATHDEFAULT
Replace=%PortableApps.comPictures%

[FileWrite6]
File=%PAL:DataDir%\settings\default.mpcpl
Type=Replace
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite7]
File=%PAL:DataDir%\settings\default.mpcpl
Type=Replace
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite8]
File=%PAL:DataDir%\settings\default.mpcpl
Type=Replace
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\

[FileWrite9]
File=%PAL:DataDir%\settings\mpc-be.ini
Type=INI
Section=Settings
Key=InterfaceLanguage
Value=%PAL:LanguageCustom%

[FileWrite10]
File=%PAL:DataDir%\settings\history.mpc_lst
Type=Replace
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite11]
File=%PAL:DataDir%\settings\history.mpc_lst
Type=Replace
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite12]
File=%PAL:DataDir%\settings\history.mpc_lst
Type=Replace
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
