Path: blob/master/Utilities/Release/WiX/patch_path_env.xml
3154 views
<CPackWiXPatch>1<CPackWiXFragment Id="CM_DP_bin">2<!-- Implement the "CMAKE_IN_PATH" checkbox when installing for all users. -->3<Component Id="CMakeSystemPathEntryCMP" KeyPath="yes" Guid="0E782367-5D68-4539-81D1-B9757AE496A1" Condition="CMAKE_IN_PATH AND ALLUSERS">4<Environment Id="CMakeSystemPathEntryENV" Action="set" Part="last"5Name="PATH" Value="[INSTALL_ROOT]bin"6System="yes"/>7</Component>89<!-- Implement the "CMAKE_IN_PATH" checkbox when installing per-user. -->10<!-- This is not currently reachable, but is reserved for future use. -->11<Component Id="CMakeUserPathEntryCMP" KeyPath="yes" Guid="392E524D-D5BF-4F16-A7AF-A82B07482CB9" Condition="CMAKE_IN_PATH AND NOT ALLUSERS">12<Environment Id="CMakeUserPathEntryENV" Action="set" Part="last"13Name="PATH" Value="[INSTALL_ROOT]bin"14System="no"/>15</Component>16</CPackWiXFragment>1718<CPackWiXFragment Id="#PRODUCTFEATURE">19<ComponentRef Id="CMakeSystemPathEntryCMP"/>20<ComponentRef Id="CMakeUserPathEntryCMP"/>21</CPackWiXFragment>22</CPackWiXPatch>232425