Anoop Mishra
Anoop Mishra

Reputation: 1015

How can I create a setup that installed from command line in install shield 2012

I want to disable the screens in dialog tab, but I also want that the installer doesn't show any screen.

From commandline and install silently.

string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);

ProcessStartInfo psi = new ProcessStartInfo();
psi.Arguments = "/s /v /qn /min";
psi.CreateNoWindow = true;
psi.WindowStyle = ProcessWindowStyle.Hidden;
psi.FileName = desktopPath + "\\" + "Tabcontrol.exe";
psi.UseShellExecute = false;
Process.Start(psi);

Upvotes: 1

Views: 242

Answers (1)

LucasF
LucasF

Reputation: 903

If you run an installshield setup in silentmode it requires a record file that contains the information the setups needs. It is not really initially silent it's more like unattended and silent.

Here you can find the information how to create this recordfile: http://helpnet.installshield.com/installshield16helplib/CreatetheResponseFile.htm

Here you will find everything you need to know about any unattended/silent setup: http://unattended.sourceforge.net/installers.php

Upvotes: 1

Related Questions