* moved all certs in same named subdir

* added admin priv

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-03-23 23:06:01 +01:00
parent e785a838bd
commit c871ce3a02
4 changed files with 29 additions and 2 deletions
View File
+11 -2
View File
@@ -3,8 +3,17 @@
set SIGNTOOL="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe"
set DRIVER_DEBUG="%~dp0x64\Debug\PastDSEDriver.sys"
set DRIVER_RELEASE="%~dp0x64\Release\PastDSEDriver.sys"
set CA="%~dp0\VeriSign Class 3 Public Primary Certification Authority - G5.cer"
set CERT="%~dp0\cert.pfx"
set CA="%~dp0\certs\VeriSign Class 3 Public Primary Certification Authority - G5.cer"
set CERT="%~dp0\certs\cert_0.pfx"
net session >nul 2>&1
if %ERRORLEVEL% EQU 0 (
echo You are running this script as admin. Fine!
) else (
echo ERROR: This script requires admin privileges!
pause
exit /b 1
)
date 01-01-14
+9
View File
@@ -3,6 +3,15 @@ set SCNAME=PastDSE
set DRIVER="%~dp0\x64\Debug\PastDSEDriver.sys"
if not exist %DRIVER% set DRIVER="%~dp0\bin\x64\Debug\PastDSEDriver.sys"
net session >nul 2>&1
if %ERRORLEVEL% EQU 0 (
echo You are running this script as admin. Fine!
) else (
echo ERROR: This script requires admin privileges!
pause
exit /b 1
)
echo ***************************
echo Service Name: %SCNAME%
echo Driver......: %DRIVER%
+9
View File
@@ -1,6 +1,15 @@
@echo off
set SCNAME=PastDSE
net session >nul 2>&1
if %ERRORLEVEL% EQU 0 (
echo You are running this script as admin. Fine!
) else (
echo ERROR: This script requires admin privileges!
pause
exit /b 1
)
echo ***************************
echo Service Name: %SCNAME%
echo ***************************