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.

75 lines
2.3 KiB

  1. @Echo Off
  2. Rem #########################################################################
  3. Rem
  4. Rem %RootDrive% ���\�������Ă��̃X�N���v�g�p�ɐݒ肳���Ă��邱�Ƃ��m�F���܂��B
  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 ���W�X�g������ Power Builder 6.0 �̃C���X�g�[���ꏊ���擾�ł��܂����B
  15. Echo PowerBuilder 6.0 �����ɃC���X�g�[�������Ă��邱�Ƃ��m�F���āA���̃X�N���v�g��
  16. Echo �Ď��s���܂��B
  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 ���W�X�g�� �L�[���ύX���āA�p�X�����[�U�[�ŗL�̃f�B���N�g��
  25. Rem ���w�������悤�ɂ��܂��B
  26. Rem
  27. Rem ���݁A�C���X�g�[�� ���[�h�łȂ��ꍇ�A�C���X�g�[�� ���[�h�ɕύX���܂��B
  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 ���̃��[�h�����s���[�h�������ꍇ�A���s���[�h�ɖ߂��܂��B
  37. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  38. Set __OrigMode=
  39. Rem #########################################################################
  40. Rem
  41. Rem ���ۂ̃C���X�g�[�� �f�B���N�g���𔽉f�����邽�� PBld6Usr.Cmd ���X�V���āA
  42. Rem UsrLogn2.Cmd �X�N���v�g�ɒlj����܂��B
  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 �������ɍ쓮���邽�߂ɂ́A���݃��O�I�����Ă���
  52. Echo ���[�U�[�̓A�v���P�[�V���������s�����O�ɁA�������񃍃O�I�t����
  53. Echo �����ēx���O�I�������K�v�������܂��B
  54. Echo.
  55. Echo PowerBuilder 6.0 �̃}���`���[�U�[ �A�v���P�[�V�����‹��ݒ肪�������܂����B
  56. Pause
  57. :done