|
1 |
| -<!-- Targets for making .wixproj better. --> |
2 | 1 | <Project>
|
3 |
| - |
4 |
| - <ItemDefinitionGroup> |
5 |
| - <!-- Override the MicroBuild default certs which still uses MicrosoftSHA1 and Microsoft401 --> |
6 |
| - <SignCabs> |
7 |
| - <Authenticode>Microsoft400</Authenticode> |
8 |
| - </SignCabs> |
9 |
| - <SignMsi> |
10 |
| - <Authenticode>Microsoft400</Authenticode> |
11 |
| - </SignMsi> |
12 |
| - <SignBundle> |
13 |
| - <Authenticode>Microsoft400</Authenticode> |
14 |
| - </SignBundle> |
15 |
| - <SignBundleEngine> |
16 |
| - <Authenticode>Microsoft400</Authenticode> |
17 |
| - </SignBundleEngine> |
18 |
| - </ItemDefinitionGroup> |
19 |
| - |
20 |
| - <PropertyGroup Condition="'$(OutputType)' == 'package'"> |
21 |
| - <!-- Set package version for SharedFx & TargetingPack wixproj's --> |
22 |
| - <!-- Everything built in those projects _except_ the final package & MSI are shipping assets. --> |
23 |
| - <_GeneratedPackageVersion>$(PackageVersion)</_GeneratedPackageVersion> |
24 |
| - <_GeneratedPackageVersion |
25 |
| - Condition="! $(PackageVersion.Contains('$(_BuildNumberLabels)'))">$(VersionPrefix)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion> |
26 |
| - <!-- Insert PackageVersion into OutputName for SharedFx & TargetingPack --> |
27 |
| - <OutputName Condition="'$(OutputNamePrefix)' != '' AND '$(OutputNameSuffix)' != ''">$(OutputNamePrefix)$(_GeneratedPackageVersion)$(OutputNameSuffix)</OutputName> |
28 |
| - |
29 |
| - <EmbedCab Condition="'$(EmbedCab)' == ''">yes</EmbedCab> |
30 |
| - <InstallDir>$(ProductName)</InstallDir> |
31 |
| - |
32 |
| - <DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);Debug</DefineConstants> |
33 |
| - <DefineConstants>$(DefineConstants);EmbedCab=$(EmbedCab)</DefineConstants> |
34 |
| - </PropertyGroup> |
35 |
| - |
36 |
| - <PropertyGroup Condition=" '$(OutputType)' == 'package' AND '$(Cabinet)' == '' "> |
37 |
| - <Cabinet>$(OutputName.Replace('-', '_')).cab</Cabinet> |
38 |
| - <Cabinet Condition=" '$(EmbedCab)' != 'yes' ">$(OutputName.Replace('_win', '')).cab</Cabinet> |
39 |
| - </PropertyGroup> |
40 |
| - |
41 |
| - <PropertyGroup> |
42 |
| - <Culture Condition=" '$(Culture)' == '' ">en-US</Culture> |
43 |
| - <Cultures Condition=" '$(Cultures)' == '' ">$(Culture)</Cultures> |
44 |
| - <InstallerPlatform>$(Platform)</InstallerPlatform> |
45 |
| - <OutDir Condition=" '$(OutDir)' == '' ">$(OutputPath)</OutDir> |
46 |
| - |
47 |
| - <DefineConstants>$(DefineConstants);Cabinet=$(Cabinet)</DefineConstants> |
48 |
| - <DefineConstants>$(DefineConstants);BinPath=$(OutputPath)$(Culture)\</DefineConstants> |
49 |
| - <DefineConstants>$(WixVariables);$(DefineConstants)</DefineConstants> |
50 |
| - </PropertyGroup> |
51 |
| - |
52 |
| - <Import Project="$(NuGetRestoreTargets)" /> |
53 |
| - <Import Project="$(MSBuildProjectExtensionsPath)$(MSBuildProjectFile).*.targets" /> |
54 |
| - <Import Project="$(WixTargetsPath)" Condition="'$(WixTargetsPath)' != '' " /> |
55 | 2 | <!-- Don't import the Microbuild signing targets when post build sign is enabled. They override the
|
56 | 3 | standard Wix targets for signing, and call ESRP directly (rather than through SignTool). So without this,
|
57 | 4 | ASPNetCore will sign even when PostbuildSign == true -->
|
|
0 commit comments