diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-22 16:58:03 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-04-29 16:36:05 -0700 |
commit | 9c2aed97299fb96aeee3f1471ce40225437aaecf (patch) | |
tree | fb871916c7878eecbcdf866d7d4b2fea5c0401c9 /src/stub | |
parent | b6c44ffcf2ef7a706598fe218523ec377e96cc47 (diff) | |
download | wix-9c2aed97299fb96aeee3f1471ce40225437aaecf.tar.gz wix-9c2aed97299fb96aeee3f1471ce40225437aaecf.tar.bz2 wix-9c2aed97299fb96aeee3f1471ce40225437aaecf.zip |
Integrate new build scripts with signing support
Diffstat (limited to 'src/stub')
-rw-r--r-- | src/stub/stub.nuspec | 25 | ||||
-rw-r--r-- | src/stub/stub.vcxproj | 8 |
2 files changed, 28 insertions, 5 deletions
diff --git a/src/stub/stub.nuspec b/src/stub/stub.nuspec new file mode 100644 index 00000000..968feff3 --- /dev/null +++ b/src/stub/stub.nuspec | |||
@@ -0,0 +1,25 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
3 | <metadata minClientVersion="4.0"> | ||
4 | <id>$id$</id> | ||
5 | <version>$version$</version> | ||
6 | <title>$title$</title> | ||
7 | <description>$description$</description> | ||
8 | <authors>$authors$</authors> | ||
9 | <license type="expression">MS-RL</license> | ||
10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
11 | <copyright>$copyright$</copyright> | ||
12 | <projectUrl>$projectUrl$</projectUrl> | ||
13 | <repository type="$repositorytype$" url="$repositoryurl$" commit="$repositorycommit$" /> | ||
14 | </metadata> | ||
15 | |||
16 | <files> | ||
17 | <file src="$projectFolder$$id$.props" target="buildTransitive" /> | ||
18 | <file src="..\..\build\$configuration$\Win32\burn.exe" target="tools\x86" /> | ||
19 | <file src="..\..\build\$configuration$\Win32\burn.pdb" target="tools\x86" /> | ||
20 | <file src="..\..\build\$configuration$\x64\burn.exe" target="tools\x64" /> | ||
21 | <file src="..\..\build\$configuration$\x64\burn.pdb" target="tools\x64" /> | ||
22 | <file src="..\..\build\$configuration$\arm64\burn.exe" target="tools\arm64" /> | ||
23 | <file src="..\..\build\$configuration$\arm64\burn.pdb" target="tools\arm64" /> | ||
24 | </files> | ||
25 | </package> | ||
diff --git a/src/stub/stub.vcxproj b/src/stub/stub.vcxproj index 38710865..97972848 100644 --- a/src/stub/stub.vcxproj +++ b/src/stub/stub.vcxproj | |||
@@ -46,6 +46,8 @@ | |||
46 | <!-- NBGV properties --> | 46 | <!-- NBGV properties --> |
47 | <AssemblyLanguage>1033</AssemblyLanguage> | 47 | <AssemblyLanguage>1033</AssemblyLanguage> |
48 | <AssemblyProduct>Burn</AssemblyProduct> | 48 | <AssemblyProduct>Burn</AssemblyProduct> |
49 | <PackageId>WixToolset.Burn</PackageId> | ||
50 | <SignOutput>false</SignOutput> | ||
49 | </PropertyGroup> | 51 | </PropertyGroup> |
50 | 52 | ||
51 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 53 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
@@ -101,10 +103,6 @@ | |||
101 | <None Include="packages.config" /> | 103 | <None Include="packages.config" /> |
102 | </ItemGroup> | 104 | </ItemGroup> |
103 | 105 | ||
104 | <Target Name="Pack" DependsOnTargets="GetBuildVersion"> | ||
105 | <Exec Command='nuget pack WixToolset.Burn.nuspec -Symbols -BasePath "$(BaseOutputPath)$(Configuration)" -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Id=WixToolset.Burn;Version="$(BuildVersionSimple)";ProjectFolder=$(MSBuildThisFileDirectory);Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)"' /> | ||
106 | </Target> | ||
107 | |||
108 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 106 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
109 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 107 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
110 | <PropertyGroup> | 108 | <PropertyGroup> |
@@ -119,4 +117,4 @@ | |||
119 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | 117 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> |
120 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | 118 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> |
121 | </Target> | 119 | </Target> |
122 | </Project> \ No newline at end of file | 120 | </Project> |