4 |
|
; |
5 |
|
; $Id$ |
6 |
|
|
7 |
< |
!ifndef RUBY_VERSION | GEMS_VERSION | BASE |
8 |
< |
!error "RUBY_VERSION, GEMS_VERSION, and BASE must be defined" |
7 |
> |
!ifndef RUBY_VERSION | GEMS_VERSION | RUBY_LICENSE | BASE |
8 |
> |
!error "RUBY_VERSION, GEMS_VERSION, RUBY_LICENSE, and BASE must be defined" |
9 |
|
!endif |
10 |
|
|
11 |
|
InstallDir "C:\ruby" |
28 |
|
!define MUI_UNFINISHPAGE_NOAUTOCLOSE |
29 |
|
|
30 |
|
!insertmacro MUI_PAGE_WELCOME |
31 |
< |
!insertmacro MUI_PAGE_LICENSE "ruby\doc\ruby\ruby-${RUBY_VERSION}\COPYING" |
31 |
> |
!insertmacro MUI_PAGE_LICENSE "${RUBY_LICENSE}" |
32 |
|
!insertmacro MUI_PAGE_DIRECTORY |
33 |
|
!insertmacro MUI_PAGE_INSTFILES |
34 |
|
!insertmacro MUI_PAGE_FINISH |
103 |
|
SectionGroupEnd |
104 |
|
|
105 |
|
Section "un.^(Name)" |
106 |
+ |
SetShellVarContext all |
107 |
|
RMDir /r /REBOOTOK "$SMPROGRAMS\${RUBY}" |
108 |
|
RMDir /r /REBOOTOK "$INSTDIR\bin" |
109 |
|
RMDir /r /REBOOTOK "$INSTDIR\doc" |