diff options
| author | Rob Mensching <rob@firegiant.com> | 2025-12-13 12:17:48 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2025-12-13 13:39:14 -0800 |
| commit | 48b80e2d67c1f98ab5fe4aee28d849e36a1828d9 (patch) | |
| tree | 4e1ba746587cb6b0951bda87b6874d31ef76b207 /src | |
| parent | 5b06ff3dea5d96c11515ab979cb3a78deb3e07ad (diff) | |
| download | wix-48b80e2d67c1f98ab5fe4aee28d849e36a1828d9.tar.gz wix-48b80e2d67c1f98ab5fe4aee28d849e36a1828d9.tar.bz2 wix-48b80e2d67c1f98ab5fe4aee28d849e36a1828d9.zip | |
Add support for signing MSIs
Fixes 9193
Diffstat (limited to 'src')
| -rw-r--r-- | src/Directory.Build.targets | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index cd490c6c..9cb7bbc2 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets | |||
| @@ -85,6 +85,14 @@ | |||
| 85 | WorkingDirectory="$(MSBuildProjectDirectory)" EchoOff="true" /> | 85 | WorkingDirectory="$(MSBuildProjectDirectory)" EchoOff="true" /> |
| 86 | </Target> | 86 | </Target> |
| 87 | 87 | ||
| 88 | <!-- We want to be very precise about which MSIs we sign, so use 'true' for that precision. --> | ||
| 89 | <Target Name="SignMsi" Condition=" '$(SigningCertName)'!='' and '$(SignOutput)'=='true' "> | ||
| 90 | <Message Importance="high" Text="Signing MSI: @(SignMsi->'%(Identity)')" /> | ||
| 91 | |||
| 92 | <Exec Command='"$(SigningToolExe)" $(SigningCommand) $(SigningConfiguration) "@(SignMsi->'%(Identity)')"' | ||
| 93 | WorkingDirectory="$(MSBuildProjectDirectory)" EchoOff="true" /> | ||
| 94 | </Target> | ||
| 95 | |||
| 88 | <Target Name="SignBundleEngine" Condition=" '$(SigningCertName)'!='' and '$(SignOutput)'!='false' "> | 96 | <Target Name="SignBundleEngine" Condition=" '$(SigningCertName)'!='' and '$(SignOutput)'!='false' "> |
| 89 | <Message Importance="high" Text="Signing bundle engine: @(SignBundleEngine->'%(Identity)')" /> | 97 | <Message Importance="high" Text="Signing bundle engine: @(SignBundleEngine->'%(Identity)')" /> |
| 90 | 98 | ||
