@Echo Off Rem Rem Âü°í: ÀÌ ½ºÅ©¸³Æ® ³»ÀÇ CACLS ¸í·É¾î´Â NTFS·Î Æ÷¸ËµÈ ÆÄƼ¼Ç¿¡¼­¸¸ Rem »ç¿ëµÉ ¼ö ÀÖ½À´Ï´Ù. Rem Rem ######################################################################### Rem Rem »ç¿ëÀÚ ÇÁ·ÎÆÄÀÏ¿¡¼­ Corel Office 7 µð·ºÅ͸®¸¦ »èÁ¦ÇÕ´Ï´Ù. Rem ¸ÕÀú, us Æú´õ°¡ All Users Profile¿¡ º¹»çµÇµµ·Ï Rem »ç¿ëÀÚ¸¦ ½ÇÇà ¸ðµå·Î °¡°Ô ÇÕ´Ï´Ù. Rem Rem ÇöÀç ½ÇÇà ¸ðµå¿¡ ÀÖÁö ¾ÊÀ¸¸é ¼³Ä¡ ¸ðµå·Î º¯°æÇÕ´Ï´Ù. ChgUsr /query > Nul: if ErrorLevel 101 Goto Begin1 Set __OrigMode=Install Change User /Execute > Nul: :Begin1 Rem ¿ø·¡ ¸ðµå°¡ ¼³Ä¡ ¸ðµåÀ̾úÀ¸¸é ¼³Ä¡ ¸ðµå·Î °©´Ï´Ù. If "%__OrigMode%" == "Install" Change User /Install > Nul: Set __OrigMode= 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 ######################################################################### Rmdir "%USER_START_MENU%\Corel Office 7" /Q >Nul: 2>&1 Rem Rem »ç¿ëÀÚ°¡ Å° ÆÄÀÏÀ» ¼öÁ¤ÇÏ´Â °ÍÀ» µµ¿Í ÁÝ´Ï´Ù. Rem if "%RootDrive%"=="w:" goto PostDriveChange if "%RootDrive%"=="W:" goto PostDriveChange Echo Ȩ µð·ºÅ͸®°¡ coffice7.key ÆÄÀÏ¿¡ ¼³Á¤µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù. Echo. Echo ´ÙÀ½ ´Ü°è¸¦ µû¸£½Ê½Ã¿À: Echo 1) ´ÙÀ½ Ç¥¿¡¼­ Ȩ µð·ºÅ͸®¿¡ ´ëÇÑ ASCII °ªÀ» ã¾Æ º¸½Ê½Ã¿À. Echo »ç¿ëÀÚÀÇ È¨ µð·ºÅ͸®´Â %RootDrive%ÀÔ´Ï´Ù. Echo. Echo A = 61 E = 65 I = 69 M = 6D Q = 71 U = 75 Y = 79 Echo B = 62 F = 66 J = 6A N = 6E R = 72 V = 76 Z = 7A Echo C = 63 G = 67 K = 6B O = 6F S = 73 W = 77 Echo D = 64 H = 68 L = 6C P = 70 T = 74 X = 78 Echo. Echo 2) Notepad°¡ ½ÃÀÛµÇ¸é ¸ðµç 77À» Echo 1 ´Ü°è¿¡¼­ ãÀº °ªÀ¸·Î º¯°æÇϽʽÿÀ. Echo Âü°í: ¹Ù²Ù´Â ÀÛ¾÷ µ¿¾È ºÒÇÊ¿äÇÑ ºó Ä­ÀÌ Ãß°¡µÇÁö ¾Ê´ÂÁö È®ÀÎÇϽʽÿÀ. Echo 3) ÆÄÀÏÀ» ÀúÀåÇÏ°í ³¡³»½Ê½Ã¿À. ÀÌ ½ºÅ©¸³Æ®°¡ °è¼ÓµË´Ï´Ù. Echo. Pause NotePad "%SystemRoot%\Application Compatibility Scripts\Install\coffice7.key" :PostDriveChange Rem ÇöÀç ¼³Ä¡ ¸ðµå¿¡ ÀÖÁö ¾ÊÀ¸¸é ¼³Ä¡ ¸ðµå·Î º¯°æÇÕ´Ï´Ù. Set __OrigMode=Install ChgUsr /query > Nul: if Not ErrorLevel 101 Goto Begin2 Set __OrigMode=Exec Change User /Install > Nul: :Begin2 regini COffice7.key > Nul: Rem ¿ø·¡ ¸ðµå°¡ ½ÇÇà ¸ðµå¿´À¸¸é, ½ÇÇà ¸ðµå·Î ´Ù½Ã º¯°æÇÕ´Ï´Ù. If "%__OrigMode%" == "Exec" Change User /Execute > Nul: Set __OrigMode= Rem ######################################################################### Rem Rem ·Î±×¿Â ½ºÅ©¸³Æ®¸¦ ¼öÁ¤ÇÏ¿© ¼³Ä¡ À§Ä¡¿¡¼­ iBase µ¥ÀÌÅͺ£À̽º¸¦ º¹»çÇÕ´Ï´Ù. Rem ..\ACRegL %Temp%\COffice7.Cmd COffice7Loc "HKLM\Software\PerfectOffice\Products\InfoCentral\7" "ExeLocation" "StripChar\2" If ErrorLevel 1 Goto InstallError Call %Temp%\COffice7.Cmd Del %Temp%\COffice7.Cmd >Nul: 2>&1 ..\ACIniUpd /e "%COffice7Loc%\ICWin7\Local\Wpic.ini" Preferences Last_IBase "%RootDrive%\Personal\iBases\Personal\Personal" If ErrorLevel 1 Goto InstallError ..\acsr "#COFFICE7INST#" "%COffice7Loc%\\" ..\Logon\Template\cofc7usr.Cmd ..\Logon\cofc7usr.Cmd If ErrorLevel 1 Goto InstallError goto PostInstallError :InstallError Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Corel Office 7 ¼³Ä¡ À§Ä¡¸¦ °Ë»öÇÒ ¼ö ¾ø½À´Ï´Ù. Echo Corel Office 7ÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¸¦ Echo ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :PostInstallError Rem ######################################################################### Rem Rem WordPerfect ÅÛÇø´À» Àбâ Àü¿ëÀ¸·Î º¯°æÇÕ´Ï´Ù. Rem º¯°æÇϱâ Àü¿¡ »ç¿ëÀÚ°¡ º¹»çÇϵµ·Ï °­¿äÇÕ´Ï´Ù. Rem ´Ù¸¥ ¹æ¹ýÀº °¢ »ç¿ëÀÚ°¡ °³ÀÎÀûÀÎ ÅÛÇø´ µð·ºÅ͸®¸¦ Rem Á¦°øÇϵµ·Ï ÇÏ´Â °ÍÀÔ´Ï´Ù. Rem attrib +r %COffice7Loc%\Template\*wpt /s >Nul: 2>&1 Rem ######################################################################### Rem Rem COfc7Usr.Cmd¸¦ UsrLogn2.Cmd ½ºÅ©¸³Æ®¿¡ Ãß°¡ÇÕ´Ï´Ù. Rem FindStr /I COfc7Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1 If Not ErrorLevel 1 Goto Skip1 Echo Call COfc7Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd :Skip1 Rem ######################################################################### Rem Rem "Personal" µð·ºÅ͸®°¡ ¾øÀ¸¸é ¸¸µì´Ï´Ù. Rem AdminÀÌ ¾Æ·¡ Ç¥½ÃµÈ ´ë·Î ¼öµ¿À¸·Î ´Ü°è¸¦ ½ÇÇàÇØ¾ß ÇϹǷΠÁö±Ý Rem ¿Ï·áµÇ¾î¾ß ÇÕ´Ï´Ù. Rem If Not Exist "%RootDrive%\Personal" Md "%RootDrive%\Personal" Rem ######################################################################### cls Echo. Echo Quattro Pro ±âº» µð·ºÅ͸®¸¦ ´ÙÀ½ ´Ü°è¿¡ µû¶ó Echo ¼öµ¿À¸·Î º¯°æÇØ¾ß ÇÕ´Ï´Ù: Echo 1) ¸í·ÉÁÙ¿¡¼­ 'change user /install'À» ÀÔ·ÂÇϽʽÿÀ. Echo 2) Quattro Pro¸¦ ½ÃÀÛÇϽʽÿÀ. Echo 3) "ÆíÁý-¿ì¼± ¼³Á¤" ¸Þ´º Ç׸ñÀ» ¼±ÅÃÇϽʽÿÀ. Echo 4) "ÆÄÀÏ ¿É¼Ç" ÅÇÀ¸·Î °¡½Ê½Ã¿À. Echo 5) µð·ºÅ͸®¸¦ %RootDrive%\Personal·Î º¯°æÇϽʽÿÀ. Echo 6) ÇÁ·Î±×·¥À» ¸¶Ä¡½Ê½Ã¿À. Echo 7) ¸í·ÉÁÙ¿¡¼­ 'change user /execute'¸¦ ÀÔ·ÂÇϽʽÿÀ. Echo. pause Echo. Echo Corel Office 7ÀÌ ¿Ã¹Ù¸£°Ô ÀÛ¾÷Çϱâ À§ÇØ Echo ÇöÀç ·Î±×¿ÂµÇ¾î ÀÖ´Â »ç¿ëÀÚ°¡ ·Î±×¿ÀÇÁÇÏ°í ´Ù½Ã ·Î±×¿ÂÇÑ ÈÄ Echo ÀÀ¿ë ÇÁ·Î±×·¥À» ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù. Echo. Echo Corel Office 7 ´ÙÁß »ç¿ëÀÚ ÀÀ¿ë ÇÁ·Î±×·¥ Á¶Á¤ ¿Ï·á Pause :Done