159 lines
5.1 KiB
Batchfile
159 lines
5.1 KiB
Batchfile
|
@Echo Off
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem %RootDrive% <20><><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>̃X<CC83>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>p<EFBFBD>ɐݒ肳<DD92><E882B3><EFBFBD>Ă<EFBFBD><C482>邱<EFBFBD>Ƃ<EFBFBD><C682>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
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 <20>ꑾ<EFBFBD>Y Office 8 <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD>擾<EFBFBD><E693BE><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
..\ACRegL %Temp%\ioffice8.Cmd ITARO8INS "HKLM\SOFTWARE\Justsystem\Common\SETUP\Folder" "Just" ""
|
|||
|
If Not ErrorLevel 1 Goto Cont0
|
|||
|
Echo.
|
|||
|
Echo <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ꑾ<EFBFBD>Y Office 8 <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD>擾<EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B
|
|||
|
Echo <20>ꑾ<EFBFBD>Y Office 8 <20><><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>邱<EFBFBD>Ƃ<EFBFBD><C682>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
|||
|
Echo.
|
|||
|
Pause
|
|||
|
Goto Done
|
|||
|
|
|||
|
:Cont0
|
|||
|
Call %Temp%\ioffice8.Cmd
|
|||
|
Del %Temp%\ioffice8.Cmd > Nul: 2>&1
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK 11 <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD>擾<EFBFBD><E693BE><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
..\ACRegL %Temp%\atok11.Cmd ATOK11INS "HKLM\SOFTWARE\Justsystem\Common\SETUP\Folder" "Atok11" ""
|
|||
|
If Not ErrorLevel 1 Goto Cont1
|
|||
|
Echo.
|
|||
|
Echo <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ATOK 11 <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD>擾<EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B
|
|||
|
Echo ATOK 11 <20><><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>邱<EFBFBD>Ƃ<EFBFBD><C682>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
|||
|
Echo.
|
|||
|
Pause
|
|||
|
Goto Done
|
|||
|
|
|||
|
:Cont1
|
|||
|
Call %Temp%\atok11.Cmd
|
|||
|
Del %Temp%\atok11.Cmd > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD>s<EFBFBD>O<EFBFBD><4F> <20>ꑾ<EFBFBD>Y Office 8 <20><><EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꍇ<EFBFBD>ɍ쐬<C98D><EC90AC><EFBFBD><EFBFBD><EFBFBD>郌<EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD>
|
|||
|
Rem <20>폜<EFBFBD><ED8F9C><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
regini ioffice8.key > Nul:
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20>ꑾ<EFBFBD>Y Office 8 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[ <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKLM<4C>ύX<CF8D><58><EFBFBD>j
|
|||
|
Rem
|
|||
|
|
|||
|
..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\ioffice8.Reg ioffice8.Reg
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20>ꑾ<EFBFBD>Y Office 8 <20><><EFBFBD>}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[<5B>Ŏg<C58E>p<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>悤<EFBFBD><E682A4>
|
|||
|
Rem <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKLM<4C>ύX<CF8D><58><EFBFBD>j
|
|||
|
Rem
|
|||
|
|
|||
|
regedit /s ioffice8.Reg
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20>ꑾ<EFBFBD>Y Office 8 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[ <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKCU<43>ύX<CF8D><58><EFBFBD>j
|
|||
|
Rem
|
|||
|
|
|||
|
..\acsr "#ROOTDRIVE#" "%RootDrive%" ..\Logon\Template\Itr8Usr.Reg ..\Logon\Itr8Usr.Reg
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20>ꑾ<EFBFBD>Y Office 8 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[ <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKLM->HKCU<43>j
|
|||
|
Rem
|
|||
|
|
|||
|
regedit /a ..\Logon\Itr8Usr2.tmp HKEY_LOCAL_MACHINE\SOFTWARE\Justsystem
|
|||
|
..\acsr "HKEY_LOCAL_MACHINE\SOFTWARE\Justsystem" "HKEY_CURRENT_USER\Software\Justsystem" ..\Logon\Itr8Usr2.tmp ..\Logon\Itr8Usr2.Reg
|
|||
|
Del ..\Logon\Itr8Usr2.tmp > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK11PV.INI <20><><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
copy "%SystemRoot%\ATOK11W.INI" "%ITARO8INS%\ATOK11\ATOK11PV.INI" > Nul: 2>&1
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK11PV.INI <20><><EFBFBD>}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[<5B>d<EFBFBD>l<EFBFBD>ɕύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
..\acsr "%ATOK11INS%" "%RootDrive%\JUST\ATOK11" "%ATOK11INS%\ATOK11PV.INI" "%ATOK11INS%\ATOK11PV.tmp1"
|
|||
|
Del "%ATOK11INS%\ATOK11PV.INI" > Nul: 2>&1
|
|||
|
..\acsr "<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=%RootDrive%\JUST\ATOK11" "<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=%ATOK11INS%" "%ATOK11INS%\ATOK11PV.tmp1" "%ATOK11INS%\ATOK11PV.tmp2"
|
|||
|
Del "%ATOK11INS%\ATOK11PV.tmp1" > Nul: 2>&1
|
|||
|
..\acsr "<EFBFBD>⏕<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P=%RootDrive%\JUST\ATOK11" "<EFBFBD>⏕<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P=%ATOK11INS%" "%ATOK11INS%\ATOK11PV.tmp2" "%ATOK11INS%\ATOK11PV.INI"
|
|||
|
Del "%ATOK11INS%\ATOK11PV.tmp2" > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20><><EFBFBD>ׂẴ<C482><CC83>[<5B>U<EFBFBD>[<5B>p<EFBFBD>̃X<CC83>^<5E>[<5B>g<EFBFBD>A<EFBFBD>b<EFBFBD>v <20><><EFBFBD>j<EFBFBD><6A><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>풓<EFBFBD><ED9293><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD><76><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>폜
|
|||
|
Rem <20><><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̓<EFBFBD><CD83>\<5C>[<5B>X<EFBFBD><58><EFBFBD>W<EFBFBD><57><EFBFBD>g<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>̂ŁA<C581>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>̃p<CC83>t<EFBFBD>H<EFBFBD>[<5B>}<7D><><EFBFBD>X<EFBFBD><58>
|
|||
|
Rem <20>傫<EFBFBD><E582AB><EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD> <20>G<EFBFBD><47><EFBFBD>[<5B><EFBFBD><F094AD90><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
If Exist "%COMMON_STARTUP%\JS<4A><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̧<EFBFBD><CCA7> <20><><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>V.LNK" Del "%COMMON_STARTUP%\JS<4A><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̧<EFBFBD><CCA7> <20><><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>V.LNK"
|
|||
|
Rem If Exist "%COMMON_STARTUP%\Office8<65><38><EFBFBD><EFBFBD><EFBFBD>ް.LNK" Del "%COMMON_STARTUP%\Office8<65><38><EFBFBD><EFBFBD><EFBFBD>ް.LNK"
|
|||
|
Rem If Exist "%COMMON_STARTUP%\<5C>ꑾ<EFBFBD>Y<EFBFBD>W.LNK" Del "%COMMON_STARTUP%\<5C>ꑾ<EFBFBD>Y<EFBFBD>W.LNK"
|
|||
|
Rem If Exist "%COMMON_STARTUP%\<5C>O<EFBFBD>l<EFBFBD>Y<EFBFBD>W.LNK" Del "%COMMON_STARTUP%\<5C>O<EFBFBD>l<EFBFBD>Y<EFBFBD>W.LNK"
|
|||
|
Rem If Exist "%COMMON_STARTUP%\FullBand.LNK" Del "%COMMON_STARTUP%\FullBand.LNK"
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem <20>N<EFBFBD>C<EFBFBD>b<EFBFBD>N<EFBFBD>T<EFBFBD>[<5B>`<60>t<EFBFBD>@<40>C<EFBFBD><43>(QUF)<29>X<EFBFBD>V<EFBFBD>Ď<EFBFBD> <20>𒆎~<7E><><EFBFBD>邽<EFBFBD>߂ɁA
|
|||
|
Rem <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
Ren "%ITARO8INS%\JSLIB32\JSQSF32.EXE" JSQSF32.E_E > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem Itr8Usr.Cmd <20><> UsrLogn2.Cmd <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>ɒlj<C992><C789><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
FindStr /I Itr8Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
|
|||
|
If Not ErrorLevel 1 Goto Skip1
|
|||
|
Echo Call Itr8Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
|
|||
|
|
|||
|
:Skip1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Echo.
|
|||
|
Echo <20>ꑾ<EFBFBD>Y Office 8 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɍ쓮<C98D><EC93AE><EFBFBD>邽<EFBFBD>߂ɂ́A<CD81><41><EFBFBD>݃<EFBFBD><DD83>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>郆<EFBFBD>[<5B>U<EFBFBD>[<5B><>
|
|||
|
Echo <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɁA<C981><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<F1838D83>I<EFBFBD>t<EFBFBD><74><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ēx<C493><78><EFBFBD>O<EFBFBD>I<EFBFBD><49>
|
|||
|
Echo <20><><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Echo.
|
|||
|
Echo <20>ꑾ<EFBFBD>Y Office 8 <20>̃}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[ <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C28B>ݒ肪<DD92><E882AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
|
|||
|
Pause
|
|||
|
|
|||
|
:Done
|