From 09561e692200fed71d618e627b41e826a20de287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Wed, 9 Sep 2020 20:35:39 +0200 Subject: [PATCH] Working setup Updated driver settings to universal model --- setup/Product.wxs | 52 +++++++++++++++++++++++++----------- setup/ViGEmBusSetup.wixproj | 6 +++++ sys/ViGEmBus.inf | 2 +- sys/ViGEmBus.vcxproj | 20 ++++++++------ sys/ViGEmBus.vcxproj.filters | 6 ++--- 5 files changed, 59 insertions(+), 27 deletions(-) diff --git a/setup/Product.wxs b/setup/Product.wxs index 0524aa5..2000edb 100644 --- a/setup/Product.wxs +++ b/setup/Product.wxs @@ -8,13 +8,16 @@ + + + @@ -29,30 +32,47 @@ + + + + + + - + + - + + + + + + + + + - - - - - REMOVE="ALL" + NOT Installed AND NOT REMOVE + REMOVE="ALL" + NOT Installed AND NOT REMOVE + REMOVE="ALL" @@ -72,7 +92,9 @@ + + diff --git a/setup/ViGEmBusSetup.wixproj b/setup/ViGEmBusSetup.wixproj index 643935c..0ca49bd 100644 --- a/setup/ViGEmBusSetup.wixproj +++ b/setup/ViGEmBusSetup.wixproj @@ -34,6 +34,12 @@ + + + $(WixExtDir)\WixUtilExtension.dll + WixUtilExtension + + diff --git a/sys/ViGEmBus.inf b/sys/ViGEmBus.inf index 0e1f134..0d90220 100644 --- a/sys/ViGEmBus.inf +++ b/sys/ViGEmBus.inf @@ -78,7 +78,7 @@ AddService = ViGEmBus,%SPSVCINST_ASSOCSERVICE%, ViGEmBus_Service_Inst [ViGEmBus_Service_Inst] DisplayName = %ViGEmBus.SVCDESC% ServiceType = 1 ; SERVICE_KERNEL_DRIVER -StartType = 3 ; SERVICE_DEMAND_START +StartType = 1 ; SERVICE_SYSTEM_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\ViGEmBus.sys diff --git a/sys/ViGEmBus.vcxproj b/sys/ViGEmBus.vcxproj index 4db0f01..4e545fb 100644 --- a/sys/ViGEmBus.vcxproj +++ b/sys/ViGEmBus.vcxproj @@ -32,46 +32,50 @@ - Windows7 + + true WindowsKernelModeDriver10.0 Driver KMDF - Desktop + Universal 1 9 1 - Windows7 + + false WindowsKernelModeDriver10.0 Driver KMDF - Desktop + Universal 1 9 1 Off - Windows7 + + true WindowsKernelModeDriver10.0 Driver KMDF - Desktop + Universal 1 9 1 - Windows7 + + false WindowsKernelModeDriver10.0 Driver KMDF - Desktop + Universal 1 9 1 diff --git a/sys/ViGEmBus.vcxproj.filters b/sys/ViGEmBus.vcxproj.filters index 996ec62..4da282a 100644 --- a/sys/ViGEmBus.vcxproj.filters +++ b/sys/ViGEmBus.vcxproj.filters @@ -33,9 +33,6 @@ Header Files - - Header Files - Header Files @@ -57,6 +54,9 @@ Header Files + + Header Files +