From a71a72885995b510c703b343ad64f40bc39202d1 Mon Sep 17 00:00:00 2001 From: YR Chen Date: Sun, 15 Jan 2023 20:22:12 +0800 Subject: [PATCH] WiX: Move `WinSDK.modulemap` into SDK --- .../SwiftInstaller/Sources/swift_installer.cc | 2 -- platforms/Windows/sdk-amd64.wxs | 7 ++++--- platforms/Windows/sdk-arm64.wxs | 7 ++++--- platforms/Windows/sdk-x86.wxs | 7 ++++--- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/platforms/Windows/CustomActions/SwiftInstaller/Sources/swift_installer.cc b/platforms/Windows/CustomActions/SwiftInstaller/Sources/swift_installer.cc index 137ff536..2b25a48d 100644 --- a/platforms/Windows/CustomActions/SwiftInstaller/Sources/swift_installer.cc +++ b/platforms/Windows/CustomActions/SwiftInstaller/Sources/swift_installer.cc @@ -408,8 +408,6 @@ UINT SwiftInstaller_InstallAuxiliaryFiles(MSIHANDLE hInstall) { } items[] = { { SDKROOT / "usr" / "share" / "ucrt.modulemap", UniversalCRTSdkDir / "Include" / version / "ucrt" / "module.modulemap" }, - { SDKROOT / "usr" / "share" / "winsdk.modulemap", - UniversalCRTSdkDir / "Include" / version / "um" / "module.modulemap" }, }; for (const auto &item : items) { diff --git a/platforms/Windows/sdk-amd64.wxs b/platforms/Windows/sdk-amd64.wxs index 751ed8b1..6de8359b 100644 --- a/platforms/Windows/sdk-amd64.wxs +++ b/platforms/Windows/sdk-amd64.wxs @@ -434,6 +434,10 @@ + + + + @@ -461,9 +465,6 @@ - - - diff --git a/platforms/Windows/sdk-arm64.wxs b/platforms/Windows/sdk-arm64.wxs index 11a3ba96..71e307d9 100644 --- a/platforms/Windows/sdk-arm64.wxs +++ b/platforms/Windows/sdk-arm64.wxs @@ -434,6 +434,10 @@ + + + + @@ -461,9 +465,6 @@ - - - diff --git a/platforms/Windows/sdk-x86.wxs b/platforms/Windows/sdk-x86.wxs index da2a0d2f..49624aff 100644 --- a/platforms/Windows/sdk-x86.wxs +++ b/platforms/Windows/sdk-x86.wxs @@ -434,6 +434,10 @@ + + + + @@ -461,9 +465,6 @@ - - -