11-01-2018 09:34 AM
I started by attempting to build an executable as I have a cDAQ 9133 that is nearly out of C: drive space when it's required to run both Windows and LV16 with the DAQmx drivers. I kept on getting the 'This is the application template and cannot be run alone' when attempting to run my executable (after rebuilding several times) so decided to attempt building an Installer.
When building the installer I am encountering the following error. I did ensure that the requested file is in the proper location after reading a few related forum posts. Beyond that I'm not too sure what to try next, so any help is appreciated, I'm fairly new to LV and especially building applications/executables.
CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >>
AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >>
Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >>
IB_MSI.lvclass:Engine_BuildDevPart.vi >> CDK_Engine_AddFiles.vi >>
NI_MDF.lvlib:MDFBuildDevPart_AddFile.vi C:\Users\CDUC 802 DYNO\Desktop\De Pere - 802 22Feb18_from dyno The following errors and warnings were recorded during the build: Error: An internal tool or library returned an error. Details: Error adding file: C:\Users\CDUC 802 DYNO\Desktop\De Pere -
802 22Feb18_from dyno\Main_802.vi Code: -21 Error: An internal tool or library returned an error. Code: -21
I don't know if I'm better off going back to an executable or sticking with an installer. I do have custom configuration files from NI Max for instrument calibration that I do need to ensure are included in my build - does require me to use an 'Installer'?
Thanks in advance.
11-02-2018 03:20 PM
The error message seems to look like it is having an issue with the Main_802.vi Does that VI have any dependencies or subVI's within it? I would check this and make sure it is in the correct file path when the EXE is trying to call it. Are you calling any 3rd party software?