IExpress can pass parameters to the invoked msi by using the /c:" "
parameter. See http://support.microsoft.com/kb/197147 for details
Best regards,
Sebastian Brand
Instyler Software -Â http://www.instyler.com
If you're using the MSI API, take a look at the MsiSetInternalUI function;
the INSTALLUILEVEL_NONE flag should be of interest.
"vizagboy" <viza...@discussions.microsoft.com> wrote in message
news:0B1BD9AB-672A-4609...@microsoft.com...
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"vizagboy" <viza...@discussions.microsoft.com> wrote in message
news:0B1BD9AB-672A-4609...@microsoft.com...
This is basically a tool to make their setup.exe behave differently, and it
may have options for getting the MSI file installed silently.
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"vizagboy" <viza...@discussions.microsoft.com> wrote in message
news:FD6ED478-BC65-4CFA...@microsoft.com...
Any suggestions?
setup.exe /qn.
The VS 2008 setup.exe has a /? option that shows command line options. It
should pass the /qn to the MSI install for a silent install.
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"vizagboy" <viza...@discussions.microsoft.com> wrote in message
news:8E585690-A728-4642...@microsoft.com...
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"vizagboy" <viza...@discussions.microsoft.com> wrote in message
news:30C39DA9-12B9-4BCE...@microsoft.com...
By "command-line", MsiInstallProduct() is talking about public
properties, not parameters like -qn.
As Jeff said:
On Fri, 25 Jul 2008 07:43:37 -0400, "Jeff Henkels"
<je...@mapson.jeffhenkels.com> wrote:
>If you're using the MSI API, take a look at the MsiSetInternalUI function;
>the INSTALLUILEVEL_NONE flag should be of interest.
More here:
http://msdn.microsoft.com/en-us/library/aa370315(VS.85).aspx
"The MsiInstallProduct function displays the user interface with the
current settings and log mode.
You can change user interface settings by using the MsiSetInternalUI,
MsiSetExternalUI, or MsiSetExternalUIRecord functions."
If you can use ShellExecute, that might be easier. Do something like:
ShellExecute(NULL,_T("open"), _T("msiexec.exe"), l_szParams,_T(""),
SW_SHOW );
where l_szParams is something like "-i mypackage.msi -qn".
--William Leara
wle...@hotmail.com