09-26-2023 02:40 AM
I have created an installer, which is working on my PC. I have used Labview 2022 Q3 (32-bit) on a Windows 10 pc.
When I try to install the application on a NUC (windows 11), the installer does not work.
The error is:
.\source\MetaInstaller\ConfigInfo.cpp(2506): InstallerError 10007
Fatal Error. Unable to load a resource DLL.
Unable to load the custom resource file "File path" because Windows error 126: The specified module could not be found. while attempting to load the resource DLL "same file path"
When I searched for the file, I found the file at this location.
I tried to install the software with an error log according to Creating an Error Log File for a Software Installation - NI
But this does not generate a error log.
Solved! Go to Solution.
09-26-2023 07:57 AM
What is a "NUC"? Why not install Windows 10 (which has a "sure" history of working with all "recent/current? versions of LabVIEW? [In the "old days" (pre Q3), many seasoned LabVIEW experts waited until the SP1 version was released to install the "latest LabVIEW" ...].
Bob Schor
09-26-2023 08:28 AM
Running Executables or Installers on Different Windows Versions
Installers and executables are only guaranteed to work on the operating system they are built on. For example, a Windows 10 installer or executable may not work as expected on a different Windows version (e.g. Windows XP, Windows 8, or Windows 7).
09-26-2023 08:33 AM
A NUC is a kind of pc. You can google for pictures if you want. Currently, I installed Windows 10 on the NUC, but it didn't work. I was able to install the program with the same installer on a different PC today.
09-26-2023 09:02 AM
Does this also apply for building on windows 10 enterprise and installing on windows 10 pro?
09-26-2023 09:38 AM
Well there's nothing special about a NUC, I would guess it's Windows 11 that is causing you grief. I can't say that I have tried installing an executable built on Windows 10 on to a target machine running Windows 11. But I have built on Windows 11 and installed on Windows 10 without issue.
Try rebuilding your installer.
09-27-2023 04:45 PM
Julian, I am assuming that you have installed software that depends on 2022 Q3 (23.5) released products which likely included a hidden package called "NI ADE Deployment Support" (package: ni-mdfsupport version 23.5). This package is something that LabVIEW relies on to create non-NIPM based installers.
There is a component in that package that has a dependency on the VC 2015 Runtime and it incorrectly changed its linking to the VC runtime from static to dynamic. Since Windows 11 does not include that runtime with its base OS, an installer built by LabVIEW would not find the VC runtime it requires to run.
To workaround this issue right now, you should be able to manually install on the Windows 11 system the Visual C++ Redistributable for Visual Studio 2015 (32-bit: vc_redist.x86.exe). Please let me know whether that mitigates the issue for you.
Once NI releases any of our 2023 Q4 (23.8) software, installing almost any of those will update that 23.5 package.
09-29-2023 02:20 AM - edited 09-29-2023 02:42 AM
this works for both windows 10 and 11.
09-29-2023 01:23 PM
Julian, thank you for confirming!
12-05-2023 06:02 AM - edited 12-05-2023 06:46 AM
@Scott_Richardson wrote:To workaround this issue right now, you should be able to manually install on the Windows 11 system the Visual C++ Redistributable for Visual Studio 2015 (32-bit: vc_redist.x86.exe). Please let me know whether that mitigates the issue for you.
Would this also fix the LV18 installer after installing LV23?
I've been (successfully) building LV18 installers for years, and they stopped working after installing LV23.
Also, for 64 bit LV, should we include vc_redist.x86.exe or vc_redist.x64.exe.
Guess this is the new link:
Redistributable for Visual Studio 2015 from Official MS Download Center