LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application installer command line reboot switch

I have a question about the application builder reboot switch (/r).  When I install my application on a fresh computer with these switches: /qb /acceptlicenses yes it installs fine but doesn't ask to reboot the machine, it just automatically does it.  I put in the /r:n switch but then it wouldn't even as to reboot, and I'm assuming that is normally necessary.  Why does it not ask before it does the reboot?  Do I need to use the /qf switch or is there a different /r switch that I'm missing?

 

Thanks. 

0 Kudos
Message 1 of 5
(2,834 Views)

Any thoughts?

0 Kudos
Message 2 of 5
(2,811 Views)

Hi erfigge,

 

Are you installing a driver with this application? I think that will normally require a reboot. If not, then not rebooting the machine should be fine. I believe the reason it's not prompting before it reboots is because of the quiet install due to the /qb switch. If you want a quiet install, then your options may be to automatically reboot or to prompt the user separately after the install is complete.

 

Try installing the application without any drivers if possible and see if a reboot is still necessary. Also, try a normal install as opposed to the quiet install.

 

Hope this helps.

Josh Y.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 5
(2,800 Views)

Hmm, thats a good point, I didn't think about the quiet switch.  Even without the quiet switch you can still use the /acceptlicenses switch so the user doesn't see that right? 

0 Kudos
Message 4 of 5
(2,792 Views)

I think so. Admittedly, I’m not too familiar with command line arguments. From what I’ve searched online, I don’t see any reason why you can’t. Here are a few links that might help- command line options and silent installations.

Josh Y.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(2,787 Views)