inst-resources/core-files.nsh
author Dan
Wed, 27 May 2009 01:15:21 -0400
changeset 1 ac5bcb4e5284
parent 0 67e1cc6cd929
child 3 0cce88c7cf7c
permissions -rw-r--r--
PostgreSQL: skip applications.html stage (not supported in upstream wappstack)

!macro Core_Install
  SetOverwrite try
  SectionIn RO
  
  ; not a huge deal if this fails, it just helps me avoid dumb mistakes.
  !system 'hg -R "${ENANO_ROOT}" update'
  
  SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
  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"
!macroend