@Echo Off Cls Rem ######################################################################### Rem Rem %ROOTDRIVE%°¡ ±¸¼ºµÇ¾ú´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¿¡ ´ëÇØ ¼³Á¤ÇÕ´Ï´Ù. Rem Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd" If "%_CHKROOT%" == "FAIL" Goto Done Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd" If "%_SETPATHS%" == "FAIL" Goto Done Rem ######################################################################### Rem Rem ·¹Áö½ºÆ®¸®¿¡¼­ Visio ¼³Ä¡ À§Ä¡¸¦ ¾ò½À´Ï´Ù. Rem VisioÀÇ ¿©·¯ ¹öÀü: Standard/Technical/Professional Rem Set VisioVer=Standard ..\ACRegL %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Standard\5.0" "InstallDir" "" If Not ErrorLevel 1 Goto Cont0 Set VisioVer=Technical ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Technical\5.0" "InstallDir" "" If Not ErrorLevel 1 Goto Cont0 Set VisioVer=Professional ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Professional\5.0" "InstallDir" "" If Not ErrorLevel 1 Goto Cont0 Set VisioVer=Enterprise ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Enterprise\5.0" "InstallDir" "" If Not ErrorLevel 1 Goto Cont0 Set VisioVer=TechnicalPlus ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Technical 5.0 Plus\5.0" "InstallDir" "" If Not ErrorLevel 1 Goto Cont0 Set VisioVer=ProfessionalAndTechnical ..\ACRegl %Temp%\Vso.cmd VSO5INST "HKLM\Software\Visio\Visio Professional and Technical\5.0" "InstallDir" "" If Not ErrorLevel 1 Goto Cont0 Rem Rem ¼³Ä¡µÈ ¹öÀüÀ» °Ë»öÇÏÁö ¸øÇß½À´Ï´Ù. Rem Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Visio 5.0 ¼³Ä¡ À§Ä¡¸¦ °Ë»öÇÒ ¼ö ¾ø½À´Ï´Ù. Echo Visio 5.0ÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¸¦ ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done Rem Rem VSO5INST º¯¼ö¿¡ Visio ¼³Ä¡ µð·ºÅ͸®¸¦ ¼³Á¤ÇÕ´Ï´Ù. Rem :Cont0 Call %Temp%\Vso.cmd Del %Temp%\Vso.cmd >NUL: 2>&1 Rem Rem ¾î´À ¹öÀüÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö Ç¥½ÃÇÕ´Ï´Ù. Rem Echo. Echo Vision %VisioVer% ¹öÀüÀ» ã¾Ò½À´Ï´Ù. Echo. Rem Rem ÀúÀå µð·ºÅ͸®¿¡ »ç¿ëÀÚ ´ÜÀ§ My Documents¸¦ ¼³Á¤ÇÕ´Ï´Ù. Rem »ç¿ëÀÚ My Documents¸¦ ¼³Ä¡ÇÏÁö ¾Ê½À´Ï´Ù. Rem ..\Aciniupd /e "%VSO5INST%\System\Visio.ini" "Application" "DrawingsPath" "%ROOTDRIVE%\%MY_DOCUMENTS%" Rem Rem »ç¿ëÀÚ Á¤ÀÇ »çÀü °ü¸® Rem Office ¹öÀüÀÌ ¼³Ä¡µÇ¾î ÀÖÀ¸¸é Visio.ini Ç׸ñÀÌ Office custom.dicÀ» °¡¸®Å°µµ·Ï ¼³Á¤ÇÕ´Ï´Ù. Rem ±×·¸Áö ¾ÊÀ¸¸é APP_DATA·Î ¼³Á¤ÇÕ´Ï´Ù. Rem ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Office\9.0\Common\InstallRoot" "" "" If Not ErrorLevel 1 Goto Off2000 ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Office\8.0\Common\InstallRoot" "" "" If Not ErrorLevel 1 Goto Off97 ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Microsoft Office\95\InstallRoot" "" "" If Not ErrorLevel 1 Goto Off95 ..\ACRegL %Temp%\Off.Cmd OFFINST "HKLM\Software\Microsoft\Microsoft Office\95\InstallRootPro" "" "" If Not ErrorLevel 1 Goto Off95 Rem ¿©±â±îÁö ¿ÔÀ¸¸é, Office ¹öÀüÀÌ ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù. Set CustomDicPath=%ROOTDRIVE%\%APP_DATA% goto SetCusIni :Off2000 Rem Office 2000ÀÌ ¼³Ä¡µÇ¾ú½À´Ï´Ù. set CustomDicPath=%ROOTDRIVE%\%APP_DATA%\Microsoft\Proof goto SetCusIni :Off97 Rem Office97ÀÌ ¼³Ä¡µÇ¾ú½À´Ï´Ù. set CustomDicPath=%ROOTDRIVE%\Office97 goto SetCusIni :Off95 Rem Office95°¡ ¼³Ä¡µÇ¾ú½À´Ï´Ù. Set CustomDicPath=%ROOTDRIVE%\Office95 :SetCusIni Rem Visio.ini ³»ÀÇ »ç¿ëÀÚ Á¤ÀÇ »çÀü Ç׸ñÀ» Rem MS Á¤Ã¥¿¡ ¶§¶ó º¯°æÇϽʽÿÀ. ..\Aciniupd /e "%VSO5INST%\System\Visio.ini" "Application" "UserDictionaryPath1" "%CustomDicPath%\Custom.Dic" Set CustomDicPath= Rem Rem ¼º°øÀûÀ¸·Î Á¾·áµË´Ï´Ù. Rem Echo. Echo Visio 5.0 ´ÙÁß »ç¿ëÀÚ ÀÀ¿ë ÇÁ·Î±×·¥ Á¶Á¤ ¿Ï·á Echo. Pause :Done