1 ; AROS-DOS script for installing Scalos on AROS
3 ; $VER: InstallAROS 1.0 (26.12.2011)
7 Set target=`RequestFile DRAWER Extras: TITLE "Choose directory for Scalos" SAVEMODE DRAWERSONLY`
9 RequestChoice "Information" "Script cancelled" "OK"
13 Set target="$target$subdir"
16 Set result=`RequestChoice "Warning" "Directory $target already exists.*NIt will be deleted if you continue!" "Continue|Cancel"`
18 RequestChoice "Information" "Script cancelled" "OK" >NIL:
27 Copy Scalos Scalos.info History readme.txt LEGAL "$target"
28 Copy IconDatatypes "$target/IconDatatypes" ALL
29 Copy Libs "$target/Libs" ALL
30 Copy Modules "$target/Modules" ALL
31 Copy Plugins "$target/Plugins" ALL
32 Copy Prefs "$target/Prefs" ALL
33 Copy S "$target/S" ALL
34 Copy Themes "$target/Themes" ALL
35 Copy Tools "$target/Tools" ALL
39 Copy Envarc:SYS/def_Drawer.info "$target//Scalos.info"
41 Copy Envarc:SYS/def_Drawer.info "$target/Modules.info"
42 Copy Envarc:SYS/def_Drawer.info "$target/Prefs.info"
43 Copy Envarc:SYS/def_Drawer.info "$target/Tools.info"
45 Copy Envarc:SYS/def_Tool.info "$target/Modules/Delete.module.info"
46 Copy Envarc:SYS/def_Tool.info "$target/Modules/Empty_Trashcan.module.info"
47 Copy Envarc:SYS/def_Tool.info "$target/Modules/Exchange.module.info"
48 Copy Envarc:SYS/def_Tool.info "$target/Modules/Execute_Command.module.info"
49 Copy Envarc:SYS/def_Tool.info "$target/Modules/Find.module.info"
50 Copy Envarc:SYS/def_Tool.info "$target/Modules/Format_Disk.module.info"
51 Copy Envarc:SYS/def_Tool.info "$target/Modules/IconProperties.module.info"
52 Copy Envarc:SYS/def_Tool.info "$target/Modules/Information.module.info"
53 Copy Envarc:SYS/def_Tool.info "$target/Modules/NewDrawer.module.info"
54 Copy Envarc:SYS/def_Tool.info "$target/Modules/Rename.module.info"
55 Copy Envarc:SYS/def_Tool.info "$target/Modules/Updater.module.info"
56 Copy Envarc:SYS/def_Tool.info "$target/Modules/WindowProperties.module.info"
58 Copy Envarc:SYS/def_Tool.info "$target/Prefs/Scalos_FileTypes.info"
59 Copy Envarc:SYS/def_Tool.info "$target/Prefs/Scalos_Menu.info"
60 Copy Envarc:SYS/def_Tool.info "$target/Prefs/Scalos_Palette.info"
61 Copy Envarc:SYS/def_Tool.info "$target/Prefs/Scalos_Pattern.info"
62 Copy Envarc:SYS/def_Tool.info "$target/Prefs/Scalos_Prefs.info"
66 Set result=`RequestChoice "Request" "Do you want to copy the catalogs?" "Yes|No"`
68 Copy Catalogs Locale:Catalogs ALL
73 If Not Exists ENVARC:Scalos
77 Copy Env-Archive/deficons.prefs ENVARC:
78 Copy Env-Archive/Scalos/icandy ENVARC:Scalos
79 Copy Env-Archive/Scalos/Palette13.prefs ENVARC:Scalos
80 Copy Env-Archive/Scalos/Pattern.prefs ENVARC:Scalos
81 Copy Env-Archive/Scalos/Persist.prefs ENVARC:Scalos
82 Copy Env-Archive/Scalos/scalos.prefs ENVARC:Scalos
84 Set result=`RequestChoice "Request" "In what language do you want to install the environment?" "German|French|English"`
86 Copy Env-Archive/Scalos/Deutsch/#? ENVARC:Scalos ALL
89 Copy Env-Archive/Scalos/Français/#? ENVARC:Scalos ALL
91 Copy Env-Archive/Scalos/English/#? ENVARC:Scalos ALL
96 ; Create package variable
97 Echo "$target" >ENVARC:SYS/Packages/Scalos
100 RequestChoice "Information" "Done. After a reset you should be able to start Scalos." "OK" >NIL: