PDA

View Full Version : SilentInstall of Program at the End of the Installation?



Shan2009
12-01-2009, 03:01 PM
Hi,

I am Creating an Installer(Which has 5 programs),at the End of the Installation this 5 Programs Will be Installed (Sequence Manner) in My User Machine.While Installing this Programs it will ask for the user inputs like Installation path and so on so i decided to use the Silent Mode Installation it will reduce the time for My users instead of giving inputs and click on next buttons.
Really I don't Know how to achieve this Silent Install of Programs at the End of Installation.
Please Advice

Thank You for Your valuable Responses,

Shan

Ulrich
12-01-2009, 03:22 PM
This isn't really a question about Setup Factory, is it? You will need to know how to run these installers silently, and that we can't tell you because we don't know what installers you are talking about.

I would recommend that you run these installers in a command window, and pass a /? as startup parameter, so you can see if the installer responds with a list of allowed options. Depending on the installer, you might pass a "/S", "/qd", etc. as parameter, so check the possible options. Then use Shell.Execute() to fire up these installers in order, one at a time.

Ulrich

Worti
12-01-2009, 03:34 PM
for example


result = File.Run(_SourceFolder.."\\setup.exe", "/s", "", SW_SHOWNORMAL, true);
or

result = MSI.InstallProduct(_SourceFolder.."\\setup.msi", "ACTION=INSTALL");

or use Shell.Execute() as Ulrich said.

otherwise we need to know witch programms you want to install.

regards Worti