LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Installer and disable reboot now

I'm building a couple of installers, and both of them ask me to restart after I install them on a non-LabVIEW computer. They contain the LabVIEW RTE as well as NI-VISA runtime components.

 

I've noticed that I can install them and click "Restart Later" and the applications will run without error. Is there any way I can suppress the "Restart Now" message after my installer completes? 

0 Kudos
Message 1 of 6
(3,372 Views)
That wouldn't be a good idea. At a minimum, the services that are installed as part of the Run-Time installation and the NI-VISA installation are probably not running.
0 Kudos
Message 2 of 6
(3,365 Views)

That may very well be true, but I'm only using NI-VISA in order to do some basic serial (RS-232) communication.

 

As I've said, I've installed the two applications I'm building, ignoring the reboot prompts both times, and then proceeded to run and use both applications (again, without a reboot). Both worked without errors.

 

I agree that it may not be a "good idea" or good practice by any means, but for convenience's sake... it'd be a huge bonus. I'd hate to write up instructions for my apps that include several lines of "Press 'Reboot Later' if the installer prompts you to restart your computer." 😞 

0 Kudos
Message 3 of 6
(3,361 Views)
0 Kudos
Message 4 of 6
(3,354 Views)

Awesome, I'll give that a shot.

 

By any chance, do you know if the same behavior (force or suppress reboot after installation has completed) can be specified via the setup.ini file as opposed to a command-line argument? 

0 Kudos
Message 5 of 6
(3,350 Views)
Sorry, haven't a clue.
0 Kudos
Message 6 of 6
(3,347 Views)