home *** CD-ROM | disk | FTP | other *** search
/ Hand Held Organizer Toolkit / walnutcreekcdrom-handheldorganizertoolkit-march1998.iso / WinCE / misc / eWallet30Day.exe / eWallet.load < prev    next >
Text File  |  1997-11-04  |  1KB  |  40 lines

  1. // The following regKeyCreate commands create the following registry keys:
  2. // - HKEY_CLASSES_ROOT\.wlt
  3. // - HKEY_CLASSES_ROOT\wltfile\DefaultIcon
  4. // - HKEY_CLASSES_ROOT\wltfile\ShellOpenCommand
  5. // These keys are used to associate .wlt files with the eWallet application and gives
  6. // them a document icon.
  7. regKeyCreate HKEY_CLASSES_ROOT .wlt 1
  8. regKeyCreate HKEY_CLASSES_ROOT wltfile 1
  9. regKeyCreate HKEY_CLASSES_ROOT wltfile\DefaultIcon 1
  10. regKeyCreate HKEY_CLASSES_ROOT wltfile\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 .wlt 1 Default "wltfile"
  15.  
  16. regString HKEY_CLASSES_ROOT wltfile 1 Default "Wallet File"
  17. regString HKEY_CLASSES_ROOT wltfile\DefaultIcon 1 Default "%P\eWallet.exe,-2001"
  18. regString HKEY_CLASSES_ROOT wltfile\Shell\Open\Command 1 Default "\"%P\eWallet.exe\" %1"
  19.  
  20. // adds a version #
  21. regString ~ ~ 1 VersionNumber "1.0.1T"
  22. regString ~ ~ 1 Wallet "\My Documents\Sample.wlt"
  23. regInt ~ ~ 0 XYZZY 1
  24.  
  25. // copy the files
  26. copy . . eWallet.exe
  27. copy . "\My Documents" Sample.wlt
  28. copy . \Windows "eWallet Help.htc"
  29. copy . \Windows ew_howto.htp
  30. copy . \Windows ew_tips.htp
  31. copy . \Windows ew_opts.htp
  32. copy . \Windows ew_purchase.htp
  33.  
  34. // create a shell link
  35. createShortcut \Windows\Desktop eWallet.lnk . eWallet.exe
  36. createShortcut \Windows\Programs eWallet.lnk . eWallet.exe
  37.  
  38. exit
  39.  
  40.