diff options
author | Rob Mensching <rob@firegiant.com> | 2022-05-09 22:21:16 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-05-10 13:03:03 -0700 |
commit | 02e682881979cd87592ee1e8e39b7744b575829c (patch) | |
tree | ef0db025ca499781cf5add96a49ffd3934c0b34e /src/libs/dutil/WixToolset.DUtil/inc/regutil.h | |
parent | 905a6b0c4a214a373cb437ca28ea5610b3ad7654 (diff) | |
download | wix-02e682881979cd87592ee1e8e39b7744b575829c.tar.gz wix-02e682881979cd87592ee1e8e39b7744b575829c.tar.bz2 wix-02e682881979cd87592ee1e8e39b7744b575829c.zip |
Add support for semver in bundles and dependencies
Take advantage of WixVersion/verutil functionality to support wider
range of version numbers were possible in the WiX Toolset
Completes 4666
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/regutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/regutil.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/regutil.h b/src/libs/dutil/WixToolset.DUtil/inc/regutil.h index 3cbb53b0..76d2d7cb 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/regutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/regutil.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | 2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
3 | 3 | ||
4 | #include "verutil.h" | ||
4 | 5 | ||
5 | #ifdef __cplusplus | 6 | #ifdef __cplusplus |
6 | extern "C" { | 7 | extern "C" { |
@@ -261,6 +262,16 @@ HRESULT DAPI RegReadVersion( | |||
261 | ); | 262 | ); |
262 | 263 | ||
263 | /******************************************************************** | 264 | /******************************************************************** |
265 | RegReadWixVersion - reads a registry key value as a WiX version. | ||
266 | |||
267 | *********************************************************************/ | ||
268 | HRESULT DAPI RegReadWixVersion( | ||
269 | __in HKEY hk, | ||
270 | __in_z_opt LPCWSTR wzName, | ||
271 | __out VERUTIL_VERSION** ppVersion | ||
272 | ); | ||
273 | |||
274 | /******************************************************************** | ||
264 | RegReadNone - reads a NONE registry key value. | 275 | RegReadNone - reads a NONE registry key value. |
265 | 276 | ||
266 | *********************************************************************/ | 277 | *********************************************************************/ |