2018-08-17 20:01:57 +03:00
|
|
|
<!-- Targets for making .wixproj better. -->
|
|
|
|
<Project>
|
|
|
|
|
2018-09-07 02:29:04 +03:00
|
|
|
<ItemDefinitionGroup>
|
2018-09-27 22:58:41 +03:00
|
|
|
<!-- Override the MicroBuild default certs which still uses MicrosoftSHA1 and Microsoft401 -->
|
|
|
|
<SignCabs>
|
|
|
|
<Authenticode>Microsoft400</Authenticode>
|
|
|
|
</SignCabs>
|
2018-09-07 02:29:04 +03:00
|
|
|
<SignMsi>
|
2018-09-27 20:39:18 +03:00
|
|
|
<Authenticode>Microsoft400</Authenticode>
|
2018-09-07 02:29:04 +03:00
|
|
|
</SignMsi>
|
2018-09-27 22:58:41 +03:00
|
|
|
<SignBundle>
|
|
|
|
<Authenticode>Microsoft400</Authenticode>
|
|
|
|
</SignBundle>
|
|
|
|
<SignBundleEngine>
|
|
|
|
<Authenticode>Microsoft400</Authenticode>
|
|
|
|
</SignBundleEngine>
|
2018-09-07 02:29:04 +03:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2018-08-17 20:01:57 +03:00
|
|
|
<PropertyGroup Condition="'$(OutputType)' == 'package'">
|
2020-12-10 23:01:51 +03:00
|
|
|
<!-- Set package version for SharedFx & TargetingPack wixproj's -->
|
|
|
|
<!-- Everything built in those projects _except_ the final package & MSI are shipping assets. -->
|
|
|
|
<_GeneratedPackageVersion>$(PackageVersion)</_GeneratedPackageVersion>
|
|
|
|
<_GeneratedPackageVersion
|
|
|
|
Condition="! $(PackageVersion.Contains('$(_PreReleaseLabel)'))">$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion>
|
|
|
|
<!-- Insert PackageVersion into OutputName for SharedFx & TargetingPack -->
|
|
|
|
<OutputName Condition="'$(OutputNamePrefix)' != '' AND '$(OutputNameSuffix)' != ''">$(OutputNamePrefix)$(_GeneratedPackageVersion)$(OutputNameSuffix)</OutputName>
|
|
|
|
|
2018-08-17 20:01:57 +03:00
|
|
|
<EmbedCab Condition="'$(EmbedCab)' == ''">yes</EmbedCab>
|
|
|
|
<InstallDir>$(ProductName)</InstallDir>
|
|
|
|
|
|
|
|
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);Debug</DefineConstants>
|
|
|
|
<DefineConstants>$(DefineConstants);EmbedCab=$(EmbedCab)</DefineConstants>
|
2021-01-26 01:43:11 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Condition=" '$(OutputType)' == 'package' AND '$(Cabinet)' == '' ">
|
|
|
|
<Cabinet>$(OutputName.Replace('-', '_')).cab</Cabinet>
|
|
|
|
<Cabinet Condition=" '$(EmbedCab)' != 'yes' ">$(OutputName.Replace('_win', '')).cab</Cabinet>
|
2018-08-17 20:01:57 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<Culture Condition=" '$(Culture)' == '' ">en-US</Culture>
|
|
|
|
<Cultures Condition=" '$(Cultures)' == '' ">$(Culture)</Cultures>
|
|
|
|
<InstallerPlatform>$(Platform)</InstallerPlatform>
|
|
|
|
<OutDir Condition=" '$(OutDir)' == '' ">$(OutputPath)</OutDir>
|
2021-01-26 01:43:11 +03:00
|
|
|
|
|
|
|
<DefineConstants>$(DefineConstants);Cabinet=$(Cabinet)</DefineConstants>
|
2018-08-17 20:01:57 +03:00
|
|
|
<DefineConstants>$(DefineConstants);BinPath=$(OutputPath)$(Culture)\</DefineConstants>
|
|
|
|
<DefineConstants>$(WixVariables);$(DefineConstants)</DefineConstants>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Import Project="$(NuGetRestoreTargets)" />
|
|
|
|
<Import Project="$(MSBuildProjectExtensionsPath)$(MSBuildProjectFile).*.targets" />
|
|
|
|
<Import Project="$(WixTargetsPath)" Condition="'$(WixTargetsPath)' != '' " />
|
2020-10-14 20:19:10 +03:00
|
|
|
<!-- Don't import the Microbuild signing targets when post build sign is enabled. They override the
|
|
|
|
standard Wix targets for signing, and call ESRP directly (rather than through SignTool). So without this,
|
|
|
|
ASPNetCore will sign even when PostbuildSign == true -->
|
|
|
|
<Import Project="$(MicroBuildPluginDirectory)\MicroBuild.Plugins.*\**\build\MicroBuild.Plugins.*.targets" Condition="'$(DisableMicroBuild)' != 'true' AND '$(MicroBuildPluginDirectory)' != '' AND '$(PostBuildSign)' != 'true'" />
|
2018-08-17 20:01:57 +03:00
|
|
|
</Project>
|