From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start /Wait Automated Install of LabVIEW

Solved!
Go to solution

In attempting to automate the install of LabVIEW using batch scripts, I am running across the problem that typical commands (such as Start /Wait) do not work when running setup.exe silently. For example, when attempting to run the following batch script, the help window for the installer opens indicating "Invalid command line parameters."

 

start /wait setup /applyspecfile specfile /q /r /AcceptLicenses yes

 

The same is true when using the cmd /c command. 

 

My goal is to be able to have LabVIEW installed during an imaging process of a new computer. Without waiting for the install of LabVIEW to finish before moving on to other installs during the imaging process, the install will fail.

 

Is there anyway to achieve this with a batch script or by some other means?

0 Kudos
Message 1 of 4
(2,633 Views)

Just to clarify, if the LabVIEW installation is the only one that is set to occur in the batch script, does the installation succeed? Similarly, would it be possible to set LabVIEW as the last piece of software to install in the imaging process?

Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(2,579 Views)
Solution
Accepted by topic author SupportEngineerChris

Update: Code was incorrect for the new installer. Start /wait works. See below:

 

start /wait setup specfile /r /acceptlicenses yes /q

 

/applyspecfile is unnecessary to include in the batch script.

0 Kudos
Message 3 of 4
(2,554 Views)

Can you please mark your "Solution" (the third response) as the "Solution"?  This really helps other users of the Forum know that a Problem/Question has been Solved.  [Only you, the Original Poster, can designate a Solution].

 

Bob Schor

0 Kudos
Message 4 of 4
(2,548 Views)