summaryrefslogtreecommitdiffstats
path: root/Utilities/Release
diff options
context:
space:
mode:
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)" />