Installer: fix .svg MIME type in Registry (fixes toolbox icons)

(cherry picked from commit d93b4437b7)
This commit is contained in:
Jernej Simončič 2018-07-08 00:18:37 +02:00 committed by Jehan
parent e6eb002eb3
commit 101d1a4d97
1 changed files with 4 additions and 0 deletions

View File

@ -418,6 +418,10 @@ Type: files; Name: "{commondesktop}\GIMP 2.lnk"
Type: files; Name: "{commonprograms}\{reg:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GIMP-2_is1,DisplayName|GIMP 2}.lnk"; Check: CheckRegValueExists('SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GIMP-2_is1','DisplayName')
Type: files; Name: "{commondesktop}\{reg:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GIMP-2_is1,DisplayName|GIMP 2}.lnk"; Check: CheckRegValueExists('SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GIMP-2_is1','DisplayName')
[Registry]
;fix broken toolbox icons
Root: HKLM; Subkey: "Software\Classes\.svg"; ValueType: string; ValueName: "Content Type"; ValueData: "image/svg+xml"; Flags: noerror createvalueifdoesntexist
[UninstallDelete]
Type: files; Name: "{app}\uninst\uninst.inf"
;need to clean out all the generated .pyc files