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.

74 lines
2.0 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 ����ע���Լ����µ�¼��Ȼ������ PowerBuilder 6.0 ��
  53. Echo.
  54. Echo Eudora 4.0 ���û�Ӧ�ó����������ϡ�
  55. Pause
  56. :done