Clean up information displayed in the Add/Remove Programs section on Windows. Fixes #1646.

Wed, 13 Jun 2007 12:20:25 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Wed, 13 Jun 2007 12:20:25 +0000
changeset 17722
0e6a85627c70
parent 17721
2570bd5db300
child 17723
65ecb14a9c8f

Clean up information displayed in the Add/Remove Programs section on Windows. Fixes #1646.

pidgin/win32/nsis/langmacros.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/pidgin-installer.nsi file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/afrikaans.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/albanian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/bulgarian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/catalan.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/czech.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/danish.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/dutch.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/english.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/finnish.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/french.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/galician.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/german.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/hebrew.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/hungarian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/italian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/japanese.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/korean.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/kurdish.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/lithuanian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/norwegian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/polish.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/portuguese-br.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/portuguese.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/romanian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/russian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/serbian-latin.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/simp-chinese.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/slovak.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/slovenian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/spanish.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/swedish.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/trad-chinese.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/valencian.nsh file | annotate | diff | comparison | revisions
pidgin/win32/nsis/translations/vietnamese.nsh file | annotate | diff | comparison | revisions
--- a/pidgin/win32/nsis/langmacros.nsh	Wed Jun 13 12:09:58 2007 +0000
+++ b/pidgin/win32/nsis/langmacros.nsh	Wed Jun 13 12:20:25 2007 +0000
@@ -57,7 +57,6 @@
   !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_FINISH_VISIT_WEB_SITE		${CUR_LANG}
 
   ; Pidgin Section Prompts and Texts
-  !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_UNINSTALL_DESC			${CUR_LANG}
   !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_PROMPT_CONTINUE_WITHOUT_UNINSTALL	${CUR_LANG}
 
   ; GTK+ Section Prompts
--- a/pidgin/win32/nsis/pidgin-installer.nsi	Wed Jun 13 12:09:58 2007 +0000
+++ b/pidgin/win32/nsis/pidgin-installer.nsi	Wed Jun 13 12:20:25 2007 +0000
@@ -431,7 +431,11 @@
     WriteRegStr HKLM "${HKLM_APP_PATHS_KEY}" "Path" "$R1\bin"
     WriteRegStr HKLM ${PIDGIN_REG_KEY} "" "$INSTDIR"
     WriteRegStr HKLM ${PIDGIN_REG_KEY} "Version" "${PIDGIN_VERSION}"
-    WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "DisplayName" $(PIDGIN_UNINSTALL_DESC)
+    WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "DisplayName" "Pidgin"
+    WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "DisplayVersion" "${PIDGIN_VERSION}"
+    WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "HelpLink" "http://developer.pidgin.im/wiki/Using Pidgin"
+    WriteRegDWORD HKLM "${PIDGIN_UNINSTALL_KEY}" "NoModify" 1
+    WriteRegDWORD HKLM "${PIDGIN_UNINSTALL_KEY}" "NoRepair" 1
     WriteRegStr HKLM "${PIDGIN_UNINSTALL_KEY}" "UninstallString" "$INSTDIR\${PIDGIN_UNINST_EXE}"
     ; Sets scope of the desktop and Start Menu entries for all users.
     SetShellVarContext "all"
@@ -444,7 +448,11 @@
 
     WriteRegStr HKCU ${PIDGIN_REG_KEY} "" "$INSTDIR"
     WriteRegStr HKCU ${PIDGIN_REG_KEY} "Version" "${PIDGIN_VERSION}"
-    WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "DisplayName" $(PIDGIN_UNINSTALL_DESC)
+    WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "DisplayName" "Pidgin"
+    WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "DisplayVersion" "${PIDGIN_VERSION}"
+    WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "HelpLink" "http://developer.pidgin.im/wiki/Using Pidgin"
+    WriteRegDWORD HKCU "${PIDGIN_UNINSTALL_KEY}" "NoModify" 1
+    WriteRegDWORD HKCU "${PIDGIN_UNINSTALL_KEY}" "NoRepair" 1
     WriteRegStr HKCU "${PIDGIN_UNINSTALL_KEY}" "UninstallString" "$INSTDIR\${PIDGIN_UNINST_EXE}"