Skip to content

Commit

Permalink
MediaSDK custom installer:Keep using %ProgramFiles(x86)%
Browse files Browse the repository at this point in the history
  • Loading branch information
pal1000 committed Apr 22, 2019
1 parent b81af33 commit 33cb8c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MediaSDK-custom-installer/install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if '%errorlevel%' NEQ '0' (
@REG ADD HKLM\SOFTWARE\Intel\MediaSDK\Dispatch\%deviceid% /v APIVersion /t REG_DWORD /d 0x104 /f
@REG ADD HKLM\SOFTWARE\Intel\MediaSDK\Dispatch\%deviceid% /v DeviceID /t REG_DWORD /d 0x%deviceid% /f
@REG ADD HKLM\SOFTWARE\Intel\MediaSDK\Dispatch\%deviceid% /v Merit /t REG_DWORD /d 0x800005f /f
@REG ADD HKLM\SOFTWARE\Intel\MediaSDK\Dispatch\%deviceid% /v Path /t REG_SZ /d "C:\Program Files (x86)\Intel\Media SDK\libmfxhw64.dll" /f
@REG ADD HKLM\SOFTWARE\Intel\MediaSDK\Dispatch\%deviceid% /v Path /t REG_SZ /d "%ProgramFiles(x86)%\Intel\Media SDK\libmfxhw64.dll" /f
@REG ADD HKLM\SOFTWARE\Intel\MediaSDK\Dispatch\%deviceid% /v VendorID /t REG_DWORD /d 0x8086 /f

@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK /ve /f
Expand All @@ -53,7 +53,7 @@ if '%errorlevel%' NEQ '0' (
@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK\Dispatch\%deviceid% /v APIVersion /t REG_DWORD /d 0x104 /f
@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK\Dispatch\%deviceid% /v DeviceID /t REG_DWORD /d 0x%deviceid% /f
@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK\Dispatch\%deviceid% /v Merit /t REG_DWORD /d 0x800005f /f
@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK\Dispatch\%deviceid% /v Path /t REG_SZ /d "C:\Program Files (x86)\Intel\Media SDK\libmfxhw32.dll" /f
@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK\Dispatch\%deviceid% /v Path /t REG_SZ /d "%ProgramFiles(x86)%\Intel\Media SDK\libmfxhw32.dll" /f
@REG ADD HKLM\SOFTWARE\WOW6432Node\Intel\MediaSDK\Dispatch\%deviceid% /v VendorID /t REG_DWORD /d 0x8086 /f

@rem Copy MediaSDK files
Expand Down

0 comments on commit 33cb8c5

Please sign in to comment.