diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-10-24 20:18:26 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-10-24 20:27:43 -0500 |
commit | 94cc82139b10aa098e0586fbad80b0412c788527 (patch) | |
tree | afd396498b98211431a02ce8870bcecf1fea82c7 /src/wixstdba | |
parent | 6241bbf88e61f07816ea8fd028d7aaeba6bc524e (diff) | |
download | wix-94cc82139b10aa098e0586fbad80b0412c788527.tar.gz wix-94cc82139b10aa098e0586fbad80b0412c788527.tar.bz2 wix-94cc82139b10aa098e0586fbad80b0412c788527.zip |
Update dependencies.
Diffstat (limited to 'src/wixstdba')
-rw-r--r-- | src/wixstdba/WixStandardBootstrapperApplication.cpp | 11 | ||||
-rw-r--r-- | src/wixstdba/packages.config | 8 | ||||
-rw-r--r-- | src/wixstdba/precomp.h | 1 | ||||
-rw-r--r-- | src/wixstdba/wixstdba.vcxproj | 16 |
4 files changed, 21 insertions, 15 deletions
diff --git a/src/wixstdba/WixStandardBootstrapperApplication.cpp b/src/wixstdba/WixStandardBootstrapperApplication.cpp index c5ef59ec..44c77057 100644 --- a/src/wixstdba/WixStandardBootstrapperApplication.cpp +++ b/src/wixstdba/WixStandardBootstrapperApplication.cpp | |||
@@ -264,7 +264,7 @@ public: // IBootstrapperApplication | |||
264 | __in BOOTSTRAPPER_RELATION_TYPE relationType, | 264 | __in BOOTSTRAPPER_RELATION_TYPE relationType, |
265 | __in LPCWSTR wzBundleTag, | 265 | __in LPCWSTR wzBundleTag, |
266 | __in BOOL fPerMachine, | 266 | __in BOOL fPerMachine, |
267 | __in DWORD64 dw64Version, | 267 | __in LPCWSTR wzVersion, |
268 | __in BOOTSTRAPPER_RELATED_OPERATION operation, | 268 | __in BOOTSTRAPPER_RELATED_OPERATION operation, |
269 | __inout BOOL* pfCancel | 269 | __inout BOOL* pfCancel |
270 | ) | 270 | ) |
@@ -281,7 +281,7 @@ public: // IBootstrapperApplication | |||
281 | m_fDowngrading = TRUE; | 281 | m_fDowngrading = TRUE; |
282 | } | 282 | } |
283 | 283 | ||
284 | return CBalBaseBootstrapperApplication::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, dw64Version, operation, pfCancel); | 284 | return CBalBaseBootstrapperApplication::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, operation, pfCancel); |
285 | } | 285 | } |
286 | 286 | ||
287 | 287 | ||
@@ -2272,6 +2272,7 @@ private: // privates | |||
2272 | HRESULT hr = S_OK; | 2272 | HRESULT hr = S_OK; |
2273 | ULARGE_INTEGER uliVersion = { }; | 2273 | ULARGE_INTEGER uliVersion = { }; |
2274 | LPWSTR sczCurrentPath = NULL; | 2274 | LPWSTR sczCurrentPath = NULL; |
2275 | VERUTIL_VERSION* pVersion = NULL; | ||
2275 | 2276 | ||
2276 | hr = PathForCurrentProcess(&sczCurrentPath, NULL); | 2277 | hr = PathForCurrentProcess(&sczCurrentPath, NULL); |
2277 | BalExitOnFailure(hr, "Failed to get bundle path."); | 2278 | BalExitOnFailure(hr, "Failed to get bundle path."); |
@@ -2279,10 +2280,14 @@ private: // privates | |||
2279 | hr = FileVersion(sczCurrentPath, &uliVersion.HighPart, &uliVersion.LowPart); | 2280 | hr = FileVersion(sczCurrentPath, &uliVersion.HighPart, &uliVersion.LowPart); |
2280 | BalExitOnFailure(hr, "Failed to get bundle file version."); | 2281 | BalExitOnFailure(hr, "Failed to get bundle file version."); |
2281 | 2282 | ||
2282 | hr = m_pEngine->SetVariableVersion(WIXSTDBA_VARIABLE_BUNDLE_FILE_VERSION, uliVersion.QuadPart); | 2283 | hr = VerVersionFromQword(uliVersion.QuadPart, &pVersion); |
2284 | BalExitOnFailure(hr, "Failed to create bundle file version."); | ||
2285 | |||
2286 | hr = m_pEngine->SetVariableVersion(WIXSTDBA_VARIABLE_BUNDLE_FILE_VERSION, pVersion->sczVersion); | ||
2283 | BalExitOnFailure(hr, "Failed to set WixBundleFileVersion variable."); | 2287 | BalExitOnFailure(hr, "Failed to set WixBundleFileVersion variable."); |
2284 | 2288 | ||
2285 | LExit: | 2289 | LExit: |
2290 | ReleaseVerutilVersion(pVersion); | ||
2286 | ReleaseStr(sczCurrentPath); | 2291 | ReleaseStr(sczCurrentPath); |
2287 | 2292 | ||
2288 | return hr; | 2293 | return hr; |
diff --git a/src/wixstdba/packages.config b/src/wixstdba/packages.config index 7d35694c..40cb1671 100644 --- a/src/wixstdba/packages.config +++ b/src/wixstdba/packages.config | |||
@@ -3,8 +3,8 @@ | |||
3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | 3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> |
4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | 4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> |
5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | 5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> |
6 | <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" /> | 6 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> |
7 | <package id="WixToolset.BalUtil" version="4.0.35" targetFramework="native" /> | 7 | <package id="WixToolset.BalUtil" version="4.0.40" targetFramework="native" /> |
8 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.33" targetFramework="native" /> | 8 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.38" targetFramework="native" /> |
9 | <package id="WixToolset.DUtil" version="4.0.49" targetFramework="native" /> | 9 | <package id="WixToolset.DUtil" version="4.0.55" targetFramework="native" /> |
10 | </packages> \ No newline at end of file | 10 | </packages> \ No newline at end of file |
diff --git a/src/wixstdba/precomp.h b/src/wixstdba/precomp.h index 9c2b9f6a..547183bd 100644 --- a/src/wixstdba/precomp.h +++ b/src/wixstdba/precomp.h | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "shelutil.h" | 30 | #include "shelutil.h" |
31 | #include "strutil.h" | 31 | #include "strutil.h" |
32 | #include "thmutil.h" | 32 | #include "thmutil.h" |
33 | #include "verutil.h" | ||
33 | #include "uriutil.h" | 34 | #include "uriutil.h" |
34 | #include "xmlutil.h" | 35 | #include "xmlutil.h" |
35 | 36 | ||
diff --git a/src/wixstdba/wixstdba.vcxproj b/src/wixstdba/wixstdba.vcxproj index a4ce7453..220be9e6 100644 --- a/src/wixstdba/wixstdba.vcxproj +++ b/src/wixstdba/wixstdba.vcxproj | |||
@@ -5,9 +5,9 @@ | |||
5 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | 5 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> |
6 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | 6 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> |
7 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | 7 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> |
8 | <Import Project="..\..\packages\WixToolset.BalUtil.4.0.35\build\WixToolset.BalUtil.props" Condition="Exists('..\..\packages\WixToolset.BalUtil.4.0.35\build\WixToolset.BalUtil.props')" /> | 8 | <Import Project="..\..\packages\WixToolset.BalUtil.4.0.40\build\WixToolset.BalUtil.props" Condition="Exists('..\..\packages\WixToolset.BalUtil.4.0.40\build\WixToolset.BalUtil.props')" /> |
9 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props')" /> | 9 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.38\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.38\build\WixToolset.BootstrapperCore.Native.props')" /> |
10 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.49\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.49\build\WixToolset.DUtil.props')" /> | 10 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props')" /> |
11 | 11 | ||
12 | <ItemGroup Label="ProjectConfigurations"> | 12 | <ItemGroup Label="ProjectConfigurations"> |
13 | <ProjectConfiguration Include="Debug|Win32"> | 13 | <ProjectConfiguration Include="Debug|Win32"> |
@@ -66,7 +66,7 @@ rc.exe -fo "$(OutDir)wixstdba.res" "$(IntDir)wixstdba.messages.rc"</Command> | |||
66 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | 66 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> |
67 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | 67 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> |
68 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | 68 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> |
69 | <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" /> | 69 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> |
70 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 70 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
71 | <PropertyGroup> | 71 | <PropertyGroup> |
72 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | 72 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
@@ -77,9 +77,9 @@ rc.exe -fo "$(OutDir)wixstdba.res" "$(IntDir)wixstdba.messages.rc"</Command> | |||
77 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | 77 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> |
78 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | 78 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> |
79 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | 79 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> |
80 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" /> | 80 | <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'))" /> |
81 | <Error Condition="!Exists('..\..\packages\WixToolset.BalUtil.4.0.35\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BalUtil.4.0.35\build\WixToolset.BalUtil.props'))" /> | 81 | <Error Condition="!Exists('..\..\packages\WixToolset.BalUtil.4.0.40\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BalUtil.4.0.40\build\WixToolset.BalUtil.props'))" /> |
82 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props'))" /> | 82 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.38\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.38\build\WixToolset.BootstrapperCore.Native.props'))" /> |
83 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.49\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.49\build\WixToolset.DUtil.props'))" /> | 83 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props'))" /> |
84 | </Target> | 84 | </Target> |
85 | </Project> \ No newline at end of file | 85 | </Project> \ No newline at end of file |