[CMake] CPack WIX examples

jmerkow jmerkow at gmail.com
Wed Sep 24 17:25:35 EDT 2014


I forgot to mention that I double checked that this particular code was being
executed.  I started changing the name (and adding a time stamp) to the msi
in the same section of code to double check. Here is it is (its at send of
my code for cpack):

...
if(WIN32)
	if(MSVC)
		set(CPACK_GENERATOR "WIX")
		set(CPACK_WIX_PRODUCT_GUID "---")
		set(CPACK_WIX_UPGRADE_GUID "---")
		SET(CPACK_PACKAGE_FILE_NAME
"myproj-${myproj_FULL_VERSION}-Win-x64_${TIMESTAMP}_NewTest")
		set(CPACK_WIX_PATCH_FILE "${CMAKE_CURRENT_SOURCE_DIR}/patch.xml")
	endif()
endif()

include(CPack)



--
View this message in context: http://cmake.3232098.n2.nabble.com/CPack-WIX-examples-tp7588561p7588595.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list