74 lines
2 KiB
Batchfile
74 lines
2 KiB
Batchfile
|
@Echo off
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȩ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
|||
|
Rem
|
|||
|
|
|||
|
call TsMkUDir "%RootDrive%\Office43"
|
|||
|
call TsMkUDir "%RootDrive%\Office43\Access"
|
|||
|
call TsMkUDir "%RootDrive%\Office43\Winword"
|
|||
|
|
|||
|
Rem Normal.dot <20><> Winword.opt<70><74> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
|
|||
|
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><><EFBFBD><EFBFBD><EFBFBD>翡 <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
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><> <20><><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
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>ɼ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> User<65><72> office <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
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 Ȯ<><C8AE> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> Ű<><C5B0> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD> <20><><EFBFBD>ε<EFBFBD><CEB5><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.
|
|||
|
|
|||
|
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
|
|||
|
|