STXInstaller.st
changeset 1279 b531a4cf201a
parent 1152 455658443a5f
child 1281 e83c14253471
equal deleted inserted replaced
1278:b9769689b45c 1279:b531a4cf201a
     1 Object subclass:#STXInstaller
     1 Object subclass:#STXInstaller
     2 	instanceVariableNames:'stxLibDir stxLibBinDir stxBinDir installDocFiles
     2 	instanceVariableNames:'stxLibDir stxLibBinDir stxBinDir stxPkgDir stxDocDir stxTopDir
     3 		installSourceFiles installSTCFiles installGoodyFiles fullDir
     3 		installDocFiles installSourceFiles installSTCFiles
     4 		actionPercentageHolder actionTextHolder commandTraceView
     4 		installGoodyFiles fullDir actionPercentageHolder actionTextHolder
     5 		resources dfHolder copyProcess installWhat'
     5 		commandTraceView resources dfHolder copyProcess installWhat'
     6 	classVariableNames:'LastPartialDir LastFullDir'
     6 	classVariableNames:'LastPartialDir LastFullDir'
     7 	poolDictionaries:''
     7 	poolDictionaries:''
     8 	category:'eXept-tools'
     8 	category:'eXept-tools'
     9 !
     9 !
    10 
    10 
   192         dirsToMake add:fullDir.
   192         dirsToMake add:fullDir.
   193     ] ifFalse:[
   193     ] ifFalse:[
   194         dirsToMake add:stxBinDir.
   194         dirsToMake add:stxBinDir.
   195         dirsToMake add:stxLibDir.
   195         dirsToMake add:stxLibDir.
   196         dirsToMake add:stxLibBinDir.
   196         dirsToMake add:stxLibBinDir.
   197         dirsToMake add:(stxLibDir asFilename constructString:'configurations').
   197         dirsToMake add:stxDocDir.
   198         dirsToMake add:(stxLibDir asFilename constructString:'doc').
   198         docOnlineDir := stxDocDir asFilename construct:'online'.
   199         dirsToMake add:((docDir := stxLibDir asFilename construct:'doc') constructString:'online').
   199         dirsToMake add:docOnlineDir name.
   200         dirsToMake add:((docOnlineDir := docDir construct:'online') constructString:'english').
   200         dirsToMake add:(docOnlineDir constructString:'english').
   201         dirsToMake add:(docOnlineDir constructString:'german').
   201         dirsToMake add:(docOnlineDir constructString:'german').
   202         dirsToMake add:(docOnlineDir constructString:'french').
   202         dirsToMake add:(docOnlineDir constructString:'french').
   203         dirsToMake add:(docOnlineDir constructString:'italian').
   203         dirsToMake add:(docOnlineDir constructString:'italian').
   204         dirsToMake add:(stxLibDir asFilename constructString:'include').
       
   205         dirsToMake add:(stxLibDir asFilename constructString:'resources').
       
   206         dirsToMake add:(stxLibDir asFilename constructString:'binary').
       
   207         dirsToMake add:(stxLibDir asFilename constructString:'bitmaps').
       
   208         installGoodyFiles ifTrue:[
   204         installGoodyFiles ifTrue:[
   209             dirsToMake add:(stxLibDir asFilename constructString:'goodies').
   205             dirsToMake add:(stxLibDir asFilename constructString:'goodies').
   210         ].
   206         ].
   211         installSourceFiles ifTrue:[
       
   212             dirsToMake add:(stxLibDir asFilename constructString:'source').
       
   213         ]
       
   214     ].
   207     ].
   215     ^ dirsToMake
   208     ^ dirsToMake
   216 
   209 
   217     "Modified: / 31.5.1999 / 17:52:03 / cg"
   210     "Modified: / 31.5.1999 / 17:52:03 / cg"
   218 !
   211 !
   239     ^ Smalltalk majorVersionNr printString 
   232     ^ Smalltalk majorVersionNr printString 
   240                , '.' , Smalltalk minorVersionNr printString
   233                , '.' , Smalltalk minorVersionNr printString
   241                , '.' , Smalltalk revisionNr printString.
   234                , '.' , Smalltalk revisionNr printString.
   242 !
   235 !
   243 
   236 
   244 specOfFilesToCopy
   237 specOfCommonFilesToCopy
   245     OperatingSystem isMSWINDOWSlike ifTrue:[
       
   246         ^ self specOfWindowsFilesToCopy
       
   247     ].
       
   248     ^ self specOfUnixFilesToCopy
       
   249 
       
   250     "Modified: / 2.5.1999 / 13:17:59 / cg"
       
   251 !
       
   252 
       
   253 specOfUnixFilesToCopy
       
   254     |fileSpec|
   238     |fileSpec|
   255 
   239 
   256     fileSpec := #(
   240     fileSpec := #(
   257                 "/ name                             destination  subDir             required mode      
   241                 "/ name                             destination  subDir             required mode      
   258                 ( 'projects/smalltalk/smalltalk'        #bin     nil                  true  '755' )
       
   259                 ( 'projects/smalltalk/stx'              #bin     nil                  true  '755' )
       
   260                 ( 'projects/smalltalk/include'          #lib     nil                  true  '644' )
   242                 ( 'projects/smalltalk/include'          #lib     nil                  true  '644' )
   261                 ( 'COPYRIGHT'                           #lib     nil                  true  '644' )
       
   262                 ( 'projects/smalltalk/*.rc'             #lib     nil                  true  '644' )
   243                 ( 'projects/smalltalk/*.rc'             #lib     nil                  true  '644' )
   263                 ( 'projects/smalltalk/patches'          #lib     nil                  true  '644' )
   244                 ( 'projects/smalltalk/patches'          #lib     nil                  true  '644' )
   264                 ( 'projects/smalltalk/bitmaps'          #lib     nil                  true  '644' )
   245                 ( 'COPYRIGHT'                           #lib     nil                  true  '644' )
   265                 ( 'projects/smalltalk/resources'        #lib     nil                  true  '644' )
   246                 ( 'doc/online/german/LICENCE.STX.html'  nil      'doc/online/german'      true  '644' )
   266                 ( 'projects/smalltalk/lib'              #lib     nil                  true  '644' )
   247                 ( 'doc/online/english/LICENCE.STX.html' nil      'doc/online/english'     true  '644' )
   267                 ( 'doc/online/german/LICENCE.STX.html'  #lib     'doc/online/german'  true  '644' )
   248 
   268                 ( 'doc/online/english/LICENCE.STX.html' #lib     'doc/online/english' true  '644' )
   249                 ( 'libbasic/abbrev.stc'                 #pkg     'stx/libbasic'      true  )
       
   250                 ( 'libbasic/bitmaps'                    #pkg     'stx/libbasic'      true  )
       
   251                 ( 'libbasic/resources'                  #pkg     'stx/libbasic'      true  )
       
   252 
       
   253                 ( 'libbasic2/abbrev.stc'                #pkg     'stx/libbasic2'     true  )
       
   254                 ( 'libbasic2/bitmaps'                   #pkg     'stx/libbasic2'     true  )
       
   255                 ( 'libbasic2/resources'                 #pkg     'stx/libbasic2'     true  )
       
   256 
       
   257                 ( 'libbasic3/abbrev.stc'                #pkg     'stx/libbasic3'     true  )
       
   258                 ( 'libbasic3/bitmaps'                   #pkg     'stx/libbasic3'     true  )
       
   259                 ( 'libbasic3/resources'                 #pkg     'stx/libbasic3'     true  )
       
   260 
       
   261                 ( 'libboss/abbrev.stc'                  #pkg     'stx/libboss'       true  )
       
   262                 ( 'libboss/bitmaps'                     #pkg     'stx/libboss'       true  )
       
   263                 ( 'libboss/resources'                   #pkg     'stx/libboss'       true  )
       
   264 
       
   265                 ( 'libcomp/abbrev.stc'                  #pkg     'stx/libcomp'       true  )
       
   266                 ( 'libcomp/bitmaps'                     #pkg     'stx/libcomp'       true  )
       
   267                 ( 'libcomp/resources'                   #pkg     'stx/libcomp'       true  )
       
   268 
       
   269                 ( 'libview/abbrev.stc'                  #pkg     'stx/libview'       true  )
       
   270                 ( 'libview/bitmaps'                     #pkg     'stx/libview'       true  )
       
   271                 ( 'libview/resources'                   #pkg     'stx/libview'       true  )
       
   272 
       
   273                 ( 'libview2/abbrev.stc'                 #pkg     'stx/libview2'      true  )
       
   274                 ( 'libview2/bitmaps'                    #pkg     'stx/libview2'      true  )
       
   275                 ( 'libview2/resources'                  #pkg     'stx/libview2'      true  )
       
   276 
       
   277                 ( 'libwidg/abbrev.stc'                  #pkg     'stx/libwidg'       true  )
       
   278                 ( 'libwidg/bitmaps'                     #pkg     'stx/libwidg'       true  )
       
   279                 ( 'libwidg/resources'                   #pkg     'stx/libwidg'       true  )
       
   280 
       
   281                 ( 'libwidg2/abbrev.stc'                 #pkg     'stx/libwidg2'      true  )
       
   282                 ( 'libwidg2/bitmaps'                    #pkg     'stx/libwidg2'      true  )
       
   283                 ( 'libwidg2/resources'                  #pkg     'stx/libwidg2'      true  )
       
   284 
       
   285                 ( 'libwidg3/abbrev.stc'                 #pkg     'stx/libwidg3'      true  )
       
   286                 ( 'libwidg3/bitmaps'                    #pkg     'stx/libwidg2'      true  )
       
   287                 ( 'libwidg3/resources'                  #pkg     'stx/libwidg2'      true  )
       
   288 
       
   289                 ( 'libtool/abbrev.stc'                  #pkg     'stx/libtool'       true  )
       
   290                 ( 'libtool/bitmaps'                     #pkg     'stx/libtool'       true  )
       
   291                 ( 'libtool/resources'                   #pkg     'stx/libtool'       true  )
       
   292 
       
   293                 ( 'libtool2/abbrev.stc'                 #pkg     'stx/libtool2'      true  )
       
   294                 ( 'libtool2/bitmaps'                    #pkg     'stx/libtool2'      true  )
       
   295                 ( 'libtool2/resources'                  #pkg     'stx/libtool2'      true  )
       
   296 
       
   297                 ( 'libui/abbrev.stc'                    #pkg     'stx/libui'         true  )
       
   298                 ( 'libui/bitmaps'                       #pkg     'stx/libui'         true  )
       
   299                 ( 'libui/resources'                     #pkg     'stx/libui'         true  )
       
   300 
       
   301                 ( 'libhtml/abbrev.stc'                  #pkg     'stx/libhtml'       true  )
       
   302                 ( 'libhtml/bitmaps'                     #pkg     'stx/libhtml'       true  )
       
   303                 ( 'libhtml/resources'                   #pkg     'stx/libhtml'       true  )
       
   304 
       
   305                 ( 'libodbc/abbrev.stc'                  #pkg     'stx/libodbc'       true  )
       
   306                 ( 'libodbc/bitmaps'                     #pkg     'stx/libodbc'       true  )
       
   307                 ( 'libodbc/resources'                   #pkg     'stx/libodbc'       true  )
       
   308 
       
   309                 ( 'libopengl/abbrev.stc'                #pkg     'stx/libopengl'     true  )
       
   310                 ( 'libopengl/bitmaps'                   #pkg     'stx/libopengl'     true  )
       
   311                 ( 'libopengl/resources'                 #pkg     'stx/libopengl'     true  )
       
   312 
       
   313                 ( 'libjava/abbrev.stc'                  #pkg     'stx/libjava'     true  )
       
   314                 ( 'libjava/bitmaps'                     #pkg     'stx/libjava'     true  )
       
   315                 ( 'libjava/resources'                   #pkg     'stx/libjava'     true  )
   269     ).
   316     ).
   270 
   317 
   271     installDocFiles ifTrue:[
   318     installDocFiles ifTrue:[
   272         fileSpec := fileSpec , #(
   319         fileSpec := fileSpec , #(
   273                 ( 'doc'                                  #lib     nil        false '644' )
   320                 ( 'doc'                                  #lib     nil        false '644' )
   274         ).
   321         ).
   275     ].
   322     ].
   276 
   323 
   277     installSourceFiles ifTrue:[
   324     installSourceFiles ifTrue:[
   278         fileSpec := fileSpec , #(
   325         fileSpec := fileSpec , #(
   279                 ( 'projects/smalltalk/source'                #lib        nil        false '644' )
   326                 ( 'libbasic/*.st'               #pkg     'stx/libbasic/source'      false  )
       
   327                 ( 'libbasic2/*.st'              #pkg     'stx/libbasic2/source'     false  )
       
   328                 ( 'libbasic3/*.st'              #pkg     'stx/libbasic3/source'     false  )
       
   329                 ( 'libboss/*.st'                #pkg     'stx/libboss/source'       false  )
       
   330                 ( 'libcomp/*.st'                #pkg     'stx/libcomp/source'       false  )
       
   331                 ( 'libview/*.st'                #pkg     'stx/libview/source'       false  )
       
   332                 ( 'libview2/*.st'               #pkg     'stx/libview2/source'      false  )
       
   333                 ( 'libwidg/*.st'                #pkg     'stx/libwidg/source'       false  )
       
   334                 ( 'libwidg2/*.st'               #pkg     'stx/libwidg2/source'      false  )
       
   335                 ( 'libwidg3/*.st'               #pkg     'stx/libwidg3/source'      false  )
       
   336                 ( 'libtool/*.st'                #pkg     'stx/libtool/source'       false  )
       
   337                 ( 'libtool2/*.st'               #pkg     'stx/libtool2/source'      false  )
       
   338                 ( 'libui/*.st'                  #pkg     'stx/libui/source'         false  )
       
   339                 ( 'libhtml/*.st'                #pkg     'stx/libhtml/source'       false  )
       
   340                 ( 'libodbc/*.st'                #pkg     'stx/libodbc/source'       false  )
       
   341                 ( 'libopengl/*.st'              #pkg     'stx/libopengl/source'     false  )
       
   342                 ( 'libjava/*.st'                #pkg     'stx/libjava/source'     false  )
   280         ).
   343         ).
   281     ].
   344     ].
   282 
   345 
   283     installSTCFiles ifTrue:[
   346     installSTCFiles ifTrue:[
   284         fileSpec := fileSpec , #(
   347         fileSpec := fileSpec , #(
   285                 ( 'stc/stc'                                  #bin        nil              false '755' )
       
   286                 ( 'rules/stmkmp'                             #bin        nil              false '755' )
       
   287                 ( 'rules/stmkmf'                             #bin        nil              false '755' )
       
   288                 ( 'include'                                  #lib        nil              false '644' )
   348                 ( 'include'                                  #lib        nil              false '644' )
   289                 ( 'configurations'                           #lib        nil              false '644' )
   349                 ( 'configurations'                           #lib        nil              false '644' )
   290                 ( 'configurations/PACKS'                     #lib        'configurations' false '644' )
   350                 ( 'configurations/PACKS'                     #lib        'configurations' false '644' )
   291                 ( 'configurations/my*'                       #lib        'configurations' false '644' )
   351                 ( 'configurations/my*'                       #lib        'configurations' false '644' )
   292                 ( 'configurations/vendor*'                   #lib        'configurations' false '644' )
   352                 ( 'configurations/vendor*'                   #lib        'configurations' false '644' )
   293                 ( 'rules'                                    #lib        nil              false '644' )
   353                 ( 'rules'                                    #lib        nil              false '644' )
       
   354         ).
       
   355     ].
       
   356 
       
   357     installGoodyFiles ifTrue:[
       
   358         fileSpec := fileSpec , #(
       
   359                 ( 'goodies/*.st'                 #pkg     'stx/goodies/source'  false '644' )
       
   360                 ( 'goodies/*.chg'                #pkg     'stx/goodies/source'  false '644' )
       
   361                 ( 'goodies/rdoit/rdoit'          #bin     nil               false '755' )
       
   362         ).
       
   363     ].
       
   364 
       
   365 
       
   366     ^ fileSpec
       
   367 
       
   368     "Modified: / 30.4.1999 / 18:02:22 / cg"
       
   369     "Created: / 2.5.1999 / 13:17:37 / cg"
       
   370 !
       
   371 
       
   372 specOfFilesToCopy
       
   373     OperatingSystem isMSWINDOWSlike ifTrue:[
       
   374         ^ self specOfWindowsFilesToCopy
       
   375     ].
       
   376     ^ self specOfUnixFilesToCopy
       
   377 
       
   378     "Modified: / 2.5.1999 / 13:17:59 / cg"
       
   379 !
       
   380 
       
   381 specOfUnixFilesToCopy
       
   382     |fileSpec|
       
   383 
       
   384     fileSpec := self specOfCommonFilesToCopy.
       
   385 
       
   386     fileSpec := fileSpec , #(
       
   387                 "/ name                             destination  subDir             required mode      
       
   388                 ( 'projects/smalltalk/smalltalk'        #bin     nil                  true  '755' )
       
   389                 ( 'projects/smalltalk/stx'              #bin     nil                  true  '755' )
       
   390     ).
       
   391 
       
   392     installSTCFiles ifTrue:[
       
   393         fileSpec := fileSpec , #(
       
   394                 ( 'stc/stc'                                  #bin        nil              false '755' )
       
   395                 ( 'rules/stmkmp'                             #bin        nil              false '755' )
       
   396                 ( 'rules/stmkmf'                             #bin        nil              false '755' )
       
   397                 ( 'configurations'                           #lib        nil              false '644' )
       
   398                 ( 'configurations/PACKS'                     #lib        'configurations' false '644' )
       
   399                 ( 'configurations/my*'                       #lib        'configurations' false '644' )
       
   400                 ( 'configurations/vendor*'                   #lib        'configurations' false '644' )
   294 
   401 
   295                 ( 'support/VGL/vogl/src/libvogl.*'           #lib        'lib'            false '644' )
   402                 ( 'support/VGL/vogl/src/libvogl.*'           #lib        'lib'            false '644' )
   296                 ( 'support/VGL/vogl/src/*.h'                 #lib        'include'        false '644' )
   403                 ( 'support/VGL/vogl/src/*.h'                 #lib        'include'        false '644' )
   297                 ( 'support/DLD/dld-3.2.5/libdld.*'           #lib        'lib'            false '644' )
   404                 ( 'support/DLD/dld-3.2.5/libdld.*'           #lib        'lib'            false '644' )
   298 
   405 
   299                 ( 'goodies/persistency/db-1.6/PORT/libdb.*'  #lib        'lib'            false '644' )
   406                 ( 'goodies/persistency/db-1.6/PORT/libdb.*'  #lib        'lib'            false '644' )
   300 
   407 
   301                 ( 'librun/librun.*'                          #libBin     nil              false '644' )
   408                 ( 'librun/librun.o'                          #libBin     nil              false '644' )
   302                 ( 'libbasic/libbasic.*'                      #libBin     nil              false '644' )
   409                 ( 'librun/librun.a'                          #libBin     nil              false '644' )
   303                 ( 'libbasic2/libbasic2.*'                    #libBin     nil              false '644' )
   410                 ( 'libbasic/libbasic.o'                      #libBin     nil              false '644' )
   304                 ( 'libbasic3/libbasic3.*'                    #libBin     nil              false '644' )
   411                 ( 'libbasic2/libbasic2.o'                    #libBin     nil              false '644' )
   305                 ( 'libhtml/libhtml.*'                        #libBin     nil              false '644' )
   412                 ( 'libbasic3/libbasic3.o'                    #libBin     nil              false '644' )
   306                 ( 'libcomp/libcomp.*'                        #libBin     nil              false '644' )
   413                 ( 'libhtml/libhtml.o'                        #libBin     nil              false '644' )
       
   414                 ( 'libcomp/libcomp.o'                        #libBin     nil              false '644' )
   307                 ( 'libcomp/ObjFL*.o'                         #libBin     nil              false '644' )
   415                 ( 'libcomp/ObjFL*.o'                         #libBin     nil              false '644' )
   308                 ( 'libcomp/ObjFL*.obj'                       #libBin     nil              false '644' )
   416                 ( 'libcomp/ObjFL*.obj'                       #libBin     nil              false '644' )
   309                 ( 'libcomp/ObjFL*.so'                        #libBin     nil              false '644' )
   417                 ( 'libcomp/ObjFL*.so'                        #libBin     nil              false '644' )
   310                 ( 'libview/libview.*'                        #libBin     nil              false '644' )
   418                 ( 'libview/libview.o'                        #libBin     nil              false '644' )
   311                 ( 'libview/GLX*.o'                           #libBin     nil              false '644' )
   419                 ( 'libview/GLX*.o'                           #libBin     nil              false '644' )
   312                 ( 'libview/GLX*.obj'                         #libBin     nil              false '644' )
   420                 ( 'libview/GLX*.obj'                         #libBin     nil              false '644' )
   313                 ( 'libview/GLX*.so'                          #libBin     nil              false '644' )
   421                 ( 'libview/GLX*.so'                          #libBin     nil              false '644' )
   314                 ( 'libview/XW*.o'                            #libBin     nil              false '644' )
   422                 ( 'libview/XW*.o'                            #libBin     nil              false '644' )
   315                 ( 'libview/XW*.obj'                          #libBin     nil              false '644' )
   423                 ( 'libview/XW*.obj'                          #libBin     nil              false '644' )
   316                 ( 'libview/XW*.so'                           #libBin     nil              false '644' )
   424                 ( 'libview/XW*.so'                           #libBin     nil              false '644' )
   317                 ( 'libview2/libview2.*'                      #libBin     nil              false '644' )
   425                 ( 'libview2/libview2.o'                      #libBin     nil              false '644' )
   318                 ( 'libwidg/libwidg.*'                        #libBin     nil              false '644' )
   426                 ( 'libwidg/libwidg.o'                        #libBin     nil              false '644' )
   319                 ( 'libwidg2/libwidg2.*'                      #libBin     nil              false '644' )
   427                 ( 'libwidg2/libwidg2.o'                      #libBin     nil              false '644' )
   320                 ( 'libwidg3/libwidg3.*'                      #libBin     nil              false '644' )
   428                 ( 'libwidg3/libwidg3.o'                      #libBin     nil              false '644' )
   321                 ( 'libui/libui.*'                            #libBin     nil              false '644' )
   429                 ( 'libui/libui.o'                            #libBin     nil              false '644' )
       
   430                 ( 'libjava/libjava.o'                        #libBin     nil              false '644' )
   322 
   431 
   323 "/                ( 'libsnmp/libsnmp.*'                        #libBin     nil      false '644' )
   432 "/                ( 'libsnmp/libsnmp.*'                        #libBin     nil      false '644' )
   324 "/                ( 'contrib/libPVM/libPVM.*'                  #libBin     nil      false '644' )
   433 "/                ( 'contrib/libPVM/libPVM.*'                  #libBin     nil      false '644' )
   325                 ( 'goodies/persistency/libdbase.*'           #libBin     nil      false '644' )
   434                 ( 'goodies/persistency/libdbase.o'           #libBin     nil      false '644' )
   326 "/                ( 'libtable/libtable.*'                      #libBin     nil      false '644' )
   435 "/                ( 'libtable/libtable.*'                      #libBin     nil      false '644' )
   327                 ( 'libtool/libtool.*'                        #libBin     nil      false '644' )
   436                 ( 'libtool/libtool.o'                        #libBin     nil      false '644' )
   328                 ( 'libtool2/libtool2.*'                      #libBin     nil      false '644' )
   437                 ( 'libtool2/libtool2.o'                      #libBin     nil      false '644' )
   329 "/                ( 'libxt/libxt.*'                            #libBin     nil      false '644' )
   438 "/                ( 'libxt/libxt.*'                            #libBin     nil      false '644' )
   330 "/                ( 'librt/librt.*'                            #libBin     nil      false '644' )
   439 "/                ( 'librt/librt.*'                            #libBin     nil      false '644' )
   331         ).
   440         ).
   332     ].
   441     ].
   333 
   442 
   334     installGoodyFiles ifTrue:[
   443     installGoodyFiles ifTrue:[
   335         fileSpec := fileSpec , #(
   444         fileSpec := fileSpec , #(
   336                 ( 'goodies/*.st'                             #lib     'goodies'  false '644' )
       
   337                 ( 'goodies/*.chg'                            #lib     'goodies'  false '644' )
       
   338                 ( 'goodies/rdoit/rdoit'                      #bin     nil        false '755' )
   445                 ( 'goodies/rdoit/rdoit'                      #bin     nil        false '755' )
   339                 ( 'goodies/bitmaps/rdoit'                    #lib     'goodies/bitmaps'  false '755' )
       
   340         ).
   446         ).
   341     ].
   447     ].
   342 
       
   343 
   448 
   344     ^ fileSpec
   449     ^ fileSpec
   345 
   450 
   346     "Modified: / 30.4.1999 / 18:02:22 / cg"
   451     "Modified: / 30.4.1999 / 18:02:22 / cg"
   347     "Created: / 2.5.1999 / 13:17:37 / cg"
   452     "Created: / 2.5.1999 / 13:17:37 / cg"
   348 !
   453 !
   349 
   454 
   350 specOfWindowsFilesToCopy
   455 specOfWindowsFilesToCopy
   351     |fileSpec|
   456     |fileSpec|
   352 
   457 
   353     fileSpec := #(
   458     fileSpec := self specOfCommonFilesToCopy.
       
   459 
       
   460     fileSpec := fileSpec , #(
   354                 "/ name                             destination  subDir             required       
   461                 "/ name                             destination  subDir             required       
   355                 ( 'projects\smalltalk\smalltalk.bat'    #bin     nil                  true   )
   462                 ( 'projects\smalltalk\smalltalk.bat'    #bin     nil                  true   )
   356                 ( 'projects\smalltalk\stx.exe'          #bin     nil                  true   )
   463                 ( 'projects\smalltalk\stx.exe'          #bin     nil                  true   )
   357                 ( 'projects\smalltalk\stxspawn.exe'     #bin     nil                  true   )
   464                 ( 'projects\smalltalk\stxspawn.exe'     #bin     nil                  true   )
   358                 ( 'projects\smalltalk\include'          #lib     nil                  true   )
   465                 ( 'projects\smalltalk\*.dll'            #bin     nil                  true   )
   359                 ( 'projects\smalltalk\lib*.dll'         #bin     nil                  true   )
       
   360                 ( 'projects\smalltalk\stxc3240.dll'     #bin     nil                  true   )
       
   361                 ( 'projects\smalltalk\X11.dll'          #bin     nil                  true   )
       
   362                 ( 'projects\smalltalk\Xext.dll'         #bin     nil                  true   )
       
   363                 ( 'projects\smalltalk\XWorkstat.dll'    #bin     nil                  true   )
       
   364                 ( 'projects\smalltalk\WinWorkstat.dll'  #bin     nil                  true   )
       
   365                 ( 'COPYRIGHT'                           #lib     nil                  true   )
       
   366                 ( 'projects\smalltalk\*.rc'             #bin     nil                  true   )
       
   367                 ( 'projects\smalltalk\patches'          #bin     nil                  true   )
       
   368                 ( 'projects\smalltalk\include\abbrev.stc'  #lib  'include'                  true   )
       
   369                 ( 'projects\smalltalk\include\symbols.stc' #lib  'include'                  true   )
       
   370                 ( 'projects\smalltalk\include\modules.stx' #lib  'include'                  true   )
       
   371                 ( 'projects\smalltalk\bitmaps'          #lib     nil                  true   )
       
   372                 ( 'projects\smalltalk\resources'        #lib     nil                  true   )
       
   373                 ( 'doc\online\german\LICENCE.STX.html'  #lib     'doc\online\german'  true   )
       
   374                 ( 'doc\online\english\LICENCE.STX.html' #lib     'doc\online\english' true   )
       
   375     ).
   466     ).
   376 
       
   377     installDocFiles ifTrue:[
       
   378         fileSpec := fileSpec , #(
       
   379                 ( 'doc'                                 #lib     nil        false  )
       
   380         ).
       
   381     ].
       
   382 
       
   383     installSourceFiles ifTrue:[
       
   384         fileSpec := fileSpec , #(
       
   385                 ( 'projects\smalltalk\source'   #lib     nil                    false  )
       
   386                 ( 'libbasic\*.st'               #lib     'source\libbasic'      false  )
       
   387                 ( 'libbasic2\*.st'              #lib     'source\libbasic2'     false  )
       
   388                 ( 'libbasic3\*.st'              #lib     'source\libbasic3'     false  )
       
   389                 ( 'libcomp\*.st'                #lib     'source\libcomp'       false  )
       
   390                 ( 'libview\*.st'                #lib     'source\libview'       false  )
       
   391                 ( 'libview2\*.st'               #lib     'source\libview2'      false  )
       
   392                 ( 'libwidg\*.st'                #lib     'source\libwidg'       false  )
       
   393                 ( 'libwidg2\*.st'               #lib     'source\libwidg2'      false  )
       
   394                 ( 'libwidg3\*.st'               #lib     'source\libwidg3'      false  )
       
   395                 ( 'libtool\*.st'                #lib     'source\libtool'       false  )
       
   396                 ( 'libtool2\*.st'               #lib     'source\libtool2'      false  )
       
   397                 ( 'libui\*.st'                  #lib     'source\libui'         false  )
       
   398                 ( 'libhtml\*.st'                #lib     'source\libhtml'       false  )
       
   399                 ( 'libodbc\*.st'                #lib     'source\libodbc'       false  )
       
   400                 ( 'libopengl\*.st'              #lib     'source\libopengl'     false  )
       
   401         ).
       
   402     ].
       
   403 
   467 
   404     installSTCFiles ifTrue:[
   468     installSTCFiles ifTrue:[
   405         fileSpec := fileSpec , #(
   469         fileSpec := fileSpec , #(
   406                 ( 'projects\smalltalk\stc.exe'           #bin        nil              false  )
   470                 ( 'projects\smalltalk\stc.exe'           #bin        nil              false  )
   407                 ( 'include'                              #lib        nil              false  )
       
   408                 ( 'libbc\*.lib'                          #lib        nil              false  )
   471                 ( 'libbc\*.lib'                          #lib        nil              false  )
       
   472                 ( 'rules'                                #lib        nil              false  )
   409         ).
   473         ).
   410     ].
   474     ].
   411 
   475 
   412     installGoodyFiles ifTrue:[
   476     installGoodyFiles ifTrue:[
   413         fileSpec := fileSpec , #(
   477         fileSpec := fileSpec , #(
   414                 ( 'goodies\*.st'                             #lib     'goodies'  false  )
   478                 ( 'goodies/rdoit/rdoit.exe'              #bin     nil                 false )
   415                 ( 'goodies\*.chg'                            #lib     'goodies'  false  )
       
   416                 ( 'clients\*'                                #lib     'clients'  false  )
       
   417         ).
   479         ).
   418     ].
   480     ].
   419 
       
   420 
   481 
   421     ^ fileSpec
   482     ^ fileSpec
   422 
   483 
   423     "Created: / 2.5.1999 / 13:23:06 / cg"
   484     "Created: / 2.5.1999 / 13:23:06 / cg"
   424     "Modified: / 31.5.1999 / 17:39:58 / cg"
   485     "Modified: / 31.5.1999 / 17:39:58 / cg"
   425 !
       
   426 
       
   427 xxspecOfFilesToCopy
       
   428     |fileSpec|
       
   429 
       
   430     OperatingSystem isMSWINDOWSlike ifTrue:[
       
   431         ^self specOfWindowsFilesToCopy
       
   432 
       
   433     ].
       
   434 
       
   435     fileSpec := #(
       
   436                 "/ name                             destination  subDir             required mode      
       
   437                 ( 'projects/smalltalk/smalltalk'        #bin     nil                  true  '755' )
       
   438                 ( 'projects/smalltalk/stx'              #bin     nil                  true  '755' )
       
   439                 ( 'projects/smalltalk/include'          #lib     nil                  true  '644' )
       
   440                 ( 'COPYRIGHT'                           #lib     nil                  true  '644' )
       
   441                 ( 'projects/smalltalk/*.rc'             #lib     nil                  true  '644' )
       
   442                 ( 'projects/smalltalk/patches'          #lib     nil                  true  '644' )
       
   443                 ( 'projects/smalltalk/bitmaps'          #lib     nil                  true  '644' )
       
   444                 ( 'projects/smalltalk/resources'        #lib     nil                  true  '644' )
       
   445                 ( 'projects/smalltalk/lib'              #lib     nil                  true  '644' )
       
   446                 ( 'doc/online/german/LICENCE.STX.html'  #lib     'doc/online/german'  true  '644' )
       
   447                 ( 'doc/online/english/LICENCE.STX.html' #lib     'doc/online/english' true  '644' )
       
   448     ).
       
   449 
       
   450     installDocFiles ifTrue:[
       
   451         fileSpec := fileSpec , #(
       
   452                 ( 'doc'                                  #lib     nil        false '644' )
       
   453         ).
       
   454     ].
       
   455 
       
   456     installSourceFiles ifTrue:[
       
   457         fileSpec := fileSpec , #(
       
   458                 ( 'projects/smalltalk/source'                #lib        nil        false '644' )
       
   459         ).
       
   460     ].
       
   461 
       
   462     installSTCFiles ifTrue:[
       
   463         fileSpec := fileSpec , #(
       
   464                 ( 'stc/stc'                                  #bin        nil              false '755' )
       
   465                 ( 'rules/stmkmp'                             #bin        nil              false '755' )
       
   466                 ( 'rules/stmkmf'                             #bin        nil              false '755' )
       
   467                 ( 'include'                                  #lib        nil              false '644' )
       
   468                 ( 'configurations'                           #lib        nil              false '644' )
       
   469                 ( 'configurations/PACKS'                     #lib        'configurations' false '644' )
       
   470                 ( 'configurations/my*'                       #lib        'configurations' false '644' )
       
   471                 ( 'configurations/vendor*'                   #lib        'configurations' false '644' )
       
   472                 ( 'rules'                                    #lib        nil              false '644' )
       
   473 
       
   474                 ( 'support/VGL/vogl/src/libvogl.*'           #lib        'lib'            false '644' )
       
   475                 ( 'support/VGL/vogl/src/*.h'                 #lib        'include'        false '644' )
       
   476                 ( 'support/DLD/dld-3.2.5/libdld.*'           #lib        'lib'            false '644' )
       
   477 
       
   478                 ( 'goodies/persistency/db-1.6/PORT/libdb.*'  #lib        'lib'            false '644' )
       
   479 
       
   480                 ( 'librun/librun.*'                          #libBin     nil              false '644' )
       
   481                 ( 'libbasic/libbasic.*'                      #libBin     nil              false '644' )
       
   482                 ( 'libbasic2/libbasic2.*'                    #libBin     nil              false '644' )
       
   483                 ( 'libbasic3/libbasic3.*'                    #libBin     nil              false '644' )
       
   484                 ( 'libhtml/libhtml.*'                        #libBin     nil              false '644' )
       
   485                 ( 'libcomp/libcomp.*'                        #libBin     nil              false '644' )
       
   486                 ( 'libcomp/ObjFL*.o'                         #libBin     nil              false '644' )
       
   487                 ( 'libcomp/ObjFL*.obj'                       #libBin     nil              false '644' )
       
   488                 ( 'libcomp/ObjFL*.so'                        #libBin     nil              false '644' )
       
   489                 ( 'libview/libview.*'                        #libBin     nil              false '644' )
       
   490                 ( 'libview/GLX*.o'                           #libBin     nil              false '644' )
       
   491                 ( 'libview/GLX*.obj'                         #libBin     nil              false '644' )
       
   492                 ( 'libview/GLX*.so'                          #libBin     nil              false '644' )
       
   493                 ( 'libview/XW*.o'                            #libBin     nil              false '644' )
       
   494                 ( 'libview/XW*.obj'                          #libBin     nil              false '644' )
       
   495                 ( 'libview/XW*.so'                           #libBin     nil              false '644' )
       
   496                 ( 'libview2/libview2.*'                      #libBin     nil              false '644' )
       
   497                 ( 'libwidg/libwidg.*'                        #libBin     nil              false '644' )
       
   498                 ( 'libwidg2/libwidg2.*'                      #libBin     nil              false '644' )
       
   499                 ( 'libwidg3/libwidg3.*'                      #libBin     nil              false '644' )
       
   500                 ( 'libui/libui.*'                            #libBin     nil              false '644' )
       
   501 
       
   502 "/                ( 'libsnmp/libsnmp.*'                        #libBin     nil      false '644' )
       
   503 "/                ( 'contrib/libPVM/libPVM.*'                  #libBin     nil      false '644' )
       
   504                 ( 'goodies/persistency/libdbase.*'           #libBin     nil      false '644' )
       
   505 "/                ( 'libtable/libtable.*'                      #libBin     nil      false '644' )
       
   506                 ( 'libtool/libtool.*'                        #libBin     nil      false '644' )
       
   507                 ( 'libtool2/libtool2.*'                      #libBin     nil      false '644' )
       
   508 "/                ( 'libxt/libxt.*'                            #libBin     nil      false '644' )
       
   509 "/                ( 'librt/librt.*'                            #libBin     nil      false '644' )
       
   510         ).
       
   511     ].
       
   512 
       
   513     installGoodyFiles ifTrue:[
       
   514         fileSpec := fileSpec , #(
       
   515                 ( 'goodies/*.st'                             #lib     'goodies'  false '644' )
       
   516                 ( 'goodies/*.chg'                            #lib     'goodies'  false '644' )
       
   517                 ( 'goodies/rdoit/rdoit'                      #bin     nil        false '755' )
       
   518                 ( 'goodies/bitmaps/rdoit'                    #lib     'goodies/bitmaps'  false '755' )
       
   519         ).
       
   520     ].
       
   521 
       
   522 
       
   523     ^ fileSpec
       
   524 
       
   525     "Modified: / 8.8.1997 / 18:39:06 / cg"
       
   526     "Created: / 2.5.1999 / 13:17:27 / cg"
       
   527 ! !
   486 ! !
   528 
   487 
   529 !STXInstaller methodsFor:'installing'!
   488 !STXInstaller methodsFor:'installing'!
   530 
   489 
   531 changeWritability
   490 changeWritability
   595             destDir := stxBinDir
   554             destDir := stxBinDir
   596         ] ifFalse:[
   555         ] ifFalse:[
   597             dest == #libBin ifTrue:[
   556             dest == #libBin ifTrue:[
   598                 destDir := stxLibBinDir
   557                 destDir := stxLibBinDir
   599             ] ifFalse:[
   558             ] ifFalse:[
   600                 destDir := stxLibDir
   559                 dest == #pkg ifTrue:[
       
   560                     destDir := stxPkgDir
       
   561                 ] ifFalse:[
       
   562                     dest == nil ifTrue:[
       
   563                         destDir := stxTopDir
       
   564                     ] ifFalse:[
       
   565                         destDir := stxLibDir
       
   566                     ]
       
   567                 ]
   601             ]
   568             ]
   602         ].
   569         ].
   603         
   570         
   604         destDir := destDir asFilename.
   571         destDir := destDir asFilename.
   605         subDir notNil ifTrue:[
   572         subDir notNil ifTrue:[
   683         d exists ifFalse:[
   650         d exists ifFalse:[
   684             OperatingSystem recursiveCreateDirectory:d pathName
   651             OperatingSystem recursiveCreateDirectory:d pathName
   685         ].
   652         ].
   686 
   653 
   687         d exists ifFalse:[
   654         d exists ifFalse:[
   688             errMsg := resources string:'failed to create directory: %1' with: dirName.
   655             errMsg := (resources string:'failed to create directory: %1\\Please check your permissions.' with:dirName) withCRs.
   689             stop := true
   656             stop := true
   690         ] ifTrue:[
   657         ] ifTrue:[
   691             d isDirectory ifFalse:[
   658             d isDirectory ifFalse:[
   692                 errMsg := resources string:'not a directory: %1' with:dirName.
   659                 errMsg := resources string:'not a directory: %1' with:dirName.
   693                 stop := true
   660                 stop := true
   736     k valueNamed:'CurrentVersion' put:release.
   703     k valueNamed:'CurrentVersion' put:release.
   737 
   704 
   738     k := k createSubKeyNamed:release.
   705     k := k createSubKeyNamed:release.
   739     k valueNamed:'LibDir' put:stxLibDir.
   706     k valueNamed:'LibDir' put:stxLibDir.
   740     k valueNamed:'BinDir' put:stxBinDir.
   707     k valueNamed:'BinDir' put:stxBinDir.
       
   708     k valueNamed:'DocDir' put:stxDocDir.
       
   709     k valueNamed:'PackageDirPath' put:stxPkgDir.
   741 
   710 
   742     "Modified: / 31.5.1999 / 15:24:41 / cg"
   711     "Modified: / 31.5.1999 / 15:24:41 / cg"
   743 !
   712 !
   744 
   713 
   745 createSymbolicLinks
   714 createSymbolicLinks
   802     "Created: / 25.2.1998 / 17:46:06 / cg"
   771     "Created: / 25.2.1998 / 17:46:06 / cg"
   803     "Modified: / 30.4.1999 / 18:00:43 / cg"
   772     "Modified: / 30.4.1999 / 18:00:43 / cg"
   804 !
   773 !
   805 
   774 
   806 outputInitialMessage
   775 outputInitialMessage
       
   776 ^ self.
       
   777 
   807     #(
   778     #(
   808     'Notice:'
   779     'Notice:'
   809     ''
   780     ''
   810     'During the installation, you may get error messages'
   781     'During the installation, you may get error messages'
   811     'complaining that some files where not found'
   782     'complaining that some files where not found'
   846 
   817 
   847     "Created: 2.3.1997 / 12:49:52 / cg"
   818     "Created: 2.3.1997 / 12:49:52 / cg"
   848     "Modified: 8.8.1997 / 17:47:06 / cg"
   819     "Modified: 8.8.1997 / 17:47:06 / cg"
   849 !
   820 !
   850 
   821 
   851 recursiveCopy:src to:destDir
   822 recursiveCopy:src to:dst
   852     |cmd|
   823     |cmd srcF dstF d|
   853 
   824 
   854     OperatingSystem isUNIXlike ifTrue:[
   825     srcF := src asFilename.
   855         cmd := 'cp -r ' , src , ' ' , destDir.
   826     dstF := dst asFilename.
   856         commandTraceView showCR:cmd , ' ...'.
   827 "/    OperatingSystem isUNIXlike ifTrue:[
   857         commandTraceView endEntry.
   828 "/        cmd := 'cp -r ' , src , ' ' , destDir.
   858         cmd := cmd , ' 2>&1' .
   829 "/        commandTraceView showCR:cmd , ' ...'.
   859 
   830 "/        commandTraceView endEntry.
   860         self executeCommandAndShowOutput:cmd
   831 "/        cmd := cmd , ' 2>&1' .
   861     ] ifFalse:[
   832 "/
   862         commandTraceView showCR:('copy ' , src , ' ' , destDir).
   833 "/        self executeCommandAndShowOutput:cmd
   863         commandTraceView endEntry.
   834 "/    ] ifFalse:[
   864         src includesMatchCharacters ifTrue:[
   835         (#(
   865             src asFilename directory directoryContents do:[:fileName |
   836             'CVS'
   866                 ((src asFilename baseName) match:fileName) ifTrue:[
   837             'not_delivered'
   867                     (src asFilename directory construct:fileName)
   838         ) includes:srcF baseName) ifFalse:[
   868                         recursiveCopyTo:destDir
   839             srcF baseName includesMatchCharacters ifTrue:[
       
   840                 srcF directory directoryContents do:[:fileName |
       
   841                     ((srcF baseName) match:fileName) ifTrue:[
       
   842                         (#(
       
   843                             'CVS'
       
   844                             'not_delivered'
       
   845                         ) includes:fileName) ifFalse:[
       
   846                             self recursiveCopy:(srcF directory construct:fileName) to:dstF
       
   847                         ]
       
   848                     ]
       
   849                 ]
       
   850             ] ifFalse:[
       
   851                 OperatingSystem isUNIXlike ifTrue:[
       
   852                     commandTraceView showCR:('cp ' , srcF pathName , ' ' , dstF pathName).
       
   853                 ] ifFalse:[
       
   854                     commandTraceView showCR:('copy ' , srcF pathName , ' ' , dstF pathName).
       
   855                 ].
       
   856                 commandTraceView endEntry.
       
   857 
       
   858                 srcF isDirectory ifFalse:[
       
   859                     (dstF exists and:[dstF isDirectory]) ifTrue:[
       
   860                         dstF := dstF construct:srcF baseName.
       
   861                     ].
       
   862                     srcF copyTo:dstF
       
   863                 ] ifTrue:[
       
   864                     d := dstF asFilename construct:srcF baseName.
       
   865                     (d exists) ifFalse:[
       
   866                         d makeDirectory.
       
   867                     ].
       
   868                     srcF directoryContents do:[:fileName |
       
   869                         self recursiveCopy:(srcF construct:fileName) 
       
   870                              to:d
       
   871                     ]
   869                 ]
   872                 ]
   870             ]
   873             ]
   871         ] ifFalse:[
       
   872             src asFilename recursiveCopyTo:destDir
       
   873         ]
   874         ]
   874     ]
   875 "/    ]
   875 
   876 
   876     "Created: / 31.5.1999 / 13:05:09 / cg"
   877     "Created: / 31.5.1999 / 13:05:09 / cg"
   877     "Modified: / 31.5.1999 / 13:14:19 / cg"
   878     "Modified: / 31.5.1999 / 13:14:19 / cg"
   878 ! !
   879 ! !
   879 
   880 
  1081         dark := Color black.
  1082         dark := Color black.
  1082     ].
  1083     ].
  1083 
  1084 
  1084     d := DialogBox new.
  1085     d := DialogBox new.
  1085 
  1086 
  1086     d label:(resources string:'ST/X Partial Installation').
  1087     d label:(resources string:'ST/X Standard Installation').
  1087     img := Image fromFile:'SmalltalkX.xbm'.
  1088     img := Image fromFile:'SmalltalkX.xbm'.
  1088 
  1089 
  1089     l := d addTextLabel:img.
  1090     l := d addTextLabel:img.
  1090     l adjust:#left; foregroundColor:green backgroundColor:dark.
  1091     l adjust:#left; foregroundColor:green backgroundColor:dark.
  1091 
  1092 
  1092     l := d addTextLabel:(resources string:'Smalltalk/X CD installation (partial).').
  1093     l := d addTextLabel:(resources string:'Smalltalk/X Standard installation (partial).').
  1093     l adjust:#left; backgroundColor:dark; foregroundColor:Color white.
  1094     l adjust:#left; backgroundColor:dark; foregroundColor:Color white.
  1094     d addVerticalSpace.
  1095     d addVerticalSpace.
  1095     d addVerticalSpace.
  1096     d addVerticalSpace.
  1096 
  1097 
  1097     d addHorizontalLine.
  1098     d addHorizontalLine.
  1205 
  1206 
  1206     d allViewBackground:dark.
  1207     d allViewBackground:dark.
  1207 
  1208 
  1208     d openAtCenter.
  1209     d openAtCenter.
  1209     d accepted ifTrue:[
  1210     d accepted ifTrue:[
  1210         stxInstDir := LastPartialDir := stxInstDirHolder value.
  1211         stxInstDir := LastPartialDir := stxTopDir := stxInstDirHolder value.
       
  1212         stxDocDir := stxInstDir asFilename constructString:'doc'.
  1211         stxLibDir := stxInstDir asFilename constructString:'lib'.
  1213         stxLibDir := stxInstDir asFilename constructString:'lib'.
  1212         stxLibBinDir := stxInstDir asFilename constructString:'lib'.
  1214         stxLibBinDir := stxInstDir asFilename constructString:'lib'.
  1213         stxBinDir := stxInstDir asFilename constructString:'bin'.
  1215         stxBinDir := stxInstDir asFilename constructString:'bin'.
       
  1216         stxPkgDir := stxInstDir asFilename constructString:'packages'.
  1214 
  1217 
  1215 "/        stxLibDir := LastLibDir := stxLibDirHolder value.
  1218 "/        stxLibDir := LastLibDir := stxLibDirHolder value.
  1216 "/        stxLibBinDir := LastLibBinDir := stxLibBinDirHolder value.
  1219 "/        stxLibBinDir := LastLibBinDir := stxLibBinDirHolder value.
  1217 "/        stxBinDir := LastBinDir := stxBinDirHolder value.
  1220 "/        stxBinDir := LastBinDir := stxBinDirHolder value.
  1218         installDocFiles := installDocHolder value.
  1221         installDocFiles := installDocHolder value.
  1260     d addVerticalSpace.
  1263     d addVerticalSpace.
  1261 
  1264 
  1262     d addHorizontalLine.
  1265     d addHorizontalLine.
  1263 
  1266 
  1264     l := d addTextLabel:(resources string:
  1267     l := d addTextLabel:(resources string:
  1265 'You can either perform a ' , 'full' asText allBold , ' installation, or a ' , 'partial' asText allBold ,' installation.').
  1268 'You can either perform a ' , 'full' asText allBold , ' installation, or a ' , 'standard' asText allBold ,' (partial) installation.').
  1266     l adjust:#left; backgroundColor:dark; foregroundColor:Color white.
  1269     l adjust:#left; backgroundColor:dark; foregroundColor:Color white.
  1267 
  1270 
  1268     d addVerticalSpace.
  1271     d addVerticalSpace.
  1269     d addHorizontalLine.
  1272     d addHorizontalLine.
  1270 
  1273 
  1284 
  1287 
  1285     d addVerticalSpace.
  1288     d addVerticalSpace.
  1286     d addHorizontalLine.
  1289     d addHorizontalLine.
  1287 
  1290 
  1288     l := d addTextLabel:(resources string:
  1291     l := d addTextLabel:(resources string:
  1289 'partial:' asText allBold , '
  1292 'standard:' asText allBold , '
  1290 The partial (runTime) installation requires less disk space and only copies the
  1293 The standard (runTime) installation requires less disk space and only copies the
  1291 smalltalk executable, shared libraries and support files onto your hard disk.
  1294 smalltalk executable, shared libraries and support files onto your hard disk.
  1292 This setup allows normal smalltalk development and is also useful as a runtime
  1295 This setup allows normal smalltalk development and is also useful as a runtime
  1293 environment for smalltalk applications.
  1296 environment for smalltalk applications.
  1294 However, it does not support recreation of a new smalltalk executable and/or
  1297 However, it does not support recreation of a new smalltalk executable and/or
  1295 shared binary classLibraries.
  1298 shared binary classLibraries.
  1308 
  1311 
  1309 
  1312 
  1310     d addHelpButtonFor:'STXInstaller/installHelp.html';
  1313     d addHelpButtonFor:'STXInstaller/installHelp.html';
  1311       addAbortButton; 
  1314       addAbortButton; 
  1312       addOkButton:(Button label:(resources string:'full') action:[installWhat := #full]);
  1315       addOkButton:(Button label:(resources string:'full') action:[installWhat := #full]);
  1313       addOkButtonLabelled:(resources string:'partial').
  1316       addOkButtonLabelled:(resources string:'standard').
  1314     d extent:500@500.
  1317     d extent:500@500.
  1315     d resize.    "/ compute best size ...
  1318     d resize.    "/ compute best size ...
  1316 
  1319 
  1317     d allViewBackground:dark.
  1320     d allViewBackground:dark.
  1318 
  1321