问题
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