inst-resources/core-files.nsh
changeset 3 0cce88c7cf7c
parent 0 67e1cc6cd929
equal deleted inserted replaced
2:0c0d5dadfca3 3:0cce88c7cf7c
     4   
     4   
     5   ; not a huge deal if this fails, it just helps me avoid dumb mistakes.
     5   ; not a huge deal if this fails, it just helps me avoid dumb mistakes.
     6   !system 'hg -R "${ENANO_ROOT}" update'
     6   !system 'hg -R "${ENANO_ROOT}" update'
     7   
     7   
     8   SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
     8   SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
     9   File /r /x .hg /x .hgtags "${ENANO_ROOT}"
     9   File /r /x .hg /x .hgtags "${ENANO_ROOT}\*"
    10 !macroend
    10 !macroend
    11 
    11 
    12 !macro Core_Uninstall
    12 !macro Core_Uninstall
    13   ; I'm sorry, but 1,000 files don't deserve to be listed out.
    13   ; I'm sorry, but 1,000 files don't deserve to be listed out.
    14   RmDir /r "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
    14   RmDir /r "$INSTDIR\htdocs"
       
    15   RmDir /r "$INSTDIR\conf"
       
    16   RmDir /r "$INSTDIR\scripts"
       
    17   Delete "$INSTDIR\uninstall.exe"
       
    18   RmDir "$INSTDIR"
    15 !macroend
    19 !macroend