Ok, I've double checked everything and I'm not sure whats going on. I was looking in files.wxs (in _CPack_Packages/win64/WIX) for the component ID, and i've tried a few different ones. I also dropped the config file step and used your example patch.xml: <CPackWiXPatch> <CPackWiXFragment Id="CMP_ID_1"> <Environment Id="MyEnvironment" Action="set" Name="FOOBAR" Value="FooBar"/> </CPackWiXFragment> </CPackWiXPatch>
Still nothing added when I search file.wxs for FOOBAR or anything else that should be added with the fragment injection. I am still curious as to why the component id's look so different between your tests and whats being generated in my file.wxs. That seems to leave the older version question.... Is this feature new with 3+? I am using CMake 2.8.12.2 -Jameson -- View this message in context: http://cmake.3232098.n2.nabble.com/CPack-WIX-examples-tp7588561p7588594.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake