| Install the !JFShared resource directory into the !System area
| Install version 1.06
Set InstallJFAOL$Dir <Obey$Dir>
IconSprites <Obey$Dir>.!Sprites

| We /need/ MessageTrans
RMEnsure MessageTrans 0.23 RMLoad System:Modules.MsgTrans

| If JFShared isn't around then we have a problem
If "<JFShared$Path>"="" Then Error InstallJF-AOL requires JFShared to have been seen - JFShared should have been supplied with InstallJF-AOL

| Load the sample player
RMLoad <InstallJFAOL$Dir>.Samples.!Player.SampPlayer

| Load the DrawFile module
RMEnsure DrawFile 1.43 RMLoad <InstallJFAOL$Dir>.DrawFile

| We need to kill the AudioManager module if it is present
Set Flag True
RMEnsure AudioManager 0.00 Set Flag False
If "<Flag>" = "True" Then RMKill AudioManager
Unset Flag

| Now run the program
WimpSlot -min 128k -max 128k
Run <Obey$Dir>.!RunImage
