Windows shell extensions: Rename all files and classes from OC* to NC*, update versio...
authorMichael Schuster <michael@schuster.ms>
Tue, 18 Aug 2020 17:11:08 +0000 (19:11 +0200)
committerMichael Schuster <michael@schuster.ms>
Thu, 20 Aug 2020 16:50:05 +0000 (18:50 +0200)
commit0ba5df597fe707811418a934c73a0c6ded88a90a
treee35c9bd926c496c1d3c47ea0b761057b93aea4b2
parent8ce13b7bdb0d14e8335ab33ff7a223ed02157114
Windows shell extensions: Rename all files and classes from OC* to NC*, update version info

This also ensures a clear separation in the system registry.

SelfReg is not recommended by Microsoft and will be handled by the MSI package to allow proper Repair and Uninstall.
However, we keep it for backward compatibility with the NSIS installer.

For details see:
https://stackoverflow.com/questions/364187/how-do-you-register-a-win32-com-dll-file-in-wix-3#364210
https://docs.microsoft.com/en-us/windows/win32/msi/selfreg-table#remarks

Another fix by this commit:
The "Version" registry value in the NCOverlays self reg should be a key and not a value.

Details: https://wixtoolset.org/documentation/manual/v3/xsd/wix/class.html

Example:

  [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\Version]
  @="1.0.0.0"

Signed-off-by: Michael Schuster <michael@schuster.ms>
84 files changed:
shell_integration/windows/CMakeLists.txt
shell_integration/windows/NCContextMenu/CMakeLists.txt [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCClientInterface.cpp [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCClientInterface.h [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenu.cpp [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenu.def [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenu.h [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenu.rc [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenuFactory.cpp [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenuFactory.h [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenuRegHandler.cpp [new file with mode: 0644]
shell_integration/windows/NCContextMenu/NCContextMenuRegHandler.h [new file with mode: 0644]
shell_integration/windows/NCContextMenu/RegDelnode.h [new file with mode: 0644]
shell_integration/windows/NCContextMenu/dllmain.cpp [new file with mode: 0644]
shell_integration/windows/NCContextMenu/resource.h [new file with mode: 0644]
shell_integration/windows/NCOverlays/CMakeLists.txt [new file with mode: 0644]
shell_integration/windows/NCOverlays/DllMain.cpp [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlay.cpp [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlay.h [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlay.rc [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlayFactory.cpp [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlayFactory.h [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlayRegistrationHandler.cpp [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlayRegistrationHandler.h [new file with mode: 0644]
shell_integration/windows/NCOverlays/NCOverlays.def [new file with mode: 0644]
shell_integration/windows/NCOverlays/ico/Error.ico [new file with mode: 0644]
shell_integration/windows/NCOverlays/ico/OK.ico [new file with mode: 0644]
shell_integration/windows/NCOverlays/ico/OK_Shared.ico [new file with mode: 0644]
shell_integration/windows/NCOverlays/ico/Sync.ico [new file with mode: 0644]
shell_integration/windows/NCOverlays/ico/Warning.ico [new file with mode: 0644]
shell_integration/windows/NCOverlays/resource.h [new file with mode: 0644]
shell_integration/windows/NCUtil/CMakeLists.txt [new file with mode: 0644]
shell_integration/windows/NCUtil/CommunicationSocket.cpp [new file with mode: 0644]
shell_integration/windows/NCUtil/CommunicationSocket.h [new file with mode: 0644]
shell_integration/windows/NCUtil/NCUtil.rc [new file with mode: 0644]
shell_integration/windows/NCUtil/RemotePathChecker.cpp [new file with mode: 0644]
shell_integration/windows/NCUtil/RemotePathChecker.h [new file with mode: 0644]
shell_integration/windows/NCUtil/StringUtil.cpp [new file with mode: 0644]
shell_integration/windows/NCUtil/StringUtil.h [new file with mode: 0644]
shell_integration/windows/NCUtil/Version.h [new file with mode: 0644]
shell_integration/windows/NCUtil/resource.h [new file with mode: 0644]
shell_integration/windows/OCContextMenu/CMakeLists.txt [deleted file]
shell_integration/windows/OCContextMenu/OCClientInterface.cpp [deleted file]
shell_integration/windows/OCContextMenu/OCClientInterface.h [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenu.cpp [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenu.def [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenu.h [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenu.rc [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenuFactory.cpp [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenuFactory.h [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenuRegHandler.cpp [deleted file]
shell_integration/windows/OCContextMenu/OCContextMenuRegHandler.h [deleted file]
shell_integration/windows/OCContextMenu/RegDelnode.h [deleted file]
shell_integration/windows/OCContextMenu/dllmain.cpp [deleted file]
shell_integration/windows/OCContextMenu/resource.h [deleted file]
shell_integration/windows/OCOverlays/CMakeLists.txt [deleted file]
shell_integration/windows/OCOverlays/DllMain.cpp [deleted file]
shell_integration/windows/OCOverlays/OCOverlay.cpp [deleted file]
shell_integration/windows/OCOverlays/OCOverlay.h [deleted file]
shell_integration/windows/OCOverlays/OCOverlay.rc [deleted file]
shell_integration/windows/OCOverlays/OCOverlayFactory.cpp [deleted file]
shell_integration/windows/OCOverlays/OCOverlayFactory.h [deleted file]
shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp [deleted file]
shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.h [deleted file]
shell_integration/windows/OCOverlays/OCOverlays.def [deleted file]
shell_integration/windows/OCOverlays/ico/Error.ico [deleted file]
shell_integration/windows/OCOverlays/ico/OK.ico [deleted file]
shell_integration/windows/OCOverlays/ico/OK_Shared.ico [deleted file]
shell_integration/windows/OCOverlays/ico/Sync.ico [deleted file]
shell_integration/windows/OCOverlays/ico/Warning.ico [deleted file]
shell_integration/windows/OCOverlays/resource.h [deleted file]
shell_integration/windows/OCUtil/CMakeLists.txt [deleted file]
shell_integration/windows/OCUtil/CommunicationSocket.cpp [deleted file]
shell_integration/windows/OCUtil/CommunicationSocket.h [deleted file]
shell_integration/windows/OCUtil/OCUtil.rc [deleted file]
shell_integration/windows/OCUtil/RemotePathChecker.cpp [deleted file]
shell_integration/windows/OCUtil/RemotePathChecker.h [deleted file]
shell_integration/windows/OCUtil/StringUtil.cpp [deleted file]
shell_integration/windows/OCUtil/StringUtil.h [deleted file]
shell_integration/windows/OCUtil/UtilConstants.h [deleted file]
shell_integration/windows/OCUtil/Version.h [deleted file]
shell_integration/windows/OCUtil/resource.h [deleted file]
shell_integration/windows/WinShellExtConstants.h.in
shell_integration/windows/WinShellExtConstants.wxi.in