Skip to content

Commit

Permalink
LMS: WMIProv: remove IMSS uninstallation code
Browse files Browse the repository at this point in the history
Revert "WMIProv: WMIRegistrationService: uninstall IMSS"

This reverts commit b480af2.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
  • Loading branch information
ausyskin committed Nov 6, 2022
1 parent 3697bc7 commit 1688d4b
Show file tree
Hide file tree
Showing 7 changed files with 360 additions and 798 deletions.
10 changes: 2 additions & 8 deletions MEWMIProv/WMIRegistrationService/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-2022 Intel Corporation
# Copyright (C) 2021 Intel Corporation
cmake_minimum_required (VERSION 3.1)

set (CMAKE_CXX_STANDARD 17)

set(WMI_REG_SVC_MESSAGE_FILES
${CMAKE_CURRENT_BINARY_DIR}/EventLogMessages.h
${CMAKE_CURRENT_BINARY_DIR}/EventLogMessages.rc
Expand All @@ -27,9 +25,6 @@ set_source_files_properties(

add_executable(WMIRegistrationService
EventLog.cpp
GetSKU.cpp
RegistryAccess.cpp
UninstalIMSS.cpp
WMIRegistrationService.cpp
WMIRegistrationService.rc
${CMAKE_CURRENT_BINARY_DIR}/EventLogMessages.rc
Expand All @@ -43,10 +38,9 @@ target_include_directories(WMIRegistrationService PRIVATE
target_link_libraries(WMIRegistrationService
Shlwapi.lib
Pathcch.lib
Cfgmgr32.lib
WindowsApp.lib
)


if(CMAKE_CXX_COMPILER_ID MATCHES MSVC)
set_target_properties(WMIRegistrationService PROPERTIES
COMPILE_PDB_NAME WMIRegistrationService
Expand Down
14 changes: 1 addition & 13 deletions MEWMIProv/WMIRegistrationService/EventLogMessages.mc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;//SPDX-License-Identifier: Apache-2.0
;//
;//Copyright (C) 2021-2022 Intel Corporation
;//Copyright (C) 2021 Intel Corporation
SeverityNames=(Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
Warning=0x2:STATUS_SEVERITY_WARNING
Expand Down Expand Up @@ -34,15 +34,3 @@ SymbolicName=MSG_REGISTRATION_FAILURE
Language=All
Intel(R) WMI Registration Service has failed WMI Registration.
.
MessageId=4
Severity=Informational
SymbolicName=MSG_IMSS_REMOVAL_SUCCESS
Language=All
Intel(R) WMI Registration Service has successfully removed IMSS.
.
MessageId=5
Severity=Error
SymbolicName=MSG_IMSS_REMOVAL_FAILURE
Language=All
Intel(R) WMI Registration Service has failed to remove IMSS.
.
164 changes: 0 additions & 164 deletions MEWMIProv/WMIRegistrationService/GetSKU.cpp

This file was deleted.

72 changes: 0 additions & 72 deletions MEWMIProv/WMIRegistrationService/RegistryAccess.cpp

This file was deleted.

69 changes: 0 additions & 69 deletions MEWMIProv/WMIRegistrationService/UninstalIMSS.cpp

This file was deleted.

Loading

0 comments on commit 1688d4b

Please sign in to comment.