home *** CD-ROM | disk | FTP | other *** search
/ Hand Held Organizer Toolkit / walnutcreekcdrom-handheldorganizertoolkit-march1998.iso / WinCE / misc / eSportsCard30Day.exe / eSportsCard.load < prev    next >
Text File  |  1997-11-03  |  2KB  |  47 lines

  1. // Load for eSportsCard
  2.  
  3. // The following regKeyCreate commands create the following registry keys:
  4. // - HKEY_CLASSES_ROOT\.sdl
  5. // - HKEY_CLASSES_ROOT\sdlfile\DefaultIcon
  6. // - HKEY_CLASSES_ROOT\sdlfile\ShellOpenCommand
  7. // These keys are used to associate .sdl files with the eSportsCard application
  8. // and gives them a document icon.
  9. regKeyCreate HKEY_CLASSES_ROOT .sdl 1
  10. regKeyCreate HKEY_CLASSES_ROOT sdlfile 1
  11. regKeyCreate HKEY_CLASSES_ROOT sdlfile\DefaultIcon 1
  12. // regKeyCreate HKEY_CLASSES_ROOT sdlfile\Shell\Open\Command 1
  13.  
  14. // The following regString commands create the data in the above keys that are
  15. // required to complete the associations.
  16. regString HKEY_CLASSES_ROOT .sdl 1 Default "sdlfile"
  17.  
  18. regString HKEY_CLASSES_ROOT sdlfile 1 Default "Sports Schedule"
  19. regString HKEY_CLASSES_ROOT sdlfile\DefaultIcon 1 Default "%P\eSportsCard.exe,-2001"
  20. // regString HKEY_CLASSES_ROOT sdlfile\Shell\Open\Command 1 Default "\"%P\eSportsCard.exe\" %1"
  21.  
  22. // adds a version #
  23. regString ~ ~ 1 VersionNumber "1.0"
  24. regInt ~ ~ 0 XYZZY 1
  25.  
  26. // copy the files
  27. copy . . "eSportsCard.exe"
  28. copy . \Windows "eSportsCard Help.htc"
  29. copy . \Windows sc_tips.htp
  30. copy . \Windows sc_howto.htp
  31. copy . \Windows sc_purchase.htp
  32. copy . \Windows sc_disclaimer.htp
  33. copy . "\My Documents" NFL1997.sdl
  34. copy . "\My Documents" NBA1997.sdl
  35. copy . "\My Documents" NHL1997.sdl
  36. copy . "\My Documents" DivIAFB97.sdl
  37. copy . "\My Documents" DivIBB97A.sdl
  38. copy . "\My Documents" DivIBB97B.sdl
  39. copy . "\My Documents" DivIBB97C.sdl
  40.  
  41. // create a shell link
  42. createShortcut \Windows\Desktop "eSportsCard.lnk" . "eSportsCard.exe"
  43. createShortcut \Windows\Programs "eSportsCard.lnk" . "eSportsCard.exe"
  44.  
  45. exit
  46.  
  47.