且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安静地安装exes

更新时间:2023-11-19 20:49:52

只需复制它们;你应该能够默默地做到这一点。 :-)



大多数应用程序并不真正需要安装,除非它们对系统执行特殊操作。他们经常会引入一些新的文件类型或建议注册现有的文件类型以便由新安装的应用程序处理。这通常不是真正需要的,或者可以信任用户。此外,对系统注册表进行必要修改的一种好方法是首次使用应用程序本身。



对我来说,不需要安装的应用程序是***的。不久前,微软开始鼓励这种安装 - 最后。特别是对于.NET产品。这种健康的趋势正在增长。安装程序附带的一些产品通常带有便携版,可立即使用,无需安装。



但是你仍然需要定期安装MSI,你只需要使用常规安装项目使其静音;我不明白为什么不。



-SA
Just copy them; you should be able to do it silently. :-)

Most applications do not really require installation, unless they do something special to the system. Often they also introduce some new "file type" or suggest to register existing ones to be handled by the newly installed application. This is often not really required, or can be trusted to the user. Also, one good way of making required modification of the system registry is doing by the application itself on its first use.

To me, the applications which do not require installations are the very best. A while ago, Microsoft started to encourage this kind of installation — finally. Especially for .NET products. This healthy trend is now growing. Some products coming with the installer are often come with "portable version" which is used immediately, without installation.

But it you still want regular MSI installation, you just need to make it silent, using regular Setup project; I don''t see why not.

—SA