将NSIS脚本构建为MSI软件包 [英] Build NSIS script as a MSI package

查看:298
本文介绍了将NSIS脚本构建为MSI软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将Nullsoft安装程序脚本(NSI)安装程序编译为MSI软件包而不是EXE?

Is there any way to compile the Nullsoft Installer Script (NSI) setup as a MSI package instead of an EXE?

推荐答案

不幸的是,没有.

NSIS 可让您创建可编写脚本的程序安装包.它简单,易用,并且具有Windows Installer中未提供的许多功能.

NSIS lets you create scriptable, procedural installation packages. It's simple, easy to use and has a number of features not present in Windows Installer.

Windows Installer (MSI)创建数据库驱动的事务性安装程序包.正确编写Windows Installer软件包后,它会非常健壮,文件会被损坏/删除,并且会自动将其重新安装. Windows Installer知道UAC,只有在需要时才进行升级,基本上,如果您要为企业市场创建软件,则需要提供MSI.

Windows Installer (MSI) creates database driven, transactional installation packages. When written properly a Windows Installer package is very robust, a file gets corrupted/deleted and it will be automatically reinstalled. Windows Installer is aware of UAC and only elevates when required, basically if you're creating software for the corporate market, you will need to provide an MSI.

查看 Windows安装程序权威指南为了解MSI提供了很好的介绍.

Check out The Definitive Guide to Windows Installer for a good introduction to understanding MSI.

这篇关于将NSIS脚本构建为MSI软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆