LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI_RET.MSI asks for reboot - how to suppress ?

hi all,

 

have a bigger QT-project with a handful tools inside. these are written in CVI. I only want to copy these exe-files into the project. it makes no sense to build an installer to every tool. but I have to install the CVI_RTE on the target-machine once. 

 

I did this over a "msiexec.exe /i "CVI_RTE.msi" /qb" - call inside the installer. this runs ok. the only problem is, that the reboot-demand comes up at the end and if the user decides to say "yes" this isn't a good idea inside the installation process.

 

is there a possibility to suppress this ? or set a "no" over the command-line before ???

 

 

best regards

 

Simon 

 

0 Kudos
Message 1 of 3
(3,179 Views)

I'm not an expert of complex installations so I googled for more info about msiexec.exe and I found http://msdn.microsoft.com/en-us/library/windows/desktop/aa372024(v=vs.85).aspx

 

Here is an extract:

 

OptionParametersMeaning
/help  

Help and quick reference option. Displays the correct usage of the setup command including a list of all switches and behavior. The description of usage can be displayed in the user interface. Incorrect use of any option invokes this help option.

Example: msiexec /help

Note  The equivalent Windows Installer Command-Line Option is /?.

/quiet  

Quiet display option. The installer runs an installation without displaying a user interface. No prompts, messages, or dialog boxes are displayed to the user. The user cannot cancel the installation. Use the /norestart or /forcerestart standard command-line options to control reboots. If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user.

Examples:

msiexec /package Application.msi /quiet

Msiexec /uninstall Application.msi /quiet

Msiexec /update msipatch.msp /quiet

Msiexec /uninstall msipatch.msp /package Application.msi / quiet

Note  The equivalent Windows Installer Command-Line Option is /qn.

/passive  

Passive display option. The installer displays a progress bar to the user that indicates that an installation is in progress but no prompts or error messages are displayed to the user. The user cannot cancel the installation. Use the /norestart or /forcerestart standard command-line options to control reboots. If no reboot option is specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user.

Example: msiexec /package Application.msi /passive

Note  The equivalent Windows Installer Command-Line Option is /qb!- withREBOOTPROMPT=S set on the command line.

/norestart  

Never restart option. The installer never restarts the computer after the installation.

Example: msiexec /package Application.msi /norestart

Note  The equivalent Windows Installer command line has REBOOT=ReallySuppress set on the command line.

 
I hope it's useful. Let me know...
Carlo A.
Megaris




0 Kudos
Message 2 of 3
(3,169 Views)

hi carlo,

 

yes /norestart does the job. sorry, I didn't find it in the docus.

 

best regards

 

Simon 

0 Kudos
Message 3 of 3
(3,162 Views)