LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer error "winMIF not compatible with .NET 4.8"

Hello,

 

I'm currently using LabVIEW 2021 SP1 32-bit on a Windows 11 computer. My project includes the ULx library from Measurement Computing. I'm using ULx 2.29 and InstaCal 6.75 (for configuring the MC daq hardware).

 

I'm building an application (.EXE) which I'm then including in an installer build to send to the end user.

 

Six months ago, when I was still working on a Windows 10 computer, I had absolutely no issues.

 

However, I had to upgrade to Windows 11 due to IT push. Now, I'm seeing this new error when the end user tries to run the installer. "This distribution is build with an older version of winMIF that is not compatible with .NET 4.8.0. Upgrade to 22.8.0."

 

On searching online, I found a NI Forums post which discusses this error:

https://forums.ni.com/t5/LabVIEW/Built-installer-fails-older-version-of-winMIF/m-p/4299368#M1256062

 

And also a NI webpage: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x9bJCAQ&l=en-CA

 

But, I don't understand the root cause of my error. The ONLY thing that changed for me is the switch from Win10 to Win11. I did the same standard LabVIEW install. I have a few different versions of .NET framework and runtime engines installed.

 

The webpage says to download some package "NI ADE Deployment Support". But that seems to be a band-aid rather than a root cause solution.

0 Kudos
Message 1 of 4
(136 Views)

Did you re-build your exe in Windows 11? Just a reminder that Installers and executables are only guaranteed to work on the operating system they are built on, as stated in Running Executables or Installers on Different Windows Versions

 

Besides, the first supported LabVIEW version in Windows 11 is 2022 Q3. I would recommend you upgrading ULx driver version to the latest as well.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 4
(82 Views)

@ZYOng wrote:

Did you re-build your exe in Windows 11? Just a reminder that Installers and executables are only guaranteed to work on the operating system they are built on, as stated in Running Executables or Installers on Different Windows Versions

 

Besides, the first supported LabVIEW version in Windows 11 is 2022 Q3. I would recommend you upgrading ULx driver version to the latest as well.


Thanks for your reply. Yes, I re-built both my exe and the installer in Windows 11. Thanks for the reminder about operating system compatibility, but the end user may not be in a position to upgrade their OS to Win11. So, I may still have to make the installer and exe work for Win10 from my Win11 dev PC.

 

I will look at the software compatibility table more closely, thanks.

0 Kudos
Message 3 of 4
(74 Views)

but the end user may not be in a position to upgrade their OS to Win11. So, I may still have to make the installer and exe work for Win10 from my Win11 dev PC

In that case, the best approach is to build your exe from a Windows 10 virtual machine.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 4 of 4
(66 Views)