inst-resources/core-files.nsh
author Neal Gompa <neal@enanocms.org>
Fri, 18 Dec 2009 19:16:05 -0600
changeset 8 af10a4dbafb4
parent 3 0cce88c7cf7c
permissions -rwxr-xr-x
Commenting out plugin component blocks. We aren't using them for anything, and they are currently empty anyway...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     1
!macro Core_Install
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     2
  SetOverwrite try
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     3
  SectionIn RO
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     4
  
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     5
  ; not a huge deal if this fails, it just helps me avoid dumb mistakes.
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     6
  !system 'hg -R "${ENANO_ROOT}" update'
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     7
  
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     8
  SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
3
0cce88c7cf7c Added Makefile
Dan
parents: 0
diff changeset
     9
  File /r /x .hg /x .hgtags "${ENANO_ROOT}\*"
0
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    10
!macroend
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    11
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    12
!macro Core_Uninstall
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    13
  ; I'm sorry, but 1,000 files don't deserve to be listed out.
3
0cce88c7cf7c Added Makefile
Dan
parents: 0
diff changeset
    14
  RmDir /r "$INSTDIR\htdocs"
0cce88c7cf7c Added Makefile
Dan
parents: 0
diff changeset
    15
  RmDir /r "$INSTDIR\conf"
0cce88c7cf7c Added Makefile
Dan
parents: 0
diff changeset
    16
  RmDir /r "$INSTDIR\scripts"
0cce88c7cf7c Added Makefile
Dan
parents: 0
diff changeset
    17
  Delete "$INSTDIR\uninstall.exe"
0cce88c7cf7c Added Makefile
Dan
parents: 0
diff changeset
    18
  RmDir "$INSTDIR"
0
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    19
!macroend