Source code of Windows XP (NT5)
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.6 KiB

  1. @Echo off
  2. Rem
  3. Rem ��ġ �� Administrator�� �� ��ũ��Ʈ�� �����ؾ� �մϴ�.
  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 ���� ��ġ ���忡 ���� ������ ��ġ ������ �����մϴ�.
  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 ���� ���尡 ���� ���忴����, ���� ������ �ٽ� �����մϴ�.
  34. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  35. Set __OrigMode=
  36. If Not "A%1A" == "AA" Goto Done
  37. Echo.
  38. Echo MS IE 4�� �ùٸ��� �۾��ϱ� ����
  39. Echo ���� �α׿µǾ� �ִ� �����ڰ� �α׿����ϰ� �ٽ� �α׿��� ��
  40. Echo ���� ���α׷��� �����ؾ� �մϴ�.
  41. Echo.
  42. Echo Microsoft Internet Explorer 4.x ���� ������ ���� ���α׷� ���� �Ϸ�
  43. Rem IE AutoInstall ���� �Ͻ� �������� ���ʽÿ�.
  44. Pause
  45. :Done