Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

product.wxs(136) : error LGHT0094 - Issue with Template #26

Closed
solvingj opened this issue Jun 26, 2017 · 1 comment
Closed

product.wxs(136) : error LGHT0094 - Issue with Template #26

solvingj opened this issue Jun 26, 2017 · 1 comment

Comments

@solvingj
Copy link
Contributor

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
Copy link
Contributor Author

I had an old version of wix toolset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant