Utilities/Release: Store WiX CMake install location in Windows registry

This commit is contained in:
Nils Gladitz
2016-12-05 16:05:19 +01:00
parent c45b767a8c
commit 1b91e010bc

View File

@@ -36,7 +36,18 @@
<WixVariable Id="WixUIDialogBmp" Value="$(var.CPACK_WIX_UI_DIALOG)"/>
<?endif?>
<FeatureRef Id="ProductFeature"/>
<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>
</DirectoryRef>
<FeatureRef Id="ProductFeature">
<ComponentRef Id="CMakeRegistry"/>
</FeatureRef>
<UIRef Id="$(var.CPACK_WIX_UI_REF)" />