:: Install RM Traveller - by The RIC Group (C) Copyright 2004
SET RMINSTALL=RMTravellerInstall.rep

@echo off
::if not exist "c:\winapps"
md "c:\winapps"  >> %RMINSTALL%
copy myobrm.ini "c:\winapps"  >> %RMINSTALL%
copy RICGRMTraveller.config.ini "c:\winapps"  >> %RMINSTALL%
copy ricgrmtraveller.exe "c:\winapps"  >> %RMINSTALL%
copy rm.mdb "c:\winapps"  >> %RMINSTALL%
copy tsr-tu3a.exe "c:\winapps"  >> %RMINSTALL%
::copy RICGRMTraveller "c:\winapps"
::if not exist "c:\winapps\ricgdlls"
md "c:\winapps\ricgdlls"  >> %RMINSTALL%
copy threed32.ocx "c:\winapps\ricgdlls"  >> %RMINSTALL%
copy GAUGE32.ocx "c:\winapps\ricgdlls"  >> %RMINSTALL%
copy ricgcommon.dll "c:\winapps\ricgdlls"  >> %RMINSTALL%
copy ricgadomyobrm.dll "c:\winapps\ricgdlls"  >> %RMINSTALL%

@echo off
if not exist "c:\Documents and Settings\All Users\Desktop" goto W98
copy RICGRMTraveller.lnk "c:\Documents and Settings\All Users\Desktop"  >> %RMINSTALL%
md "C:\Documents and Settings\All Users\Start Menu\Programs\RICG RMTraveller"  >> %RMINSTALL%
copy RICGRMTraveller.lnk "C:\Documents and Settings\All Users\Start Menu\Programs\RICG RMTraveller"  >> %RMINSTALL%
goto End
:W98
copy RICGRMTraveller.lnk "c:\Windows\Desktop"  >> %RMINSTALL%
md "c:\Windows\Start Menu\Programs\RICG RMTraveller"  >> %RMINSTALL%
copy RICGRMTraveller.lnk "c:\Windows\Start Menu\Programs\RICG RMTraveller"  >> %RMINSTALL%
:End
REGSVR32 "c:\winapps\ricgdlls\threed32.ocx" /s  >> %RMINSTALL%
REGSVR32 "c:\winapps\ricgdlls\gauge32.ocx" /s  >> %RMINSTALL%
REGSVR32 "c:\winapps\ricgdlls\ricgcommon.dll" /s  >> %RMINSTALL%
REGSVR32 "c:\winapps\ricgdlls\ricgadomyobrm.dll" /s  >> %RMINSTALL%
cls
echo Done!
echo The RIC Group - for software that works...