From 6bb264b57ca11596f315cda0c776997c877ae68d Mon Sep 17 00:00:00 2001 From: Umberto Baldi Date: Fri, 17 Dec 2021 11:46:15 +0100 Subject: add install for arduino gemma drivers: they are in another directory --- post_install.bat | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/post_install.bat b/post_install.bat index 4b80f1c..10db223 100644 --- a/post_install.bat +++ b/post_install.bat @@ -8,4 +8,13 @@ if "%PROCESSOR_ARCHITECTURE%" == "AMD64" ( drivers\dpinst-x86.exe %ARGS% ) +REM dpinst /PATH has problems with relative paths, so use absolute path. +if "%PROCESSOR_ARCHITECTURE%" == "AMD64" ( + drivers\dpinst-amd64.exe /PATH %cd%\drivers\gemma %ARGS% +) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" ( + drivers\dpinst-amd64.exe /PATH %cd%\drivers\gemma %ARGS% +) ELSE ( + drivers\dpinst-x86.exe /PATH %cd%\drivers\gemma %ARGS% +) + exit /b 0 -- cgit v1.2.3-18-g5258