LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder Error -40 when attempting to build an installer package ...?

I have an application written in LV2019 that seems to work okay in the development environment and also when compiled to an executable but when I try to create an installer package I get the following error.

 

NeilR_0-1696946112703.png

It is sort of implying a missing product " IB_MSI.lvclass:Prompt_Missing_Products.vi" but there is nothing missing in the project when selecting "Find Missing Items".

I can't find any clues for this particular error code. Any ideas ?

 

0 Kudos
Message 1 of 3
(838 Views)

As an update -

This error only occurs when the DAQmx Runtime is included in the 'Additional Installers' ..?

 

I've removed all of the legacy LabVIEW stuff, older versions and unused addons etc.

I've done a complete uninstall and reinstall of the whole LabVIEW environment (LV2019) and I'm still getting this error.

 

So I guess something in the registry or a legacy file somewhere is causing some sort of conflict.

 

Any ideas ?

0 Kudos
Message 2 of 3
(764 Views)

I have not seen this error before, so I do not think it is common. LabVIEW uses an "MDF API" to perform the build process for our older installer technology, so you might need to generate additional log information to see if that tells us anything. You would need to setup the below "Logging" key and its 2 values, relaunch LabVIEW, and perform the failing build again. The logging may slow down building so at some point you will need to disable the logging.

 

Keys:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\National Instruments\Common\Installer\MDF\Logging

    EnableDebugLog (DWORD) - Set to non-zero value

    DebugLogPath (String) - Set to path and filename of where to log data

Example:

Scott_Richardson_0-1697662156851.png

 

Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 3
(737 Views)