10-31-2008 11:22 AM
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
10-31-2008 11:39 AM
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!!
10-31-2008 12:18 PM - edited 10-31-2008 12:19 PM
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.