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.

67 lines
2.7 KiB

  1. This file contains information about:
  2. - working with the Phone Book Administrator (pbadmin.exe)
  3. - packaging this into the PBA install package (pbainst.exe)
  4. Working With the Phone Book Administrator
  5. -----------------------------------------
  6. This is a VB application. To edit this, it is best to copy the 'source' subdirectory,
  7. where the required files are located, to another directory, then edit the VB
  8. project using Visual Basic (the current version used is VB6). When done with editing,
  9. compare the files with the originals, check out the ones that have changed and
  10. check in the updated files. You must also use Visual Basic to generate PBADMIN.exe,
  11. which is checked in separately, see below.
  12. Changing resource strings
  13. -------------------------
  14. This one is special :-) Most of the string resources used by PBA are in a .res file,
  15. pbadmin.res. Look for the string you need to change - if it is actually in a form you
  16. can just make the changes using VB6 (as above).
  17. Otherwise, check out pba_res.rc for editing and make the changes needed. See if your
  18. razzle window has a variable named INCLUDE, with the Windows header files on it. If not:
  19. > set INCLUDE=%_NTDRIVE%%_NTROOT%\public\sdk\inc
  20. Now build the new .res file:
  21. > nmake pba_res.res
  22. Now check out pbadmin.res, and copy pba_res.res to pbadmin.res. Using the new .res
  23. file, start up VB6, generate PBADMIN.exe as above, and check in all the changes.
  24. Creating the PBA install package
  25. --------------------------------
  26. To build this, you need several support files (which probably will not change),
  27. as well as the PBADMIN.exe you've created above. The required common files are
  28. checked in under the 'buildit' subdirectory. Under buildit, 'sources0' contains
  29. "external" support files and 'sources1' contains other ("internal") support files.
  30. PBAINST.exe is automatically built during the PostBuild process, using the script
  31. %_NTBINDIR%\tools\PostBuildScripts\PbaInst.cmd. In preparation for this, during
  32. the compile phase any required files must be binplace'd to %_NTTREE%\PbaInst as
  33. needed. Once built, PBAINST.exe is placed in Valueadd\Msft\Mgmt\Pba.
  34. Directory Structure
  35. -------------------
  36. \pba
  37. - contains 00README.txt (this file)
  38. - contains PBAINST.ex (which gets binplaced into %_NTTREE%\PbaInst)
  39. - contains README.HTM (which gets binplaced into %_NTTREE%\PbaInst)
  40. \pba\source
  41. - contains VB project for pbadmin
  42. \pba\buildit
  43. - contains .SED file needed to build PBAINST.exe
  44. \pba\buildit\sources0
  45. - "external" support files (which get binplaced into %_NTTREE%\PbaInst\Sources0)
  46. \pba\buildit\sources1
  47. - "internal" support files (which get binplaced into %_NTTREE%\PbaInst\Sources1)