Open RandyMarsh1 opened 1 year ago
Thank you for your interest and detailed information.
This project does not currently support WiX v4. It currently only supports WiX v3.
There is discussion and planning for support of WiX v4 in #174. In short, WiX v4 is a major release that uses a single command (wix
) instead of two commands (candle
and light
) to create installers and the XML schema has changed. Thus, it is not a simple migration.
It may be worth rewording the error message to point to wix toolset v3 explicitly. It may be worth detecting if wix
is installed, and writing an error message explicitly guiding people to the wix toolset v3 installer.
is there any update for this?
Are you wondering about progress on an updated error message or support for WiX v4?
Currently all documentation points to wixtoolset.org which lists installation instructions without any particular version information. This includes installing via dotnet tool install --global wix
which installs version 4.0.4.
I would suggest linking more directly to https://github.com/wixtoolset/wix3/releases/ instead, and make this more clear in all documentation.
I would be happy to review and merge a PR that contains an updated URL for WiX Toolset v3.
Creating a PR,
But first adding my steps here for future readers.
.\wix314.exe /install /quiet /norestart
edit: cannot find the docs in the source of this repo, they seem to be behind your github page site, which is private
I just encountered this issue and I think it's very necessary to clarify the supported versions of Wix in the readme, as Wix is now v5.
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