product.wxs(136) : error LGHT0094 - Issue with Template
solvingj opened this issue · 1 comments
solvingj commented
I read the documentation surrounding the use of
CustomAction:WixBroadcastEnvironmentChange
I also looked through about 10 different reports of errors surrounding "error LGHT0094".
I still can't figure out how to fix the error.
I cloned the mh-cbon/go-msi repository and I get the same error I'm getting on my own repository:
C:\Users\me\git-c\go-msi>go-msi make --msi go-github-release-test.msi --version 0.0.1 --arch 386
C:\Users\me\AppData\Local\Temp\go-msi037630771>heat dir ..\..\..\..\git-c\go-msi\templates -nologo -cg AppFiles0 -gg -g1 -srd -sfrag -template fragment -dr APPDIR0 -var var.SourceDir0 -out AppFiles0.wxs
C:\Users\me\AppData\Local\Temp\go-msi037630771>candle -arch x86 -dSourceDir0=..\..\..\..\git-c\go-msi\templates AppFiles0.wxs LicenseAgreementDlg_HK.wxs WixUI_HK.wxs product.wxs
Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.
AppFiles0.wxs
LicenseAgreementDlg_HK.wxs
WixUI_HK.wxs
product.wxs
C:\Users\me\AppData\Local\Temp\go-msi037630771>light -ext WixUIExtension -ext WixUtilExtension -sacl -spdb -out ..\..\..\..\git-c\go-msi\go-github-release-test.msi AppFiles0.wixobj LicenseAgreementDlg_HK.wixobj WixUI_HK.wixobj product.wixobj
Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\me\AppData\Local\Temp\go-msi037630771\product.wxs(121) : error LGHT0094 : Unresolved reference to symbol 'CustomAction:WixBroadcastEnvironmentChange' in section 'Product:*'.
exit status 94
solvingj commented
I had an old version of wix toolset