diff options
-rw-r--r-- | post_install.bat | 9 |
1 files changed, 9 insertions, 0 deletions
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
|