home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hand Held Organizer Toolkit
/
walnutcreekcdrom-handheldorganizertoolkit-march1998.iso
/
WinCE
/
misc
/
eWallet30Day.exe
/
eWallet.load
< prev
next >
Wrap
Text File
|
1997-11-04
|
1KB
|
40 lines
// The following regKeyCreate commands create the following registry keys:
// - HKEY_CLASSES_ROOT\.wlt
// - HKEY_CLASSES_ROOT\wltfile\DefaultIcon
// - HKEY_CLASSES_ROOT\wltfile\ShellOpenCommand
// These keys are used to associate .wlt files with the eWallet application and gives
// them a document icon.
regKeyCreate HKEY_CLASSES_ROOT .wlt 1
regKeyCreate HKEY_CLASSES_ROOT wltfile 1
regKeyCreate HKEY_CLASSES_ROOT wltfile\DefaultIcon 1
regKeyCreate HKEY_CLASSES_ROOT wltfile\Shell\Open\Command 1
// The following regString commands create the data in the above keys that are
// required to complete the associations.
regString HKEY_CLASSES_ROOT .wlt 1 Default "wltfile"
regString HKEY_CLASSES_ROOT wltfile 1 Default "Wallet File"
regString HKEY_CLASSES_ROOT wltfile\DefaultIcon 1 Default "%P\eWallet.exe,-2001"
regString HKEY_CLASSES_ROOT wltfile\Shell\Open\Command 1 Default "\"%P\eWallet.exe\" %1"
// adds a version #
regString ~ ~ 1 VersionNumber "1.0.1T"
regString ~ ~ 1 Wallet "\My Documents\Sample.wlt"
regInt ~ ~ 0 XYZZY 1
// copy the files
copy . . eWallet.exe
copy . "\My Documents" Sample.wlt
copy . \Windows "eWallet Help.htc"
copy . \Windows ew_howto.htp
copy . \Windows ew_tips.htp
copy . \Windows ew_opts.htp
copy . \Windows ew_purchase.htp
// create a shell link
createShortcut \Windows\Desktop eWallet.lnk . eWallet.exe
createShortcut \Windows\Programs eWallet.lnk . eWallet.exe
exit