如何创建静默安装程序.NET
问题描述:
Hey Guys,我有工作要求创建一个安装程序应用程序,该应用程序将在新部署期间在应用程序服务器上设置程序。该程序将需要安装2个第三方组件并插入诸如注册表设置之类的内容等....我愿意接受有关实现此目的的最佳方法的建议,因此非常感谢任何输入。非常感谢
我尝试过:
我看了一些自动化工具,但它们似乎是针对特定的应用程序。
Hey Guys, I have a requirement in work to create an installer application that will set up programs on an application server during new deployments. The program will need to install 2 third party components and insert things like registry settings etc.... I am open to suggestions on the best way to achieve this so any input is very much appreciated. Thanks very much
What I have tried:
I have looked in to some automated tools but they seem to be for specific applications.
答
那么为什么不创建一个普通的MSI-Package(Windows-Installer),例如您可以使用免费的wix工具集 WiX Toolset 创建一个[ ^ ]
然后执行安静选项:msiexec /ic:\path\to\package.msi / quiet
So why not just create a ordinary MSI-Package (Windows-Installer) e.g. you can create one with the free wix toolset WiX Toolset[^]
Then execute with quiet option:msiexec /i c:\path\to\package.msi /quiet