10-07-2013 05:44 PM
Hello,
First, I have reviewed This Link. It list three possible reasons for installer forcing a re-boot. It may be a little dated (2004)
In any case, I would like to suppress forced re-boots following the CVI 2012 installation of an appliction on Windows 7. I am trying to run an executable immediately following the install (options set to Launch after Installation, Launch and continue) This exe performs Windows service verifications for NI services that need to be running, and auxilliary utility installations, I believe the exe is getting suppressed when the forced reboot occurs.
Any ideas how to suppress the forced re-boot after installer runs?
By the way, the RTE components I am using are shown here:
Solved! Go to Solution.
10-09-2013 12:00 PM
Hey ryk,
How about using a Silent Installation? By doing this, the installation will lack of dialogs, GUI and progress bar.
Carmen C.
10-09-2013 06:03 PM
The dialogs are not the problem. It is the forced re-boot at the end. I do not believe a silent install will suppress the force re-boot.
Thanks,
Ryk
10-10-2013 09:49 AM
Passing /r on the command-line to setup.exe will suppress the reboot.
Regards,
- Wes / NI
10-10-2013 03:19 PM
Thanks Wes. That will be useful to me. A silly question - where is this documented, do you know offhand?
10-11-2013 10:07 AM
Glad to be of help! Running setup.exe /? will give you a list of command-line options, and at the bottom will be an info code that takes you to this KB with some additional information...
Regards,
- Wes
07-07-2014 05:17 AM
Hi Wes.
Passing /r also works for me, but is there a way adding lines in setup.ini to avoid a "command-line option"? Maybe it just likes "reboot=0/1" or something else.
Many Thanks.
F.y
07-08-2014 09:55 AM
F.y,
The best way to avoid the reboot is to use the command line option. The install is controlled from an .msi file not an .ini file.
07-08-2014 10:02 PM
Hi Haley N,
For some reasons I have to make the avoiding reboot a very simple operation--you just run setup.exe, and install the program, and no reboot warning comes out. That's what I need.
Anyway, thanks for your reply. Maybe I should give my user a setup.bat which contains "setup.exe /r:n"?
Yours F.y.