I am trying to automate building a Windows MSI Installer for an electron application using Wix.
I can see from looking here that the Wix Toolsets are included in the windows-latest
runner.
However, it seems like electron-wix-msi
requires having candle.exe
and light.exe
available in the path. Without the candle.exe
and light.exe
available in the path, my build step will fail with the following message:
My research also lead to this post, but the answer there uses add-path
which has since been deprecated.
I have 2 questions:
-
What is path to the wix toolset binaries? How can I access this in the
run
step? ($wix
,${env.wix}
?) -
How can I add-path to the wix toolset so that it will be available at a later run step?
Appreciate any help I can get!