Skip to content

Compilation of PACKAGE target fails if Wix Toolset is not installed on system.  #69

@end2endzone

Description

@end2endzone

Describe the bug
When building using the ci/appveyor/build_library.bat script, the compilation fails with the following error message:

CPack: Create package using WIX
CPack: Install projects
CPack: - Install project: ShellAnything
CPack: Create package
CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CPackWIX.cmake:299 (message):
  Could not find the WiX candle executable.

To Reproduce
Steps to reproduce the behavior:

  1. Build INSTALL target using ci/appveyor/build_library.bat script.

Expected behavior
The CMake script should not try to build the Wix Installer if Wix Toolset is not installed on the system. At worst, a warning should be displayed.

Screenshots
See the following attached log file issue 68.txt for details.

Environment

  • OS: Windows 7
  • Version: HEAD, 0.5.0, eadf63b

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions