| !Run file for ROSBink 1.36

| First clean up possible 'left overs' from earlier installations...

Unset ROSBink*

| Run our !Boot file to set up the right pointers...

Run <Obey$Dir>.!Boot

| Some modules which are absolutely necessary...

RMEnsure Internet 0.00 Error ROSBink requires the Internet module
RMEnsure Resolver 0.00 Error ROSBink requires the Resolver module

| These are equally important, but may be found elsewhere...

RMEnsure CryptRandom 0.13 IfThere System:Modules.CryptRand Then RMLoad System:Modules.CryptRand
RMEnsure CryptRandom 0.13 RMLoad <ROSBink$Dir>.Resources.CryptRand
RMEnsure CryptRandom 0.13 Error CryptRandom not found or too old

RMEnsure SGL 1.43 IfThere System:Modules.SGL Then RMLoad System:Modules.SGL
RMEnsure SGL 1.43 RMLoad <ROSBink$Dir>.Resources.SGL
RMEnsure SGL 1.43 Error Shared General Library not found or too old

| Start up SysLog if it isn't already running. This is required as well.

If "<SysLog$Dir>"="" Then Error SysLog application not seen by filer
RMEnsure SysLog 0.17 Run <SysLog$Dir>.!Run
RMEnsure SysLog 0.17 Error ROSBink needs SysLog 0.17 or later

| Locate the language/country dependent resources using ResFind...

Run <ROSBink$Dir>.Resources.ResFind ROSBink

| Remove a possible path variable from the Choices variable...

Run <ROSBink$Dir>.Resources.Canonical ROSBink$Choices

| Set the wimp slot and start the program...

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