[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/project/nsis
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2010-12-03 14:48:33
Message-ID: 20101203144833.940C4AC8A4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1203298 by cgilles:

on next zip archive, KDE4 system settings panel have been added. So an icon shortcut \
to this panel is created now during installation. the advantage of this panel is to \
be able to tune KDE4 config as, widget style/color for ex.


 M  +9 -14     digikam.nsi  


--- trunk/extragear/graphics/digikam/project/nsis/digikam.nsi #1203297:1203298
@@ -121,20 +121,13 @@
   WriteUninstaller "$INSTDIR\Uninstall.exe"
 
   ;Register uninstaller in windows registery with only the option to uninstall (no \
                repair nor modify)
-  WriteRegStr HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "DisplayName" "${MY_PRODUCT} Version ${VERSION}"
-  WriteRegStr HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "UninstallString" '"$INSTDIR\Uninstall.exe"'
-  WriteRegStr HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "DisplayVersion" "${VERSION}"
-  WriteRegStr HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "Publisher" "The digiKam team"
-  WriteRegDWORD HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "NoModify" "1"
-  WriteRegDWORD HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "NoRepair" "1"
-  WriteRegStr HKEY_LOCAL_MACHINE \
                "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" \
-          "URLInfoAbout" "${PRODUCT_HOMEPAGE}"
+  WriteRegStr HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "DisplayName" \
"${MY_PRODUCT} Version ${VERSION}" +  WriteRegStr HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "UninstallString" \
'"$INSTDIR\Uninstall.exe"' +  WriteRegStr HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "DisplayVersion" \
"${VERSION}" +  WriteRegStr HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "Publisher" "The \
digiKam team" +  WriteRegDWORD HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "NoModify" "1" +  \
WriteRegDWORD HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "NoRepair" "1" +  \
WriteRegStr HKEY_LOCAL_MACHINE \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MY_PRODUCT}" "URLInfoAbout" \
"${PRODUCT_HOMEPAGE}"  
  ;Add start menu
  !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
@@ -147,6 +140,7 @@
     CreateShortCut "$SMPROGRAMS\$StartMenuFolder\DNGConverter.lnk" \
                "$INSTDIR\kde4\bin\dngconverter.exe"
     CreateShortCut "$SMPROGRAMS\$StartMenuFolder\ExpoBlending.lnk" \
                "$INSTDIR\kde4\bin\expoblending.exe"
     CreateShortCut "$SMPROGRAMS\$StartMenuFolder\ScanGui.lnk" \
"$INSTDIR\kde4\bin\scangui.exe" +    CreateShortCut \
"$SMPROGRAMS\$StartMenuFolder\SystemSettings.lnk" \
                "$INSTDIR\kde4\bin\systemsettings.exe"
     WriteINIStr "$SMPROGRAMS\$StartMenuFolder\The ${MY_PRODUCT} HomePage.url" \
"InternetShortcut" "URL" "${PRODUCT_HOMEPAGE}"  
  !insertmacro MUI_STARTMENU_WRITE_END
@@ -190,6 +184,7 @@
   Delete "$SMPROGRAMS\$StartMenuFolder\DNGConverter.lnk"
   Delete "$SMPROGRAMS\$StartMenuFolder\ExpoBlending.lnk"
   Delete "$SMPROGRAMS\$StartMenuFolder\ScanGui.lnk"
+  Delete "$SMPROGRAMS\$StartMenuFolder\SystemSettings.lnk"
   Delete "$SMPROGRAMS\$StartMenuFolder\The ${MY_PRODUCT} HomePage.url"
   RMDir "$SMPROGRAMS\$StartMenuFolder"
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic