aboutsummaryrefslogtreecommitdiff
path: root/windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1
diff options
context:
space:
mode:
authorMark Young <marky@lunarg.com>2016-01-15 09:01:11 -0700
committerMark Young <marky@lunarg.com>2016-01-15 14:12:49 -0700
commitb1a92dd6fb3a198763f243b86884b16acb752d5e (patch)
treebcbd7a4b0ff2d4921d56787316d9e8481de40ae7 /windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1
parentdfa2aa341c69770b0ea7aac62c7b2d4d9da8561b (diff)
downloadusermoji-b1a92dd6fb3a198763f243b86884b16acb752d5e.tar.xz
installer: Fix LunarXchange issue #287.
Apply David's fix to force the registry to be created.
Diffstat (limited to 'windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps1')
-rw-r--r--windowsRuntimeInstaller/ConfigLayersAndVulkanDLL.ps12
1 files changed, 1 insertions, 1 deletions
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