PDA

View Full Version : Silent Install



Frazerc
07-15-2007, 08:15 AM
I downloaded a trial version of Installshield 2008 and i'm very impressed. However when i tried to create my software package i still have to press next a couple of times and then finish on the dialog box.

My organisation wants to use software packages that require minimum or no input from the end user. Is there a quick way to create or change an MSI package so the the next and finish buttons are automated, and the install runs on its own?

Thanks

manumanimala
07-15-2007, 11:52 PM
you can use the command line option to make the msi installer silent.

msiexec /Option <Required Parameter> [Optional Parameter]

For silent installation use,

msiexec /i <Product.msi> /qn

For more information, take a look at the command line options of msiexec. For this you just type msiexec at command prompt. it will display all options.

MichaelU
07-16-2007, 09:55 AM
If you want limited or no dialogs, you might also look into editing the Dialog sequence, or even applying the LIMITUI property (http://msdn2.microsoft.com/en-us/library/aa369759.aspx) to your package. (Assuming it's a Basic MSI; InstallScript and InstallScript MSI would instead need their OnFirstUIBefore method modified.)