home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Works 4.0 / MSWORKS40.iso / msworks / msworks4.reg < prev    next >
Windows Registry Data  |  1996-04-14  |  6KB  |  107 lines

  1. REGEDIT
  2.  
  3. ; copy this file and change all MSWORKS (all caps) to the proper path
  4. ;
  5. ;         for example: change MSWORKS to c:\wks5\obj\dbg\run
  6. ;
  7. ;     where c:\wks5\obj\dbg\run is the location of your msworks.exe
  8. ;
  9. ; to use the edited copy to do the registration, either -
  10. ;
  11. ;   - find the edited file in NT File Manager and double-click on it -
  12. ;     doing it this way, the file should keep the extension .reg, or
  13. ;     else you would need to set up a new extension/app association
  14. ;
  15. ;      OR
  16. ;
  17. ;   - set up an icon with a command line of just
  18. ;
  19. ;             regedit drive-plus-path-plus-name
  20. ;
  21. ;     using this latter way makes it easy to switch registration back
  22. ;     and forth using one file/icon for your debug version, and one
  23. ;     file/icon for your ship version (in, say, c:\wks5\obj\shp\run,
  24. ;     extending the editing example from above)
  25. ;
  26. ;     it's convenient to keep the version-specific reg file in the same
  27. ;     place as your msworks.exe - as usual, though, if that place is
  28. ;     your build subdirectory, and you use "make erase", make sure you
  29. ;     add msworks4.reg (or whatever name you use) to your DONTERASE
  30. ;     environment variable, to prevent the reg file from getting deleted
  31.  
  32. ; Works 4.0 non-OLE registrations
  33. HKEY_CLASSES_ROOT\.wcm = MSWorks4Comm
  34. HKEY_CLASSES_ROOT\.wdb = MSWorks4Database
  35. HKEY_CLASSES_ROOT\.wps = MSWorks4WordProcessor
  36. HKEY_CLASSES_ROOT\.wks = MSWorks.Sheet.4
  37. HKEY_CLASSES_ROOT\MSWorks4Comm\shell\open\command = MSWORKS\msworks.exe "%1"
  38. HKEY_CLASSES_ROOT\MSWorks4Comm\DefaultIcon = MSWORKS\msworks.exe,5
  39. HKEY_CLASSES_ROOT\MSWorks4Database\shell\open\command = MSWORKS\msworks.exe "%1"
  40. HKEY_CLASSES_ROOT\MSWorks4Database\shell\print\command = MSWORKS\msworks.exe /p "%1"
  41. HKEY_CLASSES_ROOT\MSWorks4Database\shell\PrintTo\command = MSWORKS\msworks.exe /f "%1" "%2" "%3" "%4"
  42. HKEY_CLASSES_ROOT\MSWorks4Database\DefaultIcon = MSWORKS\msworks.exe,3
  43. HKEY_CLASSES_ROOT\MSWorks4WordProcessor\shell\open\command = MSWORKS\msworks.exe "%1"
  44. HKEY_CLASSES_ROOT\MSWorks4WordProcessor\shell\print\command = MSWORKS\msworks.exe /p "%1"
  45. HKEY_CLASSES_ROOT\MSWorks4WordProcessor\shell\PrintTo\command = MSWORKS\msworks.exe /f "%1" "%2" "%3" "%4"
  46. HKEY_CLASSES_ROOT\MSWorks4WordProcessor\DefaultIcon = MSWORKS\msworks.exe,1
  47. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\shell\open\command = MSWORKS\msworks.exe "%1"
  48. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\shell\print\command = MSWORKS\msworks.exe /p "%1"
  49. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\shell\PrintTo\command = MSWORKS\msworks.exe /f "%1" "%2" "%3" "%4"
  50.  
  51. ; Works' OLE 1.0 compatibility registrations
  52. HKEY_CLASSES_ROOT\MSWorks.Sheet.4 = Microsoft Works 4.0 Sheet or Chart
  53. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\protocol\StdFileEditing\server = MSWORKS\msworks.exe
  54. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\protocol\StdFileEditing\verb\0 = &Edit
  55. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\CLSID = {28cddbc0-0ae2-11ce-a29a-00aa004a1a72}
  56.  
  57. ; Works' OLE 2.0 registrations
  58. ; Spreadsheet and Chart
  59. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72} = Works Sheet or Chart
  60. HKEY_CLASSES_ROOT\MSWorks.Sheet.4\Insertable
  61. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\MiscStatus = 0
  62. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\MiscStatus\1 = 17
  63. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\DefaultIcon = MSWORKS\msworks.exe,2
  64. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\AuxUserType\2 = Works Sheet or Chart
  65. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\AuxUserType\3 = Microsoft Works 4.0
  66. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\Verb\0 = &Edit, 0, 2
  67. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\Verb\1 = &Open, 0, 2
  68. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\LocalServer32 = MSWORKS\msworks.exe
  69. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\InprocHandler32 = ole32.dll
  70. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\ProgId = MSWorks.Sheet.4
  71. HKEY_CLASSES_ROOT\CLSID\{28cddbc0-0ae2-11ce-a29a-00aa004a1a72}\Insertable
  72.  
  73. HKEY_CLASSES_ROOT\MSWorks.Table.4\CLSID = {28cddbc1-0ae2-11ce-a29a-00aa004a1a72}
  74. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72} = Works Table
  75. HKEY_CLASSES_ROOT\MSWorks.Table.4\NotInsertable
  76. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\MiscStatus = 0
  77. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\MiscStatus\1 = 17
  78. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\DefaultIcon = MSWORKS\msworks.exe,2
  79. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\AuxUserType\2 = Works Table
  80. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\AuxUserType\3 = Microsoft Works 4.0
  81. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\Verb\0 = &Edit, 0, 2
  82. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\LocalServer32 = MSWORKS\msworks.exe
  83. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\InprocHandler32 = ole32.dll
  84. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\ProgId = MSWorks.Table.4
  85. HKEY_CLASSES_ROOT\CLSID\{28cddbc1-0ae2-11ce-a29a-00aa004a1a72}\NotInsertable
  86.  
  87. ; Needed for autoconversion - this is the Works 3.0 server clsid
  88. HKEY_CLASSES_ROOT\CLSID\{00021300-0000-0000-C000-000000000046} = Works Sheet or Chart
  89.  
  90. ; Needed for autoconversion - these are the Works 2.0 server clsid
  91. HKEY_CLASSES_ROOT\CLSID\{00030029-0000-0000-C000-000000000046} = Works Sheet
  92. HKEY_CLASSES_ROOT\CLSID\{00030028-0000-0000-C000-000000000046} = Works Chart
  93.  
  94. ;No more blank lines:
  95. HKEY_CLASSES_ROOT\MSWorks4Database = Microsoft Works 4.0 Database
  96. HKEY_CLASSES_ROOT\MSWorks4WordProcessor = Microsoft Works 4.0 Word Processor
  97. HKEY_CLASSES_ROOT\MSWorks4Comm = Microsoft Works 4.0 Communications
  98.  
  99. ;Oleautomation registration stuff
  100. HKEY_CLASSES_ROOT\MSWorks.Application.4 = Works 4.0
  101. HKEY_CLASSES_ROOT\MSWorks.Application.4\CLSID = {0002C200-0000-0000-C000-000000000046}
  102.  
  103. HKEY_CLASSES_ROOT\CLSID\{0002C200-0000-0000-C000-000000000046} = Works 4.0
  104. HKEY_CLASSES_ROOT\CLSID\{0002C200-0000-0000-C000-000000000046}\LocalServer32 = MSWORKS\msworks.exe /automation
  105. HKEY_CLASSES_ROOT\CLSID\{0002C200-0000-0000-C000-000000000046}\LocalServer = MSWORKS\msworks.exe /automation
  106. HKEY_CLASSES_ROOT\CLSID\{0002C200-0000-0000-C000-000000000046}\ProgId = MSWorks.Application.4
  107.