[英]Create Installer for an ASP.NET web APP for multiple environments
I have created an ASP.NET website which accesses a DB. 我创建了一个访问数据库的ASP.NET网站。 The DB can will be alrady installed at target machine.
可以将DB安装在目标计算机上。 It can be anything from SQL server 2000 to SQL server 2008. Further more the target OS can be anything from Windows server 2000 to Windows 7. I have kept the target .Net framework version as .Net 2.0 to keep matters simple.
从SQL Server 2000到SQL Server 2008,它都可以是任何东西。此外,从Windows Server 2000到Windows 7,目标OS可以是任何东西。为了简单起见,我将目标.Net Framework版本保持为.Net 2.0。 Also, the target machine can be x86 or x64 or Itanium.
另外,目标计算机可以是x86或x64或Itanium。
I need to do this either using the standard MSI installer of VS2008 or using WiX or any open source installer for that matter. 为此,我需要使用VS2008的标准MSI安装程序,或者使用WiX或任何开源安装程序来执行此操作。 Please help me with this since I am new to deployment projects.
由于我是部署项目的新手,请为我提供帮助。
Thanks 谢谢
You can use softwares like InstallShield in order to create your installer. 您可以使用InstallShield之类的软件来创建安装程序。 but InstallShield is not for free I think.
但是我认为InstallShield不是免费的。
such programs have their own scripting language that simplify the operations that you want to do, like detecting which operating system is installed or which SQL Server version is installer, beside that they allows you to communicate with a certain function in a dll. 此类程序具有自己的脚本语言,可简化您想要执行的操作,例如检测安装了哪个操作系统或安装了哪个SQL Server版本,此外,它们还允许您与dll中的某些功能进行通信。 You can call this function to do some logic or some validation.
您可以调用此函数进行一些逻辑或验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.