Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

  1. @echo off
  2. rem
  3. rem SetupBuddy.cmd: This script creates the Remote control Buddy channel
  4. rem under help center
  5. rem History:
  6. rem Rajesh Soy (nsoy) - created, 06/28/2000
  7. rem
  8. rem
  9. rem Set the Expert Channel Directory
  10. rem
  11. set SrcDir="\\steveshi02\nt$\admin\pchealth\helpctr\rc"
  12. rem SrcDir="%SDXROOT%\admin\pchealth\helpctr\rc"
  13. set BuddyChannelDir="%SystemRoot%\PCHealth\helpctr\vendors\CN=Microsoft Corporation,L=Redmond,S=Washington,C=US\rcBuddy"
  14. set SysDir="%SystemRoot%\PCHealth\helpctr\system"
  15. rem
  16. rem Create the Buddy Channel Directory
  17. rem
  18. mkdir %BuddyChannelDir%
  19. rem
  20. rem Copy the Files
  21. rem
  22. copy %SrcDir%\bdychannel\UI_IM\*.htm %BuddyChannelDir%
  23. copy %SrcDir%\bdychannel\UI_IM\*.gif %BuddyChannelDir%
  24. copy %SrcDir%\bdychannel\UI_IM\*.css %BuddyChannelDir%
  25. copy %SrcDir%\rctool\UI_IM\chatserver.htm %BuddyChannelDir%
  26. copy %SrcDir%\rctool\UI_IM\*.css %BuddyChannelDir%
  27. copy %SrcDir%\rctool\UI_IM\*.gif %BuddyChannelDir%
  28. rem
  29. rem Copy the config file
  30. rem copy %SrcDir%\bdychannel\*.xml %SystemRoot%\PCHealth\helpctr\config
  31. rem
  32. rem Setup DirectPlay stuff
  33. pushd .
  34. copy %SrcDir%\..\target\obj\i386\rcIMLby.exe %SystemRoot%\System32
  35. copy %SrcDir%\..\target\obj\i386\rcIMCtl.dll %SystemRoot%\System32
  36. cd /d %SystemRoot%\System32
  37. rcIMLby.exe -regserver
  38. regsvr32 rcIMCtl.dll
  39. popd