0
|
1 |
!macro Core_Install
|
|
2 |
SetOverwrite try
|
|
3 |
SectionIn RO
|
|
4 |
|
|
5 |
; not a huge deal if this fails, it just helps me avoid dumb mistakes.
|
|
6 |
!system 'hg -R "${ENANO_ROOT}" update'
|
|
7 |
|
|
8 |
SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
|
3
|
9 |
File /r /x .hg /x .hgtags "${ENANO_ROOT}\*"
|
0
|
10 |
!macroend
|
|
11 |
|
|
12 |
!macro Core_Uninstall
|
|
13 |
; I'm sorry, but 1,000 files don't deserve to be listed out.
|
3
|
14 |
RmDir /r "$INSTDIR\htdocs"
|
|
15 |
RmDir /r "$INSTDIR\conf"
|
|
16 |
RmDir /r "$INSTDIR\scripts"
|
|
17 |
Delete "$INSTDIR\uninstall.exe"
|
|
18 |
RmDir "$INSTDIR"
|
0
|
19 |
!macroend
|