[Launch]
ProgramExecutable=Cppcheck64\cppcheckgui.exe
WorkingDirectory=%PAL:AppDir%\Cppcheck64
MinOS=7
CleanTemp=false
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[RegistryKeys]
Cppcheck=HKEY_CURRENT_USER\Software\Cppcheck\Cppcheck-GUI

[RegistryCleanupIfEmpty]
1=HKEY_CURRENT_USER\Software\Cppcheck

[FileWrite1]
Type=INI
File=%PAL:DataDir%\settings\Cppcheck.reg
Section=HKEY_CURRENT_USER\Software\Cppcheck\Cppcheck-GUI
Key='"Application language"'
Value='"%PAL:LanguageCustom%"'

[Language]
Base=%PortableApps.comLanguageCode%
CheckIfExists=%PAL:AppDir%\Cppcheck64\cppcheck_%PAL:LanguageCustom%.qm
DefaultIfNotExists=en

[LanguageFile]
Type=INI
File=%PAL:DataDir%\settings\Cppcheck.reg
Section=HKEY_CURRENT_USER\Software\Cppcheck\Cppcheck-GUI
Key='"Application language"'
