[Launch]
ProgramExecutable=Marble\marble-qt.exe
WorkingDirectory=%PAL:AppDir%\Marble
CleanTemp=false
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[Environment]
LANG=%PAL:LanguageCustom%

[RegistryKeys]
Marble=HKCU\Software\KDE\Marble Virtual Globe

[RegistryCleanupIfEmpty]
1=HKCU\Software\KDE

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

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\settings\Marble.reg
Find=Software\kde.org\Marble Desktop Globe
Replace=Software\KDE\Marble Virtual Globe

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\Marble.reg
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%
Replace=%PAL:Drive%%PAL:PackagePartialDir%

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\settings\Marble.reg
Find=%PAL:LastPortableAppsBaseDir%
Replace=%PAL:PortableAppsBaseDir%

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

[FileWrite5]
Type=INI
File=%PAL:DataDir%\settings\MarblePortableSettings.ini
Section=MarblePortableSettings
Key=Language
Value=%PAL:LanguageCustom%

[DirectoriesMove]
.marble=%APPDATA%\.marble

[Language]
Base=%PortableApps.comLocaleglibc%

[LanguageFile]
Type=INI
File=%PAL:DataDir%\settings\MarblePortableSettings.ini
Section=MarblePortableSettings
Key=Language
