mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-07 23:28:36 -06:00
Merge topic 'wix-reg-install-dir'
4beaa926Help: Add notes for topic 'wix-reg-install-dir'1b91e010Utilities/Release: Store WiX CMake install location in Windows registry
This commit is contained in:
6
Help/release/dev/wix-reg-install-dir.rst
Normal file
6
Help/release/dev/wix-reg-install-dir.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
wix-reg-install-dir
|
||||
-------------------
|
||||
|
||||
* The precompiled Windows binary MSI package provided on ``cmake.org`` now
|
||||
records the installation directory in the Windows Registry under the key
|
||||
``HKLM\Software\Kitware\CMake`` with a value named ``InstallDir``.
|
||||
@@ -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)" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user