Skip to content

Commit ecf2a57

Browse files
committed
SEBWIN-1046: Updated build integration.
1 parent 4bd4ba8 commit ecf2a57

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Setup/Setup.wixproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,29 +133,29 @@ git -C $(SolutionDir) checkout -- Setup/Components/Service.wxs</PostBuildEvent>
133133
<SignOutput>true</SignOutput>
134134
</PropertyGroup>
135135
<Target Name="SignCabs">
136-
<Exec Command="signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 &quot;%(SignCabs.FullPath)&quot;" />
136+
<Exec Command="signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 &quot;%(SignCabs.FullPath)&quot;" />
137137
</Target>
138138
<Target Name="SignMsi">
139-
<Exec Command="signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 /d &quot;Safe Exam Browser&quot; &quot;%(SignMsi.FullPath)&quot;" />
139+
<Exec Command="signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 /d &quot;Safe Exam Browser&quot; &quot;%(SignMsi.FullPath)&quot;" />
140140
</Target>
141141
<PropertyGroup>
142142
<PreBuildEvent>setlocal enabledelayedexpansion
143143

144144
set binaries=
145145
FOR /F %25%25G IN (%27dir "$(SolutionDir)SafeExamBrowser.Runtime\bin\$(PlatformName)\$(ConfigurationName)\%2a.exe" "$(SolutionDir)SafeExamBrowser.Runtime\bin\$(PlatformName)\$(ConfigurationName)\%2a.dll" /s /b%27) DO set binaries=!binaries! %25%25G
146-
signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
146+
signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
147147

148148
set binaries=
149149
FOR /F %25%25G IN (%27dir "$(SolutionDir)SebWindowsConfig\bin\$(PlatformName)\$(ConfigurationName)\%2a.exe" "$(SolutionDir)SebWindowsConfig\bin\$(PlatformName)\$(ConfigurationName)\%2a.dll" /s /b%27) DO set binaries=!binaries! %25%25G
150-
signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
150+
signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
151151

152152
set binaries=
153153
FOR /F %25%25G IN (%27dir "$(SolutionDir)SafeExamBrowser.ResetUtility\bin\$(PlatformName)\$(ConfigurationName)\%2a.exe" "$(SolutionDir)SafeExamBrowser.ResetUtility\bin\$(PlatformName)\$(ConfigurationName)\%2a.dll" /s /b%27) DO set binaries=!binaries! %25%25G
154-
signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
154+
signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
155155

156156
set binaries=
157157
FOR /F %25%25G IN (%27dir "$(SolutionDir)SafeExamBrowser.Service\bin\$(PlatformName)\$(ConfigurationName)\%2a.exe" "$(SolutionDir)SafeExamBrowser.Service\bin\$(PlatformName)\$(ConfigurationName)\%2a.dll" /s /b%27) DO set binaries=!binaries! %25%25G
158-
signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
158+
signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 %25binaries%25
159159

160160
"$(WIX)bin\heat.exe" dir "$(SolutionDir)SafeExamBrowser.Runtime\bin\$(PlatformName)\$(ConfigurationName)" -nologo -ag -g1 -scom -srd -sreg -cg ApplicationComponents -dr ApplicationDirectory -sfrag -var var.SafeExamBrowser.Runtime.TargetDir -out $(ProjectDir)Components\Application.wxs -t $(ProjectDir)Components\Application.xslt
161161
"$(WIX)bin\heat.exe" dir "$(SolutionDir)SebWindowsConfig\bin\$(PlatformName)\$(ConfigurationName)" -nologo -ag -g1 -scom -srd -sreg -cg ConfigurationComponents -dr ConfigurationDirectory -sfrag -var var.SebWindowsConfig.TargetDir -out $(ProjectDir)Components\Configuration.wxs -t $(ProjectDir)Components\Configuration.xslt

SetupBundle/SetupBundle.wixproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@
8383
<SignOutput>true</SignOutput>
8484
</PropertyGroup>
8585
<Target Name="SignBundleEngine">
86-
<Exec Command="signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 &quot;@(SignBundleEngine)&quot;" />
86+
<Exec Command="signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 &quot;@(SignBundleEngine)&quot;" />
8787
</Target>
8888
<Target Name="SignBundle">
89-
<Exec Command="signtool sign /sm /tr http://timestamp.digicert.com /td sha256 /fd sha256 &quot;@(SignBundle)&quot;" />
89+
<Exec Command="signtool sign /sha1 ecac9df025f5d208f6190fc4d6f9d329576598c7 /tr http://timestamp.digicert.com /td sha256 /fd sha256 &quot;@(SignBundle)&quot;" />
9090
</Target>
9191
<PropertyGroup>
9292
<PreBuildEvent>IF NOT EXIST "C:\Temp" (

0 commit comments

Comments
 (0)