Join GitHub today
Compiler Error Output Misleading #4725
Using Votive, I changed by bootstrapper application to WixStandardBootstrapperApplication.HyperlinkLicense and attempted a build. The following error was displayed:
Error 1 The Windows Installer XML variable !(wix.WixStdbaLicenseUrl) is unknown. Please ensure the variable is declared on the command line for light.exe, via a WixVariable element, or inline using the syntax !(wix.WixStdbaLicenseUrl=some value which doesn't contain parenthesis). C:\src\wix39\src\ext\BalExtension\wixlib\wixstdba.wxs 54 1 BootsBootstrapper
I started to go down the road of implementing the suggested fixes when it occurred to me that all I really needed was a bal:WixStandardBootstrapperApplication@LicenseUrl attribute.
I haven't looked at the code but I'm guessing this error is a generic catch for missing variable. It'd be helpful if well known variables had more appropriate resolution messages to assist new setup developers.