Removed sigcheck

Use powershell to extract the version information
This commit is contained in:
hunbernd 2020-05-23 17:13:01 +02:00
parent c05f5e8329
commit 1d298e20ba
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ set VersionMinor=
set VersionMini=
set VersionExtra=
for /F "tokens=1,2,3,* delims=.-" %%A in ('%EnvToolsPath%\sigcheck.exe -nobanner -n %Executable%') do (
for /F "USEBACKQ tokens=1,2,3,* delims=.-" %%A in (`powershell -NoLogo -NoProfile -Command ^(Get-Item "%Executable%"^).VersionInfo.FileVersion`) do (
set VersionMajor=%%A
set VersionMinor=%%B
set VersionMini=%%C