[Launch]
ProgramExecutable=Balabolka\balabolka.exe
DirectoryMoveOK=yes
SupportsUNC=yes

[FilesMove]
balabolka.pcfg=%PAL:AppDir%\Balabolka

[Language]
Base=%PAL:LanguageName%
CheckIfExists=%PAL:AppDir%\Balabolka\languages\%PAL:LanguageCustom%.lng
DefaultIfNotExists=English

[LanguageStrings]
Arabic=Arabic
Bulgarian=Bulgarian
Czech=Czech
Dutch=Dutch
Finnish=Finnish
French=French
Greek=Greek
German=German
Hungarian=Hungarian
Italian=Italian
Japanese=Japanese
Korean=Korean
Polish=Polish
Romanian=Romanian
Russian=Russian
Slovenian=Slovenian
Spanish=Spanish
Turkish=Turkish
Ukrainian=Ukrainian
Vietnamese=Vietnamese
SimpChinese=Chinese (Simplified)
TradChinese=Chinese (Traditional)
Portuguese=Portuguese (Portugal)
PortugueseBR=Portuguese (Brazil)
SerbianLatin=Serbian (Latin)
Serbian=Serbian (Cyrillic)

[LanguageFile]
Type=INI
File=%PAL:DataDir%\balabolka.pcfg
Section=Settings
Key=Language

[FileWrite1]
Type=INI
File=%PAL:DataDir%\balabolka.pcfg
Section=Settings
Key=Language
Value=%PAL:LanguageCustom%

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\balabolka.pcfg
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\balabolka.pcfg
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\balabolka.pcfg
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
