error LGHT0094 : The identifier 'CustomAction:WixUIPrintEula' could not be found

那年仲夏 提交于 2019-12-11 14:58:25

问题


When I run the below command from the command line for the WIx installer after migrated from version 2.0 to 4.0:

E:\Code\PCPE\builder>ant -v -f Build.xml -Dlabel =.001 install

I am getting the below error.

[exec] E:\Code\EMR\Wix\src\ui\LicenseAgreementDlg.wxs(34) : error LGHT0094 : The identifier 'CustomAction:WixUIPrintEula' could not be found. Ensure you have typed the reference correctly and that all the necessary inputs are provided to the linker. [ant] Exiting E:\Code\EMR\builder\EMREnglish_installer.xml.

LicenseAgreementDlg.wxs has the below code and here it is showing the error:

Control Id="Print" Type="PushButton" X="76" Y="243" Width="65" Height="17" Text="!(loc.WixUIPrint)" Publish Event="DoAction" Value="WixUIPrintEula" 1 Publish Control

And in EMREnglish_Installer.xml, we are giving the LicenseAgreementDlg.wxs path.

And also we are seeing the PrintEula.cpp file in the below wix source path:

E:\SoftwaresUsing\wix40-debug\src\ext\UIExtension\ca

I didn't get any clue for the root cause of the error. Please help me to find the rootcause.

来源:https://stackoverflow.com/questions/52274061/error-lght0094-the-identifier-customactionwixuiprinteula-could-not-be-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!