/**/

    path = word( arg( 1 ), 1 );

    call    RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
    call    SysLoadFuncs

    Class       = "WPFolder"
    Title       = "Future Wave"
    Location    = "<WP_DESKTOP>"
    Objmode     = "Update"
    SetupString = "NOPRINT=YES;"
    SetupString = SetupString || "OBJECTID=<WP_FutureWave>;"

    ret = SysCreateObject( Class, Title, Location, SetupString, Objmode );

    if ret = 1 then do
       Class       = "WPProgram"
       Title       = "Future Wave Editor"
       Location    = "<WP_FutureWave>"
       Objmode     = "Update"
       SetupString = "NOPRINT=YES;"
       SetupString = SetupString || "OBJECTID=<WP_FutureWaveEditor>;"
       SetupString = SetupString || "EXENAME="path"Fwe.EXE;"

       ret = SysCreateObject( Class, Title, Location, SetupString, Objmode );


       Class       = "WPProgram"
       Title       = "Uninstall Future Wave Editor"
       Location    = "<WP_FutureWave>"
       Objmode     = "Update"
       SetupString = "NOPRINT=YES;"
       SetupString = SetupString || "OBJECTID=<WP_FutureWaveEditor_Install>;"
       SetupString = SetupString || "EXENAME="path"FweInst.EXE;"

       ret = SysCreateObject( Class, Title, Location, SetupString, Objmode );
    end

    call    SysDropFuncs

    exit
