[xiph-commits] r8915 - trunk/oggdsf/build/NSIS/Release

ozone at motherfish-iii.xiph.org ozone at motherfish-iii.xiph.org
Mon Feb 14 06:58:29 PST 2005


Author: ozone
Date: 2005-02-14 06:58:27 -0800 (Mon, 14 Feb 2005)
New Revision: 8915

Modified:
   trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi
Log:
oggdsf:
 * Remove those pesky empty start menu groups and program directories on NSIS uninstall

Modified: trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi
===================================================================
--- trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi	2005-02-14 14:18:08 UTC (rev 8914)
+++ trunk/oggdsf/build/NSIS/Release/oggcodecs_release.nsi	2005-02-14 14:58:27 UTC (rev 8915)
@@ -773,12 +773,17 @@
   Delete "$INSTDIR\uninst.exe"
 
   RMDir "$SMPROGRAMS\$ICONS_GROUP"
+  ; Remove the "illiminable" start menu group (but only if it's empty)
+  RMDir "$SMPROGRAMS\$ICONS_GROUP\.."
 
   ; Need to change the working directory to something else (anything) besides
   ; the output directory, so we can rmdir it
   SetOutPath "$TEMP"
   RMDir "$INSTDIR"
 
+  ; Remove the "illiminable" parent directory (but only if it's empty)
+  RMDir "$INSTDIR\.."
+
   DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
   DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
 ;  SetAutoClose true



More information about the commits mailing list