LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Silent Installation of LabView 2020 (cant find a *.exe or *.msi Setup)

Hello, everyone.

I am trying to install LabVIEW 2020 on my computer (with Windows 10). This should run automatically without user input. I have already read the different instructions, but unfortunately I can't reach my goal.

I have followed the instructions at http://www.ni.com/documentation/de/ni-package-manager/20.0/manual/automate-installer/. However, I cannot find any *.exe or *.msi file from the LabVIEW installer. The only thing I have found so far are installers that install the package manager. I have done this with the command

start /wait Install.exe --passive --accept-eulas --prevent-reboot

But this only installs the package manager automatically.The installation of LabVIEW has to be started manually within the package manager.

 


How can I get LabVIEW installed without the user having to enter anything? Is this even possible?

Thanks a lot

Message 1 of 8
(6,464 Views)

Did you ever get this figured out?

0 Kudos
Message 2 of 8
(6,160 Views)

Well, not really. But I got a way, which works for me. 

You have to install LabVIEW with all your required modules on one machine. Then you can take this installation (or the included feeds) as an image and distribute this on other machines. This can get completly automated without user-input. 

First you have to install the NI Package Manage on every machine. This can be automated with a command prompt:

 

start /wait NIPackageManager20.5.0.exe --passive --accept-eulas --prevent-reboot

 

 

If you want to get the feeds for the installation, you can follow:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGjeCAG&l=en-US

 

For the installation on other machines, you can follow: 

 https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001Dc9aSAC&l=de-DE

 

I had to modify the commands: 

cd C:\Program Files\National Instruments\NI Package Manager
nipkg.exe feed-add "<file path of feed>"
nipkg.exe feed-create <file path of feed> nipkg.exe feed-update nipkg.exe install <Package name> -y --accept-eulas

 

Now I am stuck with the automated activation of the software. But I can manage to distribute LabVIEW to as many machines as I like. 

Message 3 of 8
(6,143 Views)

Thanks for responding! I didn't realize before this that NI has a package builder app. If you have all of the NI products installed on the machine you are working on, then install package builder, you can create a deployment from that - you can then push that deployment to computers without package manager installed.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000fyxySAA&l=en-US

 

I did everything in the Installers and Repositories pane. The command at the end of the article worked for me - although it still displays a progress bar (not completely silent) - it works for what I need. Working on scripts to license the software after install.

 

0 Kudos
Message 4 of 8
(6,134 Views)

Your're welcome. 

 

Let me know, when you can automate the licening-process. At the moment, I try to use the Volume Licence Manager, with a dedicated server. But I can't tell LabVIEW, that it should use this server for licensing. 

 

0 Kudos
Message 5 of 8
(6,129 Views)

This just worked for me in licensing LabVIEW.

 

Command line:

@echo off

 

cd "C:\Program Files (x86)\National Instruments\Shared\License Manager\Bin"
nilmUtil.exe -s -activate "LabVIEW_AppBuilder_PKG" -serialnumber "serial number"

 

exit /b 0

 

Not sure what the volume license switch is rather than serial number - maybe -volumelicenseserver or -volumelicense, then you'd enter your license server name in quotes.

 

The product names aren't straightforward but you can maybe find them in C:\ProgramData\National Instruments\License Manager - the Licenses or ProductInfo folder. In the data folder here, there is a licensing.dat file - i opened this and was able to see some product names in here. I picked one to try and it licensed all of it.

 

Hopefully this helps - lots of trial and error here 

0 Kudos
Message 6 of 8
(6,116 Views)

@DennisG$2020 wrote:

Did you ever get this figured out?


Heads up that you should be able to install LabVIEW and NI Package Manager (NIPM) in one step using the command-line specified here in the NIPM manual. So if you download the online or offline installer for LabVIEW (or any NIPM-based installer) - it will first install or upgrade NIPM if necessary, then it will install LabVIEW taking all of the defaults. It won't be a silent install, but it shouldn't require any user interaction. Do post back if you experience something different.

Message 7 of 8
(6,113 Views)

Hi - I have a volume license and if you have a license server, you  can use environmental variables to point labview to that port@machine.

 

One is LM_LICENSE_FILE and another is NILM_LICENSE_FILE

 

I use NILM_LICENSE_FILE   27000@My.computername.com. This could be set in your image, or from a GPO, if you have Active Directory. GPO settings are -

Computer Configuration > Preferences > Windows Settings > Environmental Variable > NILM_LICENSE_FILE.

0 Kudos
Message 8 of 8
(5,413 Views)