build.version.props: MyCrossCert, MyCertIssuer

This commit is contained in:
Bill Zissimopoulos
2022-02-24 13:20:21 +00:00
parent cdcd6af81d
commit 8d83d46e7f
4 changed files with 13 additions and 4 deletions

View File

@ -6,8 +6,8 @@ setlocal EnableDelayedExpansion
call "%~dp0myinfo.bat"
set MsiName="%MyProductName% - %MyDescription%"
set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt"
set Issuer="DigiCert"
set CrossCert="%~dp0%MyCrossCert%"
set Issuer="%MyCertIssuer%"
set Subject="%MyCompanyName%"
set Configuration=Release

View File

@ -6,8 +6,8 @@ setlocal EnableDelayedExpansion
call "%~dp0myinfo.bat"
set MsiName="%MyProductName% - %MyDescription%"
set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt"
set Issuer="DigiCert"
set CrossCert="%~dp0%MyCrossCert%"
set Issuer="%MyCertIssuer%"
set Subject="%MyCompanyName%"
set Configuration=Release

View File

@ -14,6 +14,10 @@ for /F "tokens=2,3,4 delims=<>" %%a in (%~dp0..\build\VStudio\build.version.prop
set MyProductVersion=%%b
) else if "%%a"=="MyProductStage" (
set MyProductStage=%%b
) else if "%%a"=="MyCrossCert" (
set MyCrossCert=%%b
) else if "%%a"=="MyCertIssuer" (
set MyCertIssuer=%%b
)
)
)
@ -24,3 +28,5 @@ echo MyDescription=%MyDescription%
echo MyCompanyName=%MyCompanyName%
echo MyProductVersion=%MyProductVersion%
echo MyProductStage=%MyProductStage%
echo MyCrossCert=%MyCrossCert%
echo MyCertIssuer=%MyCertIssuer%