home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
c't freeware shareware 1999 February
/
CT_SW9902.ISO
/
mac
/
software
/
pda
/
anwend
/
listpro.exe
/
ListPro.load
< prev
next >
Wrap
Text File
|
1998-08-24
|
2KB
|
50 lines
// The following regKeyCreate commands create the following registry keys:
// - HKEY_CLASSES_ROOT\.clf
// - HKEY_CLASSES_ROOT\clffile\DefaultIcon
// - HKEY_CLASSES_ROOT\clffile\ShellOpenCommand
// These keys are used to associate .clf files with the CheckMate application and gives
// them a document icon.
regKeyCreate HKEY_CLASSES_ROOT .clf 1
regKeyCreate HKEY_CLASSES_ROOT clffile 1
regKeyCreate HKEY_CLASSES_ROOT clffile\DefaultIcon 1
regKeyCreate HKEY_CLASSES_ROOT clffile\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 .clf 1 Default "clffile"
regString HKEY_CLASSES_ROOT clffile 1 Default "CheckList File"
regString HKEY_CLASSES_ROOT clffile\DefaultIcon 1 Default "%P\ListPro.exe,-2001"
regString HKEY_CLASSES_ROOT clffile\Shell\Open\Command 1 Default "\"%P\ListPro.exe\" %1"
// adds a version #
regString ~ ~ 1 VersionNumber "1.0"
regString ~ ~ 1 DatabaseFile "%P\Sample Lists.clf"
regInt ~ ~ 0 XYZZY 1
// copy the files
copy . . ListPro.exe
copy . \Windows "ListPro Help.htc"
copy . \Windows lp_howto.htp
copy . \Windows lp_imp.htp
copy . \Windows lp_opts.htp
copy . \Windows lp_tips.htp
copy . \Windows lp_feats.htp
copy . \Windows lp_twostep.htp
copy . \Windows lp_additem.htp
copy . \Windows lp_edititem.htp
copy . \Windows lp_editlist.htp
copy . \Windows lp_fonts.htp
copy . \Windows lp_listfeats.htp
copy . \Windows lp_start.htp
copy . \Windows lp_purchase.htp
copy . . "Sample Lists.clf"
copy . . "More Lists.clf"
// create a shell link
createShortcut \Windows\Desktop ListPro.lnk . ListPro.exe
createShortcut \Windows\Programs ListPro.lnk . ListPro.exe
exit