[Launch]
ProgramExecutable=FocusWriter\FocusWriter.exe
WorkingDirectory=%PAL:AppDir%\FocusWriter
DirectoryMoveOK=yes
SupportsUNC=yes

[DirectoriesMove]
FocusWriterData=%PAL:AppDir%\FocusWriter\data

[Activate]
Registry=true

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

[RegistryKeys]
customColors=HKCU\Software\Trolltech\OrganizationDefaults\Qt\customColors
FocusWriter=HKCU\Software\GottCode\FocusWriter

[RegistryCleanupIfEmpty]
1=HKCU\Software\GottCode

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\FocusWriterData\Settings\GottCode\FocusWriter.ini
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\FocusWriterData\Settings\GottCode\FocusWriter.ini
Find=%PAL:LastDrive%/
Replace=%PAL:Drive%/
