[gimp/gimp-2-10] Installer: fix .svg MIME type in Registry (fixes toolbox icons)



commit d93b4437b776c2bf4fdc3042cfb647d5c73c46e3
Author: Jernej Simončič <jernej|s-gitstuff eternallybored org>
Date:   Sun Jul 8 00:18:37 2018 +0200

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

 build/windows/installer/gimp3264.iss | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index 3fe84f9954..af74c36c55 100755
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -413,6 +413,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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]