Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.8 KiB

  1. @Echo off
  2. Rem
  3. Rem �C���X�g�[���̒����ɊǗ��҂����̃X�N���v�g�����s�����K�v�������܂��B
  4. Rem
  5. CD /D "%SystemRoot%\Application Compatibility Scripts\Install" > NUL: 2>&1
  6. If Not "A%1A" == "AA" Goto cont0
  7. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  8. If "%_CHKROOT%" == "FAIL" Goto Done
  9. :cont0
  10. If "A%1A" == "AA" ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\msie40.key msie40.key
  11. ..\acsr "#SYSTEMROOT#" "%SystemRoot%" Template\msie40s.key msie40s.key
  12. If Exist "%SystemRoot%\Setup.ini" Goto Cont2
  13. Copy NUL: "%SystemRoot%\Setup.ini" > NUL: 2>&1
  14. :Cont2
  15. Cacls "%SystemRoot%\Setup.ini" /E /T /G "Authenticated Users":F >Nul: 2>&1
  16. If Exist "%SystemRoot%\Setup.old" Goto Cont3
  17. Copy NUL: "%SystemRoot%\Setup.old" > NUL: 2>&1
  18. :Cont3
  19. Attrib +r "%SystemRoot%\Setup.old" > NUL: 2>&1
  20. FindStr /I Msie4Usr %SystemRoot%\System32\UsrLogn1.Cmd >Nul: 2>&1
  21. If Not ErrorLevel 1 Goto Cont4
  22. Echo Call Msie4Usr.Cmd >> %SystemRoot%\System32\UsrLogn1.Cmd
  23. :Cont4
  24. Rem ���݁A�C���X�g�[�� ���[�h�łȂ��ꍇ�A�C���X�g�[�� ���[�h�ɕύX���܂��B
  25. Set __OrigMode=Install
  26. ChgUsr /query > Nul:
  27. if Not ErrorLevel 101 Goto Begin
  28. Set __OrigMode=Exec
  29. Change User /Install > Nul:
  30. :Begin
  31. If "A%1A" == "AA" regini Msie40.key > Nul:
  32. regini Msie40s.key > NUL:
  33. Rem ���̃��[�h�����s���[�h�������ꍇ�A���s���[�h�ɖ߂��܂��B
  34. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  35. Set __OrigMode=
  36. If Not "A%1A" == "AA" Goto Done
  37. Echo.
  38. Echo Microsoft Internet Explorer 4 �������ɍ쓮���邽�߂ɂ́A���݃��O�I�����Ă���
  39. Echo ���[�U�[�̓A�v���P�[�V���������s�����O�ɁA�������񃍃O�I�t����
  40. Echo �����ēx���O�I�������K�v�������܂��B
  41. Echo.
  42. Echo Microsoft Internet Explorer 4.x �̃}���`���[�U�[ �A�v���P�[�V�����‹��ݒ肪�������܂����B
  43. Rem Internet Explorer �̎����C���X�g�[�����͈ꎞ���~���Ȃ��ł��������B
  44. Pause
  45. :Done