From 894b20500cf8d3856d491fb0a34c95aa182fff71 Mon Sep 17 00:00:00 2001 From: Owen Smith Date: Fri, 24 Aug 2018 17:46:43 +0100 Subject: [PATCH] Conditionally package DPInst Since DPInst.exe is not shipped with the Windows Driver Kit 10, an environment variable must point to local copies. Make the inclusion of DPInst conditional on DPINST_REDIST being defined and that path existing. This simplifies building packages which do not require DPInst for installation, and removes a required step to create a working build. Signed-off-by: Owen Smith --- vs2015/package/package.vcxproj | 2 +- vs2017/package/package.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vs2015/package/package.vcxproj b/vs2015/package/package.vcxproj index 34b07aa..9dd5617 100644 --- a/vs2015/package/package.vcxproj +++ b/vs2015/package/package.vcxproj @@ -46,7 +46,7 @@ {D386D8E9-D015-4AD2-A5C2-4F845A803FA2} - + diff --git a/vs2017/package/package.vcxproj b/vs2017/package/package.vcxproj index f9fd507..7060312 100644 --- a/vs2017/package/package.vcxproj +++ b/vs2017/package/package.vcxproj @@ -46,7 +46,7 @@ {D386D8E9-D015-4AD2-A5C2-4F845A803FA2} - + -- 2.39.5