如何在install shield 2012中创建从命令行安装的设置

时间:2021-09-11 21:08:42

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);

1 个解决方案

#1


1  

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.

如果在silentmode中运行installshield安装程序,则需要包含安装程序所需信息的记录文件。它最初并不是真的,它更像是无人看管和沉默。

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

在这里,您可以找到有关如何创建此记录文件的信息: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

在这里,您将找到有关任何无人值守/静默设置的所有信息:http://unattended.sourceforge.net/installers.php

#1


1  

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.

如果在silentmode中运行installshield安装程序,则需要包含安装程序所需信息的记录文件。它最初并不是真的,它更像是无人看管和沉默。

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

在这里,您可以找到有关如何创建此记录文件的信息: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

在这里,您将找到有关任何无人值守/静默设置的所有信息:http://unattended.sourceforge.net/installers.php