Posted 28 October 2004 - 12:07
I want to know how to silently install any program using command line.The folder has msi file and a set up file.If I use the setup.exe \r or \s parameters nothing happens.Just that the instaler launches and I have to manually install/uninstall.The \r option does not create the .ssh file also.The msiexec \qn also does not work.It gives an error message that "Incorrect command line parameters. Windows installer V 2.00.2600.1106"
Please let me know how to solve the problem.
Posted 29 October 2004 - 11:39
If it is an installscript MSI you need to run setup.exe /r first to get the setup.iss file necessary for silent install. You will find this file in the windows folder after running the whole setup with the /r option. Then you have to install the setup silently by specifying something like: Setup.exe /s /f1"C:\Temp\Setup.iss"
A basic MSI is a real windows installer setup. It features built in support for silent install by specifying the /qn option at install time. Something like Setup.exe /s /v/qn or msiexec.exe /i install.msi /qn
Older Installshield setup types generally support the creation of setup.iss files as explained above for Installscript MSI.
Edited by Glytzhkof, 29 October 2004 - 11:39.
Posted 29 October 2004 - 11:45
Posted 29 October 2004 - 13:37
The Setup.exe /s or /r /f1 dont seem to work.The file is not getting created in the specified folder. Also nothing happens with msiexec \i option also.is there any other way or any way to know if the installer supports silent installation.
Thanks in advance,
Posted 29 October 2004 - 14:38
Can you launch the .msi file by double clicking it? If that works then msiexec.exe /i install.msi /qn should work as well (replace install.msi with the full path and file name of your msi file)