I am developing a program in C# .NET 4, my program is kind of a installer that installs some applications and services such as windows media player 11 and adobe flash player and so on.
I need to make these installations run in silent mode and users would just see my installation form.
How do I do this?
If the items you need to deploy come in MSI format, you can always use a toolkit like WiX or InstallShield to build your installer and install the other MSIs silently using msiexec.exe with the /qn command line switch. (Or use the Process class from your application to invoke msiexec.exe /qn on whatever you want to install).
If they don’t have an MSI to install with, there are a couple things you can do. Many installers have a command line switch that let’s them install silently. If there is no way to install silently, you can use a tool like AdminStudio. These tools have functionality that will scan your computer before and after you run an installation and help you create a redistributable package of your own. You can then make add them to your main package in silent mode.