@joebigelow / wix / commits / 931e5d02

Sign WixAdditionalTools bundle

Fixes 7083

Rob Mensching committed Dec 12, 2022 at 11:51 UTC 931e5d027892a5c251d32276c4ce61f5ce135f88
2 files changed +15
src/Directory.Build.targets
+14
@@ -143,6 +143,20 @@
143 WorkingDirectory="$(MSBuildProjectDirectory)" EchoOff="true" />
144 </Target>
145
146 + <Target Name="SignBundleEngine" DependsOnTargets="_GetSignClient" Condition=" '$(SigningUser)'!='' and '$(SignOutput)'!='false' ">
147 + <Message Importance="high" Text="Signing bundle engine: @(SignBundleEngine->&apos;%(Identity)&apos;) using configuration from: $(SigningConfiguration)" />
148 +
149 + <Exec Command='"$(SigningToolExe)" sign -i "@(SignBundleEngine->&apos;%(Identity)&apos;)" -c "$(SigningConfiguration)" -f "$(SigningFilelist)" -n "WiX Toolset" -d "WiX Toolset" -u https://wixtoolset.org/ -r "$(SigningUser)" -s "$(SigningSecret)"'
150 + WorkingDirectory="$(MSBuildProjectDirectory)" EchoOff="true" />
151 + </Target>
152 +
153 + <Target Name="SignBundle" DependsOnTargets="_GetSignClient" Condition=" '$(SigningUser)'!='' and '$(SignOutput)'!='false' ">
154 + <Message Importance="high" Text="Signing bundle: @(SignBundle->&apos;%(Identity)&apos;) using configuration from: $(SigningConfiguration)" />
155 +
156 + <Exec Command='"$(SigningToolExe)" sign -i "@(SignBundle->&apos;%(Identity)&apos;)" -c "$(SigningConfiguration)" -f "$(SigningFilelist)" -n "WiX Toolset" -d "WiX Toolset" -u https://wixtoolset.org/ -r "$(SigningUser)" -s "$(SigningSecret)"'
157 + WorkingDirectory="$(MSBuildProjectDirectory)" EchoOff="true" />
158 + </Target>
159 +
160 <Import Project="Directory$(MSBuildProjectExtension).targets" Condition=" Exists('Directory$(MSBuildProjectExtension).targets') " />
161 <Import Project="Custom.Build.targets" Condition=" Exists('Custom.Build.targets') " />
162 </Project>
src/setup/WixAdditionalTools/WixAdditionalTools.wixproj
+1
@@ -3,6 +3,7 @@
3 <PropertyGroup>
4 <OutputType>Bundle</OutputType>
5 <OutputPath>$(PackageOutputPath)</OutputPath>
6 + <SignOutput>true</SignOutput>
7 </PropertyGroup>
8
9 <ItemGroup>