inst-resources/core-files.nsh
changeset 3 0cce88c7cf7c
parent 0 67e1cc6cd929
--- a/inst-resources/core-files.nsh	Wed May 27 01:17:11 2009 -0400
+++ b/inst-resources/core-files.nsh	Sat Jul 11 10:07:32 2009 -0400
@@ -6,10 +6,14 @@
   !system 'hg -R "${ENANO_ROOT}" update'
   
   SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
-  File /r /x .hg /x .hgtags "${ENANO_ROOT}"
+  File /r /x .hg /x .hgtags "${ENANO_ROOT}\*"
 !macroend
 
 !macro Core_Uninstall
   ; I'm sorry, but 1,000 files don't deserve to be listed out.
-  RmDir /r "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
+  RmDir /r "$INSTDIR\htdocs"
+  RmDir /r "$INSTDIR\conf"
+  RmDir /r "$INSTDIR\scripts"
+  Delete "$INSTDIR\uninstall.exe"
+  RmDir "$INSTDIR"
 !macroend