Skip to content

Wix V4 Error "The compiler application (candle) could not be found" #202

@RandyMarsh1

Description

@RandyMarsh1

Update
Issue is related to using Wix V4, to resolve you must uninstall V4, install V3 from here and reboot.

Original:
I'm trying to use cargo-wix for the first time with Wix V4 but get the following error when running 'cargo wix'

Error[2] (Generic): The compiler application (candle) could not be found in the PATH environment variable. Please check the WiX Toolset (http://wixtoolset.org/) is installed and check the WiX Toolset's 'bin' folder has been added to the PATH system environment variable, the WIX system environment variable exists, or use the '-b,--bin-path' command line argument.

Could this be related to Wix V3 to V4 compatibility?
If so can we please update the README.md

Versions:
Wix 4.0.1 (installed via CLI .NET tool)
cargo-wix v0.3.4
.Net 7.0.400
Rust 1.67
Windows 11

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions