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.

75 lines
2.1 KiB

  1. @Echo Off
  2. Rem #########################################################################
  3. Rem
  4. Rem %RootDrive%�� �����Ǿ����� Ȯ���ϰ� �� ��ũ��Ʈ�� ���� �����մϴ�.
  5. Rem
  6. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  7. If "%_CHKROOT%" == "FAIL" Goto Done
  8. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  9. If "%_SETPATHS%" == "FAIL" Goto Done
  10. Rem #########################################################################
  11. ..\ACRegL "%Temp%\PB6.Cmd" PB6INST "HKCU\Software\ODBC\ODBC.INI\Powersoft Demo DB V6" "DataBaseFile" "STRIPCHAR\1"
  12. If Not ErrorLevel 1 Goto Cont0
  13. Echo.
  14. Echo ������Ʈ������ PowerBuilder 6.0 ��ġ ��ġ�� �˻��� �� �����ϴ�.
  15. Echo PowerBuilder 6.0�� ��ġ�Ǿ� �ִ��� Ȯ���ϰ� �� ��ũ��Ʈ��
  16. Echo �ٽ� �����Ͻʽÿ�.
  17. Echo.
  18. Pause
  19. Goto Done
  20. :Cont0
  21. Call "%Temp%\PB6.Cmd"
  22. Del "%Temp%\PB6.Cmd" >Nul: 2>&1
  23. Rem
  24. Rem ������Ʈ�� Ű�� �����Ͽ� ���ΰ� ������ ������
  25. Rem �����͸��� ����Ű���� �մϴ�.
  26. Rem
  27. Rem ���� ��ġ ���忡 ���� ������ ��ġ ������ �����մϴ�.
  28. Set __OrigMode=Install
  29. ChgUsr /query > Nul:
  30. if Not ErrorLevel 101 Goto Begin
  31. Set __OrigMode=Exec
  32. Change User /Install > Nul:
  33. :Begin
  34. ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\pwrbldr6.Key pwrbldr6.key
  35. regini pwrbldr6.key > Nul:
  36. Rem ���� ���尡 ���� ���忴����, ���� ������ �ٽ� �����մϴ�.
  37. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  38. Set __OrigMode=
  39. Rem #########################################################################
  40. Rem
  41. Rem PBld6Usr.Cmd�� ������Ʈ�Ͽ� ���� ��ġ �����͸��� �ݿ��ϰ� �̸�
  42. Rem UsrLogn2.Cmd ��ũ��Ʈ�� �߰��մϴ�.
  43. Rem
  44. ..\acsr "#INSTDIR#" "%PB6INST%" ..\Logon\Template\PBld6Usr.Cmd ..\Logon\PBld6Usr.cmd
  45. FindStr /I PBld6Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  46. If Not ErrorLevel 1 Goto Skip1
  47. Echo Call PBld6Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  48. :Skip1
  49. Rem #########################################################################
  50. Echo.
  51. Echo PowerBuilder 6.0�� �ùٸ��� �۾��ϱ� ����
  52. Echo ���� �α׿µǾ� �ִ� �����ڰ� �α׿����ϰ� �ٽ� �α׿��� ��
  53. Echo PowerBuilder 6.0�� �����ؾ� �մϴ�.
  54. Echo.
  55. Echo PowerBuilder 6.0 ���� ������ ���� ���α׷� ���� �Ϸ�
  56. Pause
  57. :done