summaryrefslogtreecommitdiffstats
path: root/Utilities/Release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-27 14:22:27 (GMT)
committerBrad King <brad.king@kitware.com>2024-03-28 19:19:17 (GMT)
commit9e831a6211b3a19f2675ecb6595a9ee50f60c399 (patch)
treecffa4139fd64dca9ba3e0455c05f0cb031f668cc /Utilities/Release
parent68e9454abe2ce3e53d2059e04a38a7af53a8a1e4 (diff)
downloadCMake-9e831a6211b3a19f2675ecb6595a9ee50f60c399.zip
CMake-9e831a6211b3a19f2675ecb6595a9ee50f60c399.tar.gz
CMake-9e831a6211b3a19f2675ecb6595a9ee50f60c399.tar.bz2
Utilities/Release/WiX: Simplify specification of CMake registry value
Diffstat (limited to 'Utilities/Release')
-rw-r--r--Utilities/Release/WiX/WIX.template.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/Utilities/Release/WiX/WIX.template.in b/Utilities/Release/WiX/WIX.template.in
index d18883e..f48f782 100644
--- a/Utilities/Release/WiX/WIX.template.in
+++ b/Utilities/Release/WiX/WIX.template.in
@@ -39,16 +39,13 @@
<?endif?>
<DirectoryRef Id="TARGETDIR">
- <Component Id="CMakeRegistry">
- <RegistryKey Root="HKLM" Key="Software\Kitware\CMake">
- <RegistryValue Type="string" Name="InstallDir"
- Value="[INSTALL_ROOT]" KeyPath="yes"/>
- </RegistryKey>
+ <Component Id="CMakeRegistry_InstallDir">
+ <RegistryValue Root="HKLM" Key="Software\Kitware\CMake" Name="InstallDir" Type="string" Value="[INSTALL_ROOT]" />
</Component>
</DirectoryRef>
<FeatureRef Id="ProductFeature">
- <ComponentRef Id="CMakeRegistry"/>
+ <ComponentRef Id="CMakeRegistry_InstallDir" />
</FeatureRef>
<UIRef Id="$(var.CPACK_WIX_UI_REF)" />