only sign our own *.exe and *.msi

This commit is contained in:
Alexander Schulz 2018-12-25 22:22:40 +01:00
parent 6ca42899c8
commit d9a0ca6098

View File

@ -67,6 +67,9 @@
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>signtool.exe sign /a /n Vates /fd sha256 /t "http://timestamp.verisign.com/scripts/timestamp.dll" "!(TargetPath)"</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PreBuildEvent>del /Q $(SolutionDir)XenAdmin\bin\$(ConfigurationName)\%2a.ilk
del /Q $(SolutionDir)XenAdmin\bin\$(ConfigurationName)\%2a.pdb
@ -77,7 +80,7 @@ del /Q $(SolutionDir)XenAdmin\bin\$(ConfigurationName)\Schemas
del /Q $(SolutionDir)XenAdmin\bin\$(ConfigurationName)\ja
del /Q $(SolutionDir)XenAdmin\bin\$(ConfigurationName)\zh-CN
signtool.exe sign /a /n Vates /fd sha256 /t "http://timestamp.verisign.com/scripts/timestamp.dll" "$(SolutionDir)XenAdmin\bin\$(ConfigurationName)\%2a.dll"
REM signtool.exe sign /a /n Vates /fd sha256 /t "http://timestamp.verisign.com/scripts/timestamp.dll" "$(SolutionDir)XenAdmin\bin\$(ConfigurationName)\%2a.dll"
signtool.exe sign /a /n Vates /fd sha256 /t "http://timestamp.verisign.com/scripts/timestamp.dll" "$(SolutionDir)XenAdmin\bin\$(ConfigurationName)\%2a.exe"
heat.exe dir "$(SolutionDir)XenAdmin\bin\$(ConfigurationName)" -cg XCPngFiles -gg -scom -sreg -sfrag -srd -dr INSTALLLOCATION -out "$(ProjectDir)\FilesFragment.wxs"</PreBuildEvent>