Source code of Windows XP (NT5)
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
3.5 KiB

  1. @Echo Off
  2. Cls
  3. Rem #########################################################################
  4. Rem
  5. Rem %ROOTDRIVE%�� �����Ǿ����� Ȯ���ϰ� �� ��ũ��Ʈ�� ���� �����մϴ�.
  6. Rem
  7. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  8. If "%_CHKROOT%" == "FAIL" Goto Done
  9. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  10. If "%_SETPATHS%" == "FAIL" Goto Done
  11. Rem #########################################################################
  12. Rem
  13. Rem ������Ʈ������ Visio ��ġ ��ġ�� �����ϴ�.
  14. Rem Visio�� ���� ����: Standard/Technical/Professional
  15. Rem
  16. Set VisioVer=Standard
  17. ..\ACRegL %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Standard\5.0" "InstallDir" ""
  18. If Not ErrorLevel 1 Goto Cont0
  19. Set VisioVer=Technical
  20. ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Technical\5.0" "InstallDir" ""
  21. If Not ErrorLevel 1 Goto Cont0
  22. Set VisioVer=Professional
  23. ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Professional\5.0" "InstallDir" ""
  24. If Not ErrorLevel 1 Goto Cont0
  25. Set VisioVer=Enterprise
  26. ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Enterprise\5.0" "InstallDir" ""
  27. If Not ErrorLevel 1 Goto Cont0
  28. Set VisioVer=TechnicalPlus
  29. ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Technical 5.0 Plus\5.0" "InstallDir" ""
  30. If Not ErrorLevel 1 Goto Cont0
  31. Set VisioVer=ProfessionalAndTechnical
  32. ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Professional and Technical\5.0" "InstallDir" ""
  33. If Not ErrorLevel 1 Goto Cont0
  34. Rem
  35. Rem ��ġ�� ������ �˻����� ���߽��ϴ�.
  36. Rem
  37. Echo.
  38. Echo ������Ʈ������ Visio 5.0 ��ġ ��ġ�� �˻��� �� �����ϴ�.
  39. Echo Visio 5.0�� ��ġ�Ǿ� �ִ��� Ȯ���ϰ� �� ��ũ��Ʈ�� �ٽ� �����Ͻʽÿ�.
  40. Echo.
  41. Pause
  42. Goto Done
  43. Rem
  44. Rem VSO5INST ������ Visio ��ġ �����͸��� �����մϴ�.
  45. Rem
  46. :Cont0
  47. Call %Temp%\Vso.cmd
  48. Del %Temp%\Vso.cmd >NUL: 2>&1
  49. Rem
  50. Rem ���� ������ ��ġ�Ǿ� �ִ��� ǥ���մϴ�.
  51. Rem
  52. Echo.
  53. Echo Vision %VisioVer% ������ ã�ҽ��ϴ�.
  54. Echo.
  55. Rem
  56. Rem ���� �����͸��� ������ ���� My Documents�� �����մϴ�.
  57. Rem ������ My Documents�� ��ġ���� �ʽ��ϴ�.
  58. Rem
  59. ..\Aciniupd /e "%VSO5INST%\System\Visio.ini" "Application" "DrawingsPath" "%ROOTDRIVE%\%MY_DOCUMENTS%"
  60. Rem
  61. Rem ������ ���� ���� ����
  62. Rem Office ������ ��ġ�Ǿ� ������ Visio.ini �׸��� Office custom.dic�� ����Ű���� �����մϴ�.
  63. Rem �׷��� ������ APP_DATA�� �����մϴ�.
  64. Rem
  65. ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Office\9.0\Common\InstallRoot" "" ""
  66. If Not ErrorLevel 1 Goto Off2000
  67. ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Office\8.0\Common\InstallRoot" "" ""
  68. If Not ErrorLevel 1 Goto Off97
  69. ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Microsoft Office\95\InstallRoot" "" ""
  70. If Not ErrorLevel 1 Goto Off95
  71. ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Microsoft Office\95\InstallRootPro" "" ""
  72. If Not ErrorLevel 1 Goto Off95
  73. Rem �������� ������, Office ������ ��ġ�Ǿ� ���� �ʽ��ϴ�.
  74. Set CustomDicPath=%ROOTDRIVE%\%APP_DATA%
  75. goto SetCusIni
  76. :Off2000
  77. Rem Office 2000�� ��ġ�Ǿ����ϴ�.
  78. set CustomDicPath=%ROOTDRIVE%\%APP_DATA%\Microsoft\Proof
  79. goto SetCusIni
  80. :Off97
  81. Rem Office97�� ��ġ�Ǿ����ϴ�.
  82. set CustomDicPath=%ROOTDRIVE%\Office97
  83. goto SetCusIni
  84. :Off95
  85. Rem Office95�� ��ġ�Ǿ����ϴ�.
  86. Set CustomDicPath=%ROOTDRIVE%\Office95
  87. :SetCusIni
  88. Rem Visio.ini ���� ������ ���� ���� �׸���
  89. Rem MS ��å�� ���� �����Ͻʽÿ�.
  90. ..\Aciniupd /e "%VSO5INST%\System\Visio.ini" "Application" "UserDictionaryPath1" "%CustomDicPath%\Custom.Dic"
  91. Set CustomDicPath=
  92. Rem
  93. Rem ���������� �����˴ϴ�.
  94. Rem
  95. Echo.
  96. Echo Visio 5.0 ���� ������ ���� ���α׷� ���� �Ϸ�
  97. Echo.
  98. Pause
  99. :Done