home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / pda / anwend / listpro.exe / ListPro.load < prev    next >
Text File  |  1998-08-24  |  2KB  |  50 lines

  1. // The following regKeyCreate commands create the following registry keys:
  2. // - HKEY_CLASSES_ROOT\.clf
  3. // - HKEY_CLASSES_ROOT\clffile\DefaultIcon
  4. // - HKEY_CLASSES_ROOT\clffile\ShellOpenCommand
  5. // These keys are used to associate .clf files with the CheckMate application and gives
  6. // them a document icon.
  7. regKeyCreate HKEY_CLASSES_ROOT .clf 1
  8. regKeyCreate HKEY_CLASSES_ROOT clffile 1
  9. regKeyCreate HKEY_CLASSES_ROOT clffile\DefaultIcon 1
  10. regKeyCreate HKEY_CLASSES_ROOT clffile\Shell\Open\Command 1
  11.  
  12. // The following regString commands create the data in the above keys that are
  13. // required to complete the associations.
  14. regString HKEY_CLASSES_ROOT .clf 1 Default "clffile"
  15.  
  16. regString HKEY_CLASSES_ROOT clffile 1 Default "CheckList File"
  17. regString HKEY_CLASSES_ROOT clffile\DefaultIcon 1 Default "%P\ListPro.exe,-2001"
  18. regString HKEY_CLASSES_ROOT clffile\Shell\Open\Command 1 Default "\"%P\ListPro.exe\" %1"
  19.  
  20. // adds a version #
  21. regString ~ ~ 1 VersionNumber "1.0"
  22. regString ~ ~ 1 DatabaseFile "%P\Sample Lists.clf"
  23. regInt ~ ~ 0 XYZZY 1
  24.  
  25. // copy the files
  26. copy . . ListPro.exe
  27. copy . \Windows "ListPro Help.htc"
  28. copy . \Windows lp_howto.htp
  29. copy . \Windows lp_imp.htp
  30. copy . \Windows lp_opts.htp
  31. copy . \Windows lp_tips.htp
  32. copy . \Windows lp_feats.htp
  33. copy . \Windows lp_twostep.htp
  34. copy . \Windows lp_additem.htp
  35. copy . \Windows lp_edititem.htp
  36. copy . \Windows lp_editlist.htp
  37. copy . \Windows lp_fonts.htp
  38. copy . \Windows lp_listfeats.htp
  39. copy . \Windows lp_start.htp
  40. copy . \Windows lp_purchase.htp
  41. copy . . "Sample Lists.clf"
  42. copy . . "More Lists.clf"
  43.  
  44. // create a shell link
  45. createShortcut \Windows\Desktop ListPro.lnk . ListPro.exe
  46. createShortcut \Windows\Programs ListPro.lnk . ListPro.exe
  47.  
  48. exit
  49.  
  50.