mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Utilities/Release/WiX: Simplify specification of CMake registry value
This commit is contained 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)" />
|
||||
|
||||
Reference in New Issue
Block a user