root.reg
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:3k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. REGEDIT
  2. ; This .REG file may be used by your SETUP program.
  3. ;   If a SETUP program is not available, the entries below will be
  4. ;   registered in your InitInstance automatically with a call to
  5. ;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.
  6. [!if HAS_SUFFIX && !HTML_EDITVIEW]
  7. [!if !MINI_SERVER]
  8. HKEY_CLASSES_ROOT.[!output FILE_EXTENSION] = [!output FILE_TYPE_ID]
  9. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]shellopencommand = [!output PROJECT_NAME].EXE %1
  10. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]shellopenddeexec = [open("%1")]
  11. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]shellopenddeexecapplication = [!output PROJECT_NAME]
  12.     ; note: the application is optional
  13.     ;  (it defaults to the app name in "command")
  14. [!endif]
  15. [!endif]
  16. [!if APP_TYPE_DLG]
  17. HKEY_CLASSES_ROOT[!output SAFE_PROJECT_IDENTIFIER_NAME].Application = [!output SAFE_PROJECT_IDENTIFIER_NAME] Application
  18. [!else]
  19. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID] = [!output FILE_NEW_NAME_LONG]
  20. [!endif]
  21. [!if MINI_SERVER || FULL_SERVER || CONTAINER_SERVER]
  22. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]protocolStdFileEditingserver = [!output PROJECT_NAME].EXE
  23. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]protocolStdFileEditingverb = &Edit
  24. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]Insertable =
  25. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]CLSID = {[!output APP_CLSID_REGISTRY_FORMAT]}
  26. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]} = [!output FILE_NEW_NAME_LONG]
  27. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}DefaultIcon = [!output PROJECT_NAME].EXE,1
  28. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}LocalServer32 = [!output PROJECT_NAME].EXE
  29. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}ProgId = [!output FILE_TYPE_ID]
  30. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}MiscStatus = 32
  31. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}AuxUserType3 = [!output PROJECT_NAME]
  32. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}AuxUserType2 = [!output FILE_NEW_NAME_SHORT]
  33. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}Insertable = 
  34. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}verb1 = &Open,0,2
  35. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}verb = &Edit,0,2
  36. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}InprocHandler32 = ole32.dll
  37. [!else]
  38. [!if AUTOMATION]
  39. [!if APP_TYPE_DLG]
  40. HKEY_CLASSES_ROOT[!output SAFE_PROJECT_IDENTIFIER_NAME].ApplicationCLSID = {[!output APP_CLSID_REGISTRY_FORMAT]}
  41. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]} = [!output SAFE_PROJECT_IDENTIFIER_NAME] Application
  42. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}ProgId = [!output SAFE_PROJECT_IDENTIFIER_NAME].Application
  43. [!else]
  44. HKEY_CLASSES_ROOT[!output FILE_TYPE_ID]CLSID = {[!output APP_CLSID_REGISTRY_FORMAT]}
  45. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]} = [!output FILE_NEW_NAME_LONG]
  46. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}ProgId = [!output FILE_TYPE_ID]
  47. [!endif]
  48. HKEY_CLASSES_ROOTCLSID{[!output APP_CLSID_REGISTRY_FORMAT]}LocalServer32 = [!output PROJECT_NAME].EXE
  49. [!endif]
  50. [!endif]