LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer compatability issues

I've written a small widget to capture and log serial data from some Mitutoyo LVDTs

 

it works perfectly running in the LabVIEW environment, however when I build the application (I'm using LV 2021 32-bit) and try to install it on the target machines, it throws up the error 'this installer requires windows 10 64-bit (version 1507) or newer'

how can I ensure backwards compatability with the installer? I'm also concerned about the 64-bit message as I'm building the application in LV 32-bit specifically

 

The target machines are old (one is running windows XP and the other windows 10 32-bit) and this is an attempt to keep them functioning without forking out for new computers

 

is it as simple as installing an older version of labview to build the installer in, or is there an option I've missed?

0 Kudos
Message 1 of 10
(1,042 Views)

Just curious — which option have you selected here:

Screenshot 2025-02-25 13.13.36.png

Windows 10?

0 Kudos
Message 2 of 10
(1,035 Views)

I am such a moron, I totally missed the dropdown, I was focused on making sure it included the runtime engine........

 

I'll re-build and select a better option

0 Kudos
Message 3 of 10
(1,032 Views)

looks like my labview is defaulting to windows 7 SP1 though......

0 Kudos
Message 4 of 10
(1,027 Views)

@Sholyoake wrote:

looks like my labview is defaulting to windows 7 SP1 though......


Yes, this is default option. As workaround you can try to install (just copy) your application and install according LabVIEW Run-Time engine separately to be sure that everything can run.

0 Kudos
Message 5 of 10
(1,024 Views)

FWIW, if you ever create an non-NIPM based installer, as you are doingm and you would like to try to install on an older OS, I believe the pre-install check on OS version is controlled by the following values in the INI file that is next to the Install.exe (or Setup.exe if really old).

 

[OS]
VersionNTMin=10,0,14393,0,0
VersionNTMax=

 

Scott Richardson
https://testeract.com
0 Kudos
Message 6 of 10
(978 Views)

@Andrey_Dmitriev wrote:

@Sholyoake wrote:

looks like my labview is defaulting to windows 7 SP1 though......


Yes, this is default option. As workaround you can try to install (just copy) your application and install according LabVIEW Run-Time engine separately to be sure that everything can run.



I've tried this, the runtime engine installer gives exactly the same error

 

I contacted NI who sent me to this article:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YOE0CAO&l=en-GB

Looks like I may have to install an older version of labVIEW than 2021 and rebuild in that...

0 Kudos
Message 7 of 10
(945 Views)

@Scott_Richardson wrote:

FWIW, if you ever create an non-NIPM based installer, as you are doingm and you would like to try to install on an older OS, I believe the pre-install check on OS version is controlled by the following values in the INI file that is next to the Install.exe (or Setup.exe if really old).

 

[OS]
VersionNTMin=10,0,14393,0,0
VersionNTMax=

 



really useful to know thanks, how would one edit to ensure backwards compatability and most importantly, 32-bit compatability?

0 Kudos
Message 8 of 10
(942 Views)

I believe if you clear the value on min, like max, that would allow earlier versions of the OS. For 32-bit vs 64-bit that is built into the EXE for the installer.

If an installer will not install on 32-bit OS, this is likely due to the system that built the installer. If the building system has installed any NI software from after April 2021, which likely requires NI Package Manager 20.7 or later and dropped support for Windows 7/8/8.1 and all 32-bit OSes. The below KB talks about this from an NIPM perspective, but it also applies to non-NIPM created installers built on such a system. For example, if you are built an installer with LabVIEW 2019 32-bit on a 64-bit system that also has LabVIEW 2021 64-bit, the built installer will not install on a 32-bit OS.

NI Package-Based Distribution Built on 64-Bit Computer Fails to Install On 32-Bit

Scott Richardson
https://testeract.com
0 Kudos
Message 9 of 10
(915 Views)

There is also this KB that talks about changing the ini values that Sholyoake was talking about.

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
Message 10 of 10
(887 Views)