74 lines
2 KiB
Batchfile
74 lines
2 KiB
Batchfile
|
@Echo off
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20><><EFBFBD>[<5B>U<EFBFBD>[<5B>̃z<CC83>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃA<C983>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ŗL<C597>̃f<CC83>[<5B>^
|
|||
|
Rem <20>̃f<CC83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
call TsMkUDir "%RootDrive%\Office43"
|
|||
|
call TsMkUDir "%RootDrive%\Office43\Access"
|
|||
|
call TsMkUDir "%RootDrive%\Office43\Winword"
|
|||
|
|
|||
|
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Normal.dot <20><> Winword.opt <20>͍폜<CD8D><ED8F9C><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
|
|||
|
If Not Exist "#OFC43INST#\Winword\Normal.dot" Goto cont0
|
|||
|
Del /F /Q "#OFC43INST#\Winword\Normal.dot" > NUL: 2>&1
|
|||
|
:cont0
|
|||
|
|
|||
|
If Not Exist "#OFC43INST#\Winword\Winword.opt" Goto cont1
|
|||
|
Del /F /Q "#OFC43INST#\Winword\Winword.opt" > NUL: 2>&1
|
|||
|
:cont1
|
|||
|
|
|||
|
Rem
|
|||
|
Rem Access <20>E<EFBFBD>B<EFBFBD>U<EFBFBD>[<5B>h<EFBFBD>p<EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
If Exist "%RootDrive%\Office43\Access\wztable.mda" Goto skip1
|
|||
|
If Not Exist "#OFC43INST#\Access\wztable.mda" Goto skip1
|
|||
|
copy "#OFC43INST#\Access\wztable.mda" "%RootDrive%\Office43\Access\" > NUL: 2>&1
|
|||
|
|
|||
|
:skip1
|
|||
|
|
|||
|
If Exist "%RootDrive%\Office43\Access\wzlib.mda" Goto skip2
|
|||
|
If Not Exist "#OFC43INST#\Access\wzlib.mda" Goto skip2
|
|||
|
copy "#OFC43INST#\Access\wzlib.mda" "%RootDrive%\Office43\Access\" > NUL: 2>&1
|
|||
|
|
|||
|
:skip2
|
|||
|
|
|||
|
If Exist "%RootDrive%\Office43\Access\wzbldr.mda" Goto skip3
|
|||
|
If Not Exist "#OFC43INST#\Access\wzbldr.mda" Goto skip3
|
|||
|
copy "#OFC43INST#\Access\wzbldr.mda" "%RootDrive%\Office43\Access\" > NUL: 2>&1
|
|||
|
|
|||
|
:skip3
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20>e<EFBFBD><65><EFBFBD>[<5B>U<EFBFBD>[<5B>̃J<CC83>X<EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
If Exist "%RootDrive%\Office43\Custom.dic" Goto skip4
|
|||
|
If Not Exist "%SystemRoot%\Msapps\Proof\Custom.dic" Goto skip4
|
|||
|
copy "%SystemRoot%\Msapps\Proof\Custom.dic" "%RootDrive%\Office43" > NUL: 2>&1
|
|||
|
|
|||
|
:skip4
|
|||
|
|
|||
|
Rem
|
|||
|
Rem Access <20>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD> <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B><> Office <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>փR<D683>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
If Exist "%RootDrive%\Office43\Access\System.mda" Goto skip5
|
|||
|
If Not Exist "#OFC43INST#\Access\System.mda" Goto skip5
|
|||
|
copy "#OFC43INST#\Access\System.mda" "%RootDrive%\Office43\Access\" > NUL: 2>&1
|
|||
|
|
|||
|
:skip5
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20>g<EFBFBD><67><EFBFBD>@<40>\<5C>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[<5B><><EFBFBD>K<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>}<7D>b<EFBFBD>v<EFBFBD>͂<EFBFBD><CD82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[<5B>ɑ<C991><CE82>ē<EFBFBD><C493>삵<EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
|
|||
|
|
|||
|
If Exist "%RootDrive%\Windows\Ofc43usr.dmy" Goto skip6
|
|||
|
regini ofc43usr.key > NUL:
|
|||
|
copy NUL: "%RootDrive%\Windows\Ofc43usr.dmy" > NUL: 2>&1
|
|||
|
attrib +h "%RootDrive%\Windows\Ofc43usr.dmy" > NUL: 2>&1
|
|||
|
|
|||
|
:skip6
|
|||
|
|