| >!Run file for SoftSetup
|  RISCOS Ltd, 2003

IconSprites <Obey$Dir>.!Sprites

RMEnsure UtilityModule 4.00 Error SoftSetup requires RISC OS 4.00 or later

IF "<Choices$Write>" = "" OR "<Boot$Path>" = "" THEN Error SoftSetup requires a Boot application to have been run

Set SoftloadSetup$Dir <Obey$Dir>

| The requirements here are those set by RISC OS 4.00 and later
| This ensures that if the Softload Setup tool is run in the 'old'
| boot sequence, it still functions properly.
Set Alias$EnsureToolbox RMEnsure %%0 %%1 RMLoad System:Modules.Toolbox.%%2|MRMEnsure %%0 %%1 Error SoftSetup requires module %%0 version %%1 or later
EnsureToolbox Toolbox         1.36 Toolbox
EnsureToolbox TextGadgets     0.19 TextGadget
EnsureToolbox DCS             1.06 DCS_Quit
EnsureToolbox Window          1.31 Window

WimpSlot -min 56K -max 56K
Run <SoftloadSetup$Dir>.!RunImage %*0