My LabVIEW Built Installer Cannot Run on Deployment PC Due to Missing Custom Resource DLL Error

Updated Jan 15, 2024

Reported In

Software

  • LabVIEW Base
  • LabVIEW 2016 Runtime
  • LabVIEW Full
  • LabVIEW Professional
  • LabVIEW 2015 Runtime

Issue Details

  • I created a LabVIEW installer that shows an error regarding a missing Custom Resource DLL during the installation process.
  • I downloaded a National Instruments installer that shows a missing Custom Resource DLL during the installation.
  • I have created an installer, which is working on my fine on my development PC but when I run it on the deployment PC, I get a "InstallerError 10007 Fatal Error. Unable to load a resource DLL. Unable to load the custom resource file" error.
2024-01-15_16h51_39.png
.\source\MetaInstaller\ConfigInfo.cpp(2506): InstallerError 10007
Fatal Error. Unable to load a resource DLL.
Unable to load the custom resource file C:\Users\NI\Downloads\Volume\Volume\supportfiles\customResource0009.dll because Windows Error 126: The specified module could not be found.
 while attempting to load the resource DLL C:\Users\NI\Downloads\Volume\Volume\supportfiles\customResource0009.dll

Solution

  1. If you are trying to install National Instruments software: Download the installer again from the National Instrument's website and re-install it.
  2. If you are building your installer from LabVIEW: Build your installer again from the Build Specification in your Project Explorer.
  3. It is possible that firewall setting or antivirus software are stripping out the installer file.
    Find a way to white-list that install or disable the antivirus during the installation.
    ※Note: if you see a behavior that could be potentially caused by a firewall or anti-virus software, make sure there is not a threat warning from the antivirus software before disabling your firewall or antivirus software
  4. If the installer works on the development PC and not on the deployment PC, it is possible that your installer is missing Microsoft Visual C++ Runtime (a component LabVIEW needs to load and run LabVIEW runtime in the deployment machine). Download and install both x86 and x64 version of the latest Microsoft Visual C++ redistributable package from Microsoft Visual C++ Redistributable

Additional Information

Files can get corrupted when copied to other media, transferred by internet, or decompressed from a ZIP file. Usually, missing dependencies in the installer show up because that file is in a bad/corrupted state.
This error was detected when installing the Run-Time Engine using an installer generated in LabVIEW and downloaded from a website.