diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96bd5ae6d1839..52e5da0a77799 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,13 +24,8 @@ configure_file(${CMAKE_SOURCE_DIR}/${NMC_RCC_FILE} "${BIN_OUTPUT_DIRECTORY}/${NM
include(${CMAKE_SOURCE_DIR}/NEXTCLOUD.cmake)
-set ( NCCONTEXTMENU_SHELLEXT_WINDOW_CLASS_NAME "${APPLICATION_SHORTNAME}_Shxt_CntMenuHndlr_WndClass" )
-set ( NCOVERLAYS_SHELLEXT_WINDOW_CLASS_NAME "${APPLICATION_SHORTNAME}_Shxt_Ovs_WndClass" )
-
# CfAPI Shell Extensions
set( CFAPI_SHELL_EXTENSIONS_LIB_NAME CfApiShellExtensions )
-
-set ( CFAPI_SHELLEXT_WINDOW_CLASS_NAME "${APPLICATION_SHORTNAME}_${CFAPI_SHELL_EXTENSIONS_LIB_NAME}_WndClass" )
set( CFAPI_SHELLEXT_APPID_REG "{E314A650-DCA4-416E-974E-18EA37C213EA}")
set( CFAPI_SHELLEXT_APPID_DISPLAY_NAME "${APPLICATION_NAME} CfApi Shell Extensions" )
diff --git a/admin/win/msi/Nextcloud.wxs b/admin/win/msi/Nextcloud.wxs
index 4719d85dc0ac4..374241dae04fb 100644
--- a/admin/win/msi/Nextcloud.wxs
+++ b/admin/win/msi/Nextcloud.wxs
@@ -60,33 +60,18 @@
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
NSIS_UNINSTALLEXE AND NOT Installed
@@ -95,8 +80,9 @@
(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")
-
- (SCHEDULE_REBOOT=1) OR ((NOT (UILevel=2)) AND (NOT IS_PREV_VERSION_SHELL_EXT_CLOSE_SUPPORTED))
+
+
+ (SCHEDULE_REBOOT=1) OR NOT (UILevel=2)
@@ -198,11 +184,6 @@
-
-
-
-
-
@@ -232,7 +213,6 @@
-
diff --git a/admin/win/msi/OEM.wxi.in b/admin/win/msi/OEM.wxi.in
index ae8f964e28f55..e35451eef2904 100644
--- a/admin/win/msi/OEM.wxi.in
+++ b/admin/win/msi/OEM.wxi.in
@@ -31,10 +31,6 @@
-
-
-
-