[英]Distributing ASP.NET applications
We recently released an ASP.NET (.NET 2.0) application.我们最近发布了 ASP.NET (.NET 2.0) 应用程序。 The application files are pre-compiled and the installer is generated in Visual Studio.
应用程序文件是预编译的,安装程序是在 Visual Studio 中生成的。 It's pre-compiled as it's written in Delphi Prism, not C#.
它是预编译的,因为它是用 Delphi Prism 编写的,而不是 C#。
Everything worked well while testing, but once in the wild, we started to see several issues eg测试时一切正常,但是一旦进入野外,我们就开始看到几个问题,例如
These are just some of the issues we've encountered.这些只是我们遇到的一些问题。
Is there a better method of distributing ASP.NET applications that doesn't require advance knowledge of the end user's system?是否有更好的方法来分发不需要最终用户系统的高级知识的 ASP.NET 应用程序? Could we be doing something stupid?
我们可以做一些愚蠢的事情吗? If these are common problems, are there any fool proof installs that install nicely and, if problems occur, provide users with informative error messages.
如果这些是常见问题,是否有任何安装良好的万无一失的安装,如果出现问题,为用户提供信息丰富的错误消息。
As there have been no answers in a year and a half I guess there's no better answer than the one we came up with.由于一年半以来一直没有答案,我想没有比我们想出的更好的答案了。
We used InnoSetup to run the ASP.NET installer.我们使用 InnoSetup 运行 ASP.NET 安装程序。 However, it first checks if the ASP.NET is installed and, if it is, it uninstalls it.
但是,它首先检查是否安装了 ASP.NET,如果是,则将其卸载。 This at least gets around the first issue I mentioned in the question.
这至少解决了我在问题中提到的第一个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.