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.

163 lines
5.8 KiB

  1. @Echo Off
  2. Rem #########################################################################
  3. Rem
  4. Rem %RootDrive%�� �����Ǿ����� Ȯ���ϰ� �� ��ũ��Ʈ�� ���� �����մϴ�.
  5. Rem
  6. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  7. If "%_CHKROOT%" == "FAIL" Goto Done
  8. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  9. If "%_SETPATHS%" == "FAIL" Goto Done
  10. Rem #########################################################################
  11. Rem
  12. Rem ������Ʈ������ Office 95 ��ġ ��ġ�� �����ϴ�. ������ ������,
  13. Rem Office�� ��ġ�Ǿ� ���� �ʴ� ������ �����ϰ� ���� �޽����� ǥ���մϴ�.
  14. Rem
  15. ..\ACRegL %Temp%\O95.Cmd O95INST "HKLM\Software\Microsoft\Microsoft Office\95\InstallRoot" "" ""
  16. If Not ErrorLevel 1 Goto Cont0
  17. ..\ACRegL %Temp%\O95.Cmd O95INST "HKLM\Software\Microsoft\Microsoft Office\95\InstallRootPro" "" ""
  18. If Not ErrorLevel 1 Goto Cont0
  19. Echo.
  20. Echo ������Ʈ������ Office 95 ��ġ ��ġ�� �˻����� ���߽��ϴ�.
  21. Echo Office 95�� ��ġ�Ǿ� �ִ��� Ȯ���ϰ� �� ��ũ��Ʈ��
  22. Echo �ٽ� �����Ͻʽÿ�.
  23. Echo.
  24. Pause
  25. Goto Done
  26. :Cont0
  27. Call %Temp%\O95.Cmd
  28. Del %Temp%\O95.Cmd >Nul: 2>&1
  29. Rem #########################################################################
  30. Rem
  31. Rem ���� �����ڿ� ���� [����] �޴����� [���� ã��]�� �����մϴ�. [���� ã��]��
  32. Rem ���ҽ��� ���� �ʿ��ϹǷ� �ý��� ���ɿ� ������ �ݴϴ�.
  33. Rem ���� ������ �޴� �� ���� ������ �޴��� �� Ȯ���� �ʿ䰡 �ֽ��ϴ�.
  34. Rem �ý����� ���� ������ ���ƿԴ��� �ƴ����� ���� ��Ÿ���� �޴���
  35. Rem �ٸ� �� �ֽ��ϴ�.
  36. Rem
  37. If Not Exist "%USER_STARTUP%\Microsoft Office Find Fast Indexer.lnk" Goto Cont1
  38. Del "%USER_STARTUP%\Microsoft Office Find Fast Indexer.lnk" >Nul: 2>&1
  39. :Cont1
  40. If Not Exist "%COMMON_STARTUP%\Microsoft Office Find Fast Indexer.lnk" Goto Cont2
  41. Del "%COMMON_STARTUP%\Microsoft Office Find Fast Indexer.lnk" >Nul: 2>&1
  42. :Cont2
  43. Rem #########################################################################
  44. Rem
  45. Rem PowerPoint �� Binder ������ ���� ������ �����͸��� �����Ͽ�
  46. Rem �����ڰ� �α����� �� �� �������� Ȩ �����͸��� ������ �� �ְ� �մϴ�.
  47. Rem
  48. If Not Exist "%ALLUSERSPROFILE%\%TEMPLATES%\BINDER70.OBD" copy "%UserProfile%\%TEMPLATES%\BINDER70.OBD" "%ALLUSERSPROFILE%\%TEMPLATES%\" /Y >Nul: 2>&1
  49. If Not Exist "%ALLUSERSPROFILE%\%TEMPLATES%\PPT70.PPT" copy "%UserProfile%\%TEMPLATES%\PPT70.PPT" "%ALLUSERSPROFILE%\%TEMPLATES%" /Y >Nul: 2>&1
  50. Rem #########################################################################
  51. Rem
  52. Rem ������Ʈ�� Ű�� �����Ͽ� ���ΰ� ������ ������ �����͸��� ����Ű���� �մϴ�.
  53. Rem
  54. Rem ���� ��ġ ���忡 ���� ������ ��ġ ������ �����մϴ�.
  55. Set __OrigMode=Install
  56. ChgUsr /query > Nul:
  57. if Not ErrorLevel 101 Goto Begin
  58. Set __OrigMode=Exec
  59. Change User /Install > Nul:
  60. :Begin
  61. Set __SharedTools=Shared Tools
  62. If Not "%PROCESSOR_ARCHITECTURE%"=="ALPHA" goto acsrCont1
  63. If Not Exist "%ProgramFiles(x86)%" goto acsrCont1
  64. Set __SharedTools=Shared Tools (x86)
  65. :acsrCont1
  66. ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\Office95.Key Office95.Tmp
  67. ..\acsr "#__SharedTools#" "%__SharedTools%" Office95.Tmp Office95.Tmp2
  68. ..\acsr "#INSTDIR#" "%O95INST%" Office95.Tmp2 Office95.Tmp3
  69. ..\acsr "#MY_DOCUMENTS#" "%MY_DOCUMENTS%" Office95.Tmp3 Office95.Key
  70. Del Office95.Tmp >Nul: 2>&1
  71. Del Office95.Tmp2 >Nul: 2>&1
  72. Del Office95.Tmp3 >Nul: 2>&1
  73. regini Office95.key > Nul:
  74. Rem ���� ���尡 ���� ���忴����, ���� ������ �ٽ� �����մϴ�.
  75. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  76. Set __OrigMode=
  77. Rem #########################################################################
  78. Rem
  79. Rem Ofc95Usr.Cmd�� ������Ʈ�Ͽ� ���� ��ġ �����͸��� �ݿ��ϰ� �̸�
  80. Rem UsrLogn2.Cmd ��ũ��Ʈ�� �߰��մϴ�.
  81. Rem
  82. ..\acsr "#INSTDIR#" "%O95INST%" ..\Logon\Template\Ofc95Usr.Cmd ..\Logon\Ofc95Usr.Cmd
  83. FindStr /I Ofc95Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  84. If Not ErrorLevel 1 Goto Skip1
  85. Echo Call Ofc95Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  86. :Skip1
  87. Rem #########################################################################
  88. If Not Exist "%RootDrive%\Windows\ArtGalry.Cag" Goto EchoCont
  89. If Not "%PROCESSOR_ARCHITECTURE%"=="ALPHA" goto CAGx86
  90. If Not Exist "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Artgalry\ArtGalry.cag" copy "%RootDrive%\Windows\ArtGalry.Cag" "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Artgalry" /y
  91. goto EchoCont3
  92. :CAGx86
  93. If Not Exist "%ProgramFiles%\Common Files\Microsoft Shared\Artgalry\ArtGalry.cag" copy "%RootDrive%\Windows\ArtGalry.Cag" "%ProgramFiles%\Common Files\Microsoft Shared\Artgalry" /y
  94. goto EchoCont3
  95. :EchoCont
  96. Echo.
  97. Echo administrator�� ���� ������ Clip Art Gallery ������Ʈ ������ ��ġ�ؾ� �մϴ�.
  98. If Not "%PROCESSOR_ARCHITECTURE%"=="ALPHA" goto EchoCont1
  99. If Not Exist "%ProgramFiles(x86)%" goto EchoCont1
  100. Echo %systemdrive%\Program Files (x86)\Common Files\Microsoft Shared\Artgalry.
  101. goto EchoCont2
  102. :EchoCont1
  103. Echo %systemdrive%\Program Files\Common Files\Microsoft Shared\Artgalry.
  104. :EchoCont2
  105. Echo Clip Art Gallery 2.0a�� ������ �ֽ��ϴ�.
  106. Echo.
  107. Echo http://support.microsoft.com/support/downloads/dp2115.asp
  108. Echo.
  109. Echo Clip Art Gallery�� ������Ʈ�� ��, administrator�� ����
  110. Echo ���� �ܰ踦 �����Ͽ� Clip Art Gallery�� �ʱ�ȭ�ؾ� �մϴ�:
  111. Echo - �α׿����ϰ� �ٽ� �α׿��Ͻʽÿ�.
  112. Echo - Word�� �����ϰ� [��ü ����]�� �����Ͻʽÿ�.
  113. Echo - Microsoft ClipArt Gallery�� �����Ͻʽÿ�.
  114. Echo - Ŭ�� ��Ʈ�� ���������� [Ȯ��]�� �����ʽÿ�.
  115. Echo - ClipArt Gallery �� Word�� �����ʽÿ�.
  116. Echo - %systemdir%\Application Compatibility Scripts\Install\Office95.cmd�� �ٽ� �����Ͻʽÿ�.
  117. Echo - �α׿����Ͻʽÿ�.
  118. Echo.
  119. Pause
  120. :EchoCont3
  121. Echo.
  122. Echo Office 95�� �ùٸ��� �۾��ϱ� ����
  123. Echo ���� �α׿µǾ� �ִ� �����ڰ� �α׿����ϰ� �ٽ� �α׿��� ��
  124. Echo Office 95 ���� ���α׷��� �����ؾ� �մϴ�.
  125. Echo.
  126. Echo Microsoft Office 95 ���� ������ ���� ���α׷� ���� �Ϸ�
  127. Pause
  128. :Done