Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Commit 264ea15

Browse files
EllaElla
authored andcommitted
update kinect sdk detection path
1 parent cfa78f1 commit 264ea15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

installer.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,13 @@ if (!(Test-Path .\temp\driver_00vrinputemulator.dll)){
171171
Start-Sleep -s 0.7
172172
# downloading kinect sdk
173173
if ($KinectStatus -eq 0){ # xbox 360
174-
if (!(Test-Path "C:\Windows\System32\kinect10.dll")){ # and no driver
174+
if (!(Test-Path "C:\Program Files\Microsoft SDKs\Kinect\v1.8")){ # and no driver
175175
echo "Downloading Kinect SDK 1.8 for Xbox 360 Kinect"
176176
Invoke-WebRequest https://download.microsoft.com/download/E/1/D/E1DEC243-0389-4A23-87BF-F47DE869FC1A/KinectSDK-v1.8-Setup.exe -OutFile .\temp\kinectv1-sdk-1.8.exe
177177
$KinectDriverInstall = 1}
178178
}
179179
if ($KinectStatus -eq 1){ # xbox one
180-
if (!(Test-Path "C:\Windows\System32\kinect20.dll")){ # and no driver
180+
if (!(Test-Path "C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409")){ # and no driver
181181
echo "Downloading Kinect SDK 2.0 for Xbox One Kinect"
182182
Invoke-WebRequest https://download.microsoft.com/download/F/2/D/F2D1012E-3BC6-49C5-B8B3-5ACFF58AF7B8/KinectSDK-v2.0_1409-Setup.exe -OutFile .\temp\kinectv2-sdk-2.0.exe
183183
$KinectDriverInstall = 1}

0 commit comments

Comments
 (0)