I want to generate an installer for a hot-patch to an existing application, and I want the installer to fail if the application is not installed (or at the least, if certain environment variable doesn't exist).
I have read about InstallCondition, but I cannot find a way to add InstallCondition to CPack for the WiX generator.
I found out how to add fragments using "CPACK_WIX_PATCH_FILE", but I cannot find a way to place an install condition there.
What am I missing? Please help me.