home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 46 / CDPowerplay46Disc2.iso / utils / xqxset55 / _SETUP.3 / Group7 / setup.cmd < prev   
Encoding:
Text File  |  1999-10-02  |  873 b   |  56 lines

  1. @echo off
  2. cls
  3.  
  4. SET N_PATH=%0\..\
  5. SET S_PATH=%N_PATH%..\system\
  6. SET M_PATH=%N_PATH%..\
  7. SET RSRV_CMD=%S_PATH%Regsvr32.exe /s /c
  8. SET SF=
  9.  
  10. IF EXIST %N_PATH%CONFIG.REG GOTO step2
  11. GOTO no_config_reg
  12.  
  13. :step2
  14. echo.
  15. echo Starting SETUP....
  16. echo.
  17.  
  18. SET SF=%S_PATH%Msscript.ocx
  19. echo Registering %SF%
  20. %RSRV_CMD% "%SF%"
  21.  
  22. SET SF=%S_PATH%Stdvcl32.dll
  23. echo Registering %SF%
  24. %RSRV_CMD% "%SF%"
  25.  
  26. SET SF=%M_PATH%XQXSetup.DLL
  27. echo Registering %SF%
  28. %RSRV_CMD% "%SF%"
  29.  
  30. echo Merging registry files
  31. regedit /s %S_PATH%xset.reg
  32. regedit /s %S_PATH%xsettool.reg
  33. regedit /s %N_PATH%CONFIG.REG
  34.  
  35. echo.
  36. echo Setup finished - You can use X-Setup 
  37. echo by starting the file "XQXSetup.exe"
  38. echo.
  39. echo.
  40. goto bye
  41.  
  42.  
  43.  
  44. :no_config_reg
  45.  echo. 
  46.  echo *** ERROR ****
  47.  echo.
  48.  echo File CONFIG.REG not found, unable to continue
  49.  echo.
  50.  echo. 
  51. goto bye
  52.  
  53.  
  54. :bye
  55. pause
  56.