LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How di I prevent an automatic computer restart after exe install?

How do I stop the msi installer from restarting the computer after installing an exe? I have built an installer package of an application using LabView Project.  When running the SetUp.exe the msi installer is automatically restarting the computer after the completion of the installation.  I have the following in the setup.ini file.

 

[MsiEngine]
WinNTPath=supportfiles\WindowsInstaller-KB893803-v2-x86.exe
RequiredVersion=3.0.0.0
CommandLine=/passive /norestart

 

I am using LabView version 8.5.

 

Any help would be appreciated.

 

BethV

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

I checked the setup.ini for an installer I built for my application. Found the following entry:

 

[MsiEngine]
WinNTPath=supportfiles\instmsiw.exe
RequiredVersion=2.0.0.0
CommandLine=/c:"msiinst.exe /delayreboot"

 

I do not know the reason for the differences. Hope this helps!!

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

Hi, BethV,

 

Run setup.exe with /? option:

setup.exe /?

Then you will see following dialog:

 

 

It seems to be option /r:n - is what you needed

 

best regards,

Andrey.

Message Edited by Andrey Dmitriev on 10-31-2008 06:19 PM
0 Kudos
Message 3 of 3
(3,550 Views)