[Gpg4win-commits] r24 - trunk/src

marcus at wald.intevation.org marcus at wald.intevation.org
Thu Oct 20 18:52:04 CEST 2005


Author: marcus
Date: 2005-10-20 18:52:04 +0200 (Thu, 20 Oct 2005)
New Revision: 24

Modified:
   trunk/src/installer-finish.nsi
Log:
Fix last change.

Modified: trunk/src/installer-finish.nsi
===================================================================
--- trunk/src/installer-finish.nsi	2005-10-20 16:38:10 UTC (rev 23)
+++ trunk/src/installer-finish.nsi	2005-10-20 16:52:04 UTC (rev 24)
@@ -44,11 +44,15 @@
 !endif
   Delete "$SMPROGRAMS\$R0\Uninstall.lnk"
   RMDir "$SMPROGRAMS\$R0"
+  DeleteRegValue HKLM "Software\GNU\${PRETTY_PACKAGE_SHORT}" \
+        "Start Menu Folder"
 !endif
 
   Delete "$INSTDIR\${PACKAGE}-uninstall.exe"
   RMDir "$INSTDIR"
 
+  # Clean the registry.
   DeleteRegValue HKLM "Software\GNU\${PRETTY_PACKAGE_SHORT}" \
         "Install Directory"
+  DeleteRegKey /ifempty HKLM "Software\GNU\${PRETTY_PACKAGE_SHORT}" \
 SectionEnd



More information about the Gpg4win-commits mailing list