ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/RubyInstaller/ruby-installer.nsi
(Generate patch)

Comparing RubyInstaller/ruby-installer.nsi (file contents):
Revision 1094 by douglas, 2008-09-26T04:36:42-07:00 vs.
Revision 1212 by douglas, 2009-07-29T07:13:06-07:00

# Line 4 | Line 4
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"
# Line 28 | Line 28 | XPStyle on
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
# Line 103 | Line 103 | SectionGroup /e "Shortcuts"
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"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines