65 lines
1.6 KiB
Batchfile
65 lines
1.6 KiB
Batchfile
|
@Echo off
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20><>ġ <20><> Administrator<6F><72> <20><> <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD> <20>մϴ<D5B4>.
|
|||
|
Rem
|
|||
|
|
|||
|
CD /D "%SystemRoot%\Application Compatibility Scripts\Install" > NUL: 2>&1
|
|||
|
|
|||
|
If Not "A%1A" == "AA" Goto cont0
|
|||
|
|
|||
|
Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
|
|||
|
If "%_CHKROOT%" == "FAIL" Goto Done
|
|||
|
|
|||
|
:cont0
|
|||
|
|
|||
|
If "A%1A" == "AA" ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\msie40.key msie40.key
|
|||
|
..\acsr "#SYSTEMROOT#" "%SystemRoot%" Template\msie40s.key msie40s.key
|
|||
|
|
|||
|
If Exist "%SystemRoot%\Setup.ini" Goto Cont2
|
|||
|
Copy NUL: "%SystemRoot%\Setup.ini" > NUL: 2>&1
|
|||
|
|
|||
|
:Cont2
|
|||
|
Cacls "%SystemRoot%\Setup.ini" /E /T /G "Authenticated Users":F >Nul: 2>&1
|
|||
|
|
|||
|
If Exist "%SystemRoot%\Setup.old" Goto Cont3
|
|||
|
Copy NUL: "%SystemRoot%\Setup.old" > NUL: 2>&1
|
|||
|
|
|||
|
:Cont3
|
|||
|
Attrib +r "%SystemRoot%\Setup.old" > NUL: 2>&1
|
|||
|
|
|||
|
FindStr /I Msie4Usr %SystemRoot%\System32\UsrLogn1.Cmd >Nul: 2>&1
|
|||
|
If Not ErrorLevel 1 Goto Cont4
|
|||
|
Echo Call Msie4Usr.Cmd >> %SystemRoot%\System32\UsrLogn1.Cmd
|
|||
|
|
|||
|
:Cont4
|
|||
|
|
|||
|
Rem <20><><EFBFBD><EFBFBD> <20><>ġ <20><><EFBFBD>忡 <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ġ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
Set __OrigMode=Install
|
|||
|
ChgUsr /query > Nul:
|
|||
|
if Not ErrorLevel 101 Goto Begin
|
|||
|
Set __OrigMode=Exec
|
|||
|
Change User /Install > Nul:
|
|||
|
:Begin
|
|||
|
|
|||
|
If "A%1A" == "AA" regini Msie40.key > Nul:
|
|||
|
regini Msie40s.key > NUL:
|
|||
|
|
|||
|
Rem <20><><EFBFBD><EFBFBD> <20><><EFBFBD>尡 <20><><EFBFBD><EFBFBD> <20><><EFBFBD>忴<EFBFBD><E5BFB4><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ٽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
|
|||
|
Set __OrigMode=
|
|||
|
|
|||
|
If Not "A%1A" == "AA" Goto Done
|
|||
|
|
|||
|
Echo.
|
|||
|
Echo MS IE 4<><34> <20>ùٸ<C3B9><D9B8><EFBFBD> <20>۾<EFBFBD><DBBE>ϱ<EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
Echo <20><><EFBFBD><EFBFBD> <20>αµǾ<C2B5> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD> <20>α<CEB1><D7BF><EFBFBD><EFBFBD>ϰ<EFBFBD> <20>ٽ<EFBFBD> <20>α<CEB1><D7BF><EFBFBD> <20><>
|
|||
|
Echo <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD> <20>մϴ<D5B4>.
|
|||
|
Echo.
|
|||
|
Echo Microsoft Internet Explorer 4.x <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1> <20><><EFBFBD><EFBFBD> <20>Ϸ<EFBFBD>
|
|||
|
|
|||
|
Rem IE AutoInstall <20><><EFBFBD><EFBFBD> <20>Ͻ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ʽÿ<CABD>.
|
|||
|
Pause
|
|||
|
|
|||
|
:Done
|