From b1a92dd6fb3a198763f243b86884b16acb752d5e Mon Sep 17 00:00:00 2001 From: Mark Young Date: Fri, 15 Jan 2016 09:01:11 -0700 Subject: installer: Fix LunarXchange issue #287. Apply David's fix to force the registry to be created. --- windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 b/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 index 96d3ae5b..2013b5ab 100644 --- a/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 +++ b/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1 @@ -212,7 +212,7 @@ Get-Item -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\ExplicitLaye # Create layer registry entries associated with Vulkan SDK from which $mrVulkanDll is from if ($mrVulkanDllInstallDir -ne "") { - New-Item -ErrorAction Ignore -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers | out-null + New-Item -Force -ErrorAction Ignore -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers | out-null Get-ChildItem $mrVulkanDllInstallDir\Bin -Filter *json | ForEach-Object { New-ItemProperty -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers -Name $mrVulkanDllInstallDir\Bin\$_ -PropertyType DWord -Value 0 | out-null -- cgit v1.2.3