You can do it in command line mode:
msiexec /i <path to msi file> /q
where /q has a choice of flavors of quietness, qn, qb, qb+ etc
Another choice is a vb script (or program equivalent) to this:
set obj = createobject("WindowsInstaller.Installer")
obj.uilevel = 2
obj.InstallProduct("path to your.msi")
The default installation folder depends on ProductName and Manufacturer
properties in the setup project's properties, so that would be automatic. That
leaves mainly "Everyone" or "Just me" choices in the UI to be resolved, and you
can fix that by getting Orca (install from Orca.msi in the Platform SDK, Windows
Installer section) and editing FormFolder_AllUsers in the Property table to be
ALL instead of ME if you want a per-machine installation.
--
Phil Wilson [MVP Windows Installer]
----
"TThai" <tp****@pepco.com> wrote in message
news:7f**************************@posting.google.c om...
Hi, I've created an application that uses crystal report in VB dotnet
environment. I've created an MSI package to be installed on the
client pc to make the crystal report to work. However, the MSI
requires User Intervention. Does anyone know how to create MSI in a
silent mode in visual studio. This application will be pushed to the
client from the server and the MSI package needs to be in a silent
mode meaning all the user intervention should be pre-defined or
pre-answered in the package. Any help is greatly appreciated.
Thanks,
Teresa