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.

132 lines
4.5 KiB

  1. @Echo off
  2. Cls
  3. Rem
  4. Echo �����ڸ� ���� Corel WordPerfect Suite 8�� ��ũ��Ʈ�� ��ġ�մϴ�.
  5. Echo.
  6. Echo Net Setup�� netadmin �������� netsetup.exe�� �ҷ��� ���Դϴ�.
  7. Echo Node Setup�� net setup �Ŀ� ó������ �α׿��� ���Դϴ�.
  8. Echo **�� ��ũ��Ʈ�� net setup �� **
  9. Echo **�� node setup �� �ٽ� �����Ǿ��� �մϴ�.** (�ſ� �߿��մϴ�. Admin���� ���� ���Դϴ�)
  10. Echo.
  11. Echo �ƹ� Ű�� ������ ���ӵ˴ϴ�...
  12. Pause > Nul:
  13. cls
  14. Echo.
  15. Echo Corel WordPerfect Suite 8�� Netsetup.exe�� �����Ͽ� ��ġ�ؾ� �մϴ�.
  16. Echo.
  17. Echo Netsetup.exe�� �������� �ʾ����� ���� �����ʽÿ�(Ctrl-c�� �����ʽÿ�.)
  18. Echo �׸��� ���� �ܰ踦 �����Ͽ� ��ġ�� �ݺ��Ͻʽÿ�.
  19. Echo [������]���� WordPerfect Suite 8�� �����Ͻʽÿ�.
  20. Echo ���������� ���� [���α׷� �߰�/����]�� Ŭ���Ͻʽÿ�.
  21. Echo Corel 8 CD-ROM�� NetAdmin �����͸����� Netsetup.exe�� �����Ͻʽÿ�.
  22. Echo Corel WordPerfect Suite 8�� ���� Net Setup�� ��ġ�ʽÿ�.
  23. Echo.
  24. Echo �׷��� ������ �ƹ� Ű�� ������ ���ӵ˴ϴ�...
  25. Pause > NUL:
  26. Echo.
  27. Echo Corel WordPerfect Suite ��Ʈ��ũ ������
  28. Echo "D:\Corel"�� ��ġ���� �ʾ�����, Administrator�� Cofc8ins.cmd�� �����ϰ�
  29. Echo "D:\Corel"�� �ش� ������ ��ġ�� �����͸���
  30. Echo �ٲپ��� �մϴ�.
  31. Echo.
  32. Echo Cofc8ins.cmd ������Ʈ�� �����Ϸ��� �ƹ� Ű�� �����ʽÿ�...
  33. Pause > NUL:
  34. Notepad Cofc8ins.cmd
  35. Echo.
  36. Pause
  37. Call Cofc8ins.cmd
  38. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  39. If "%_CHKROOT%" == "FAIL" Goto Done
  40. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  41. If "%_SETPATHS%" == "FAIL" Goto Done
  42. ..\acsr "#WPSINST#" "%WPSINST%" Template\Coffice8.key Coffice8.key
  43. ..\acsr "#WPSINST#" "%WPSINST%" ..\Logon\Template\Cofc8usr.cmd %temp%\Cofc8usr.tmp
  44. ..\acsr "#WPSINSTCMD#" "%WPSINST%\Suite8\Corel WordPerfect Suite 8 Setup.lnk" %temp%\Cofc8usr.tmp ..\Logon\Cofc8usr.cmd
  45. Del %temp%\Cofc8usr.tmp >Nul: 2>&1
  46. FindStr /I Cofc8Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  47. If Not ErrorLevel 1 Goto Skip0
  48. Echo Call Cofc8Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  49. :Skip0
  50. Echo ġ����: Node ��ġ�� �����ϼ̽��ϱ�?
  51. Echo ġ����: ���� �� Net setup�� �Ϸ�������
  52. Echo ġ����: ���� Node setup�� �����ؾ� �մϴ�.
  53. Echo ġ����: ���� �ܰ迡 ���� Node setup�� �����Ͻʽÿ�:
  54. Echo ġ����: 1. Control-C�� ���� �� ��ũ��Ʈ�� �����ʽÿ�.
  55. Echo ġ����: 2. �α׿����ϰ� Admin���� �α����Ͻʽÿ�.
  56. Echo ġ����: 3. [���α׷� �߰�/����]���� [ã�ƺ���] ������ �����Ͽ�
  57. Echo ġ����: (�Ǵ� ������/��ġ ���� ���濡��]
  58. Echo ġ����: \corel\Suite 8\Corel WordPerfect Suite 8 ��ġ �ٷ� ���⸦ �����Ͻʽÿ�.
  59. Echo ġ����: 4. ��ġ�ϴ� ���� �������� %RootDrive%�� �����Ͻʽÿ�.
  60. Echo ġ����: 5. Node Setup�� ��ģ �� �� ��ũ��Ʈ�� �ٽ� �����Ͻʽÿ�.
  61. Rem Administrator��
  62. Rem Corel WordPerfect Suite 8 Node Setup�� ��ģ �� �� ��ũ��Ʈ�� �ٽ� �����ؾ� �մϴ�.
  63. Rem.
  64. Rem Administrator�� Node Setup�� �Ϸ����� �ʾ����� Ctrl-C�� ����
  65. Rem ��ũ��Ʈ�� ������ �α׿����Ͻʽÿ�. Administrator�� �ٽ� �α׿��ϰ�
  66. Rem Corel WordPerfect Suite Node setup�� �����ϰ� ���� ���α׷���
  67. Rem ������ Ȩ �����͸�: %RootDrive%�� ��ġ�Ͻʽÿ�.
  68. Rem.
  69. Echo �׷��� ������ �ƹ� Ű�� ������ ���ӵ˴ϴ�...
  70. Pause > NUL:
  71. If Not Exist "%COMMON_START_MENU%\Corel WordPerfect Suite 8" Goto skip1
  72. Move "%COMMON_START_MENU%\Corel WordPerfect Suite 8" "%USER_START_MENU%\" > NUL: 2>&1
  73. :skip1
  74. If Not Exist "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK" Goto skip2
  75. Move "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK" "%USER_STARTUP%\" > NUL: 2>&1
  76. :skip2
  77. Rem ���� ��ġ ���忡 ���� ������ ��ġ ������ �����մϴ�.
  78. Set __OrigMode=Install
  79. ChgUsr /query > Nul:
  80. if Not ErrorLevel 101 Goto Begin
  81. Set __OrigMode=Exec
  82. Change User /Install > Nul:
  83. :Begin
  84. regini COffice8.key > Nul:
  85. Rem ���� ���尡 ���� ���忴����, ���� ������ �ٽ� �����մϴ�.
  86. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  87. Set __OrigMode=
  88. Rem IDAPI ������ �ִ� ������ �����մϴ�.
  89. Rem �� ��ũ��Ʈ ���� CACLS ���ɾ��� NTFS�� ���˵� ��Ƽ�ǿ����� ������ �� �ֽ��ϴ�.
  90. Cacls "%UserProfile%\Corel\Suite8\Shared\Idapi\idapi.cfg" /E /T /G "Authenticated Users":C > Nul: 2>&1
  91. Move "%UserProfile%\Corel\Suite8\Shared\Idapi\idapi.cfg" "%WPSINST%\Suite8\Shared\Idapi\" > NUL: 2>&1
  92. Del /F /Q "%UserProfile%\Corel\Suite8\Shared\Idapi"
  93. Echo Corel WordPerfect Suite 8 ���� ������ ���� ���α׷� ������ �Ϸ��߽��ϴ�.
  94. Echo.
  95. Echo Administrator�� Node Setup ���� ������ ������ ��ġ
  96. Echo ������ ������ �� �ֽ��ϴ�. �ڼ��� ������ �¶��� ������ �аų�
  97. Echo Corel �� ����Ʈ�� �����Ͻʽÿ�.
  98. Echo http://www.corel.com/support/netadmin/admin8/Installing_to_a_client.htm
  99. Echo.
  100. Pause
  101. :Done