65 lines
1.8 KiB
Batchfile
65 lines
1.8 KiB
Batchfile
|
@Echo off
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD>̒<EFBFBD><CC92><EFBFBD><EFBFBD>ɊǗ<C98A><C797>҂<EFBFBD><D282><EFBFBD><EFBFBD>̃X<CC83>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
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>݁A<DD81>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><> <20><><EFBFBD>[<5B>h<EFBFBD>łȂ<C582><C882>ꍇ<EFBFBD>A<EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><> <20><><EFBFBD>[<5B>h<EFBFBD>ɕύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
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><CC83>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꍇ<EFBFBD>A<EFBFBD><41><EFBFBD>s<EFBFBD><73><EFBFBD>[<5B>h<EFBFBD>ɖ߂<C996><DF82>܂<EFBFBD><DC82>B
|
|||
|
If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
|
|||
|
Set __OrigMode=
|
|||
|
|
|||
|
If Not "A%1A" == "AA" Goto Done
|
|||
|
|
|||
|
Echo.
|
|||
|
Echo Microsoft Internet Explorer 4 <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>
|
|||
|
Echo <20><><EFBFBD>[<5B>U<EFBFBD>[<5B>̓A<CD83>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>
|
|||
|
Echo <20><><EFBFBD><EFBFBD><EFBFBD>ēx<C493><78><EFBFBD>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Echo.
|
|||
|
Echo Microsoft Internet Explorer 4.x <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
|
|||
|
|
|||
|
Rem Internet Explorer <20>̎<EFBFBD><CC8E><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>͈ꎞ<CD88><EA8E9E><EFBFBD>~<7E><><EFBFBD>Ȃ<EFBFBD><C882>ł<EFBFBD><C582><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
|||
|
Pause
|
|||
|
|
|||
|
:Done
|