[Launch]
ProgramExecutable=QuteCom\qutecom.exe
WorkingDirectory=%PAL:AppDir%\QuteCom
CommandLineArguments='-q "%PAL:DataDir%\QuteCom"'
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
XML=true
Registry=true

[QtKeysCleanup]
1=Qt Factory Cache 4.5\com.trolltech.Qt.QImageIOHandlerFactoryInterface:
2=Qt Plugin Cache 4.5.false

[LanguageFile]
Type=XML text
File=%PAL:DataDir%\QuteCom\config.xml
XPath=/settings/language/string

[Language]
Base=%PortableApps.comLanguageCode%
CheckIfExists=%PAL:AppDir%\QuteCom\lang\qtqutecom_%PAL:LanguageCustom%.qm
DefaultIfNotExists=en

[LanguageStrings]
pt-br=pt_br
zh-cn=zh_cn
zh-tw=zh_tw

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

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\QuteCom\config.xml
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\

[FileWrite3]
Type=XML text
File=%PAL:DataDir%\QuteCom\config.xml
XPath=/settings/language/string
Value=%PAL:LanguageCustom%
