简体   繁体   English

如何使用NSIS为MSI文件创建SETUP.EXE包装

[英]how to create a SETUP.EXE wrapper for an MSI file using NSIS

I want to wrap a existing msi installer file into NSIS installer executable. 我想将现有的msi安装程序文件包装到NSIS安装程序可执行文件中。 Because there is not any option to change the icon of the msi file. 因为没有任何选项可以更改msi文件的图标。 I just want to customize the icon of the output setup.exe. 我只想自定义输出setup.exe的图标。 Along with this I would also want to make sure that NSIS does not add any extra user interface into my installer. 与此同时,我还要确保NSIS不会在安装程序中添加任何额外的用户界面。 Have anybody an idea to do this ? 有任何人要这样做吗? Thanks in advance. 提前致谢。

The NSIS attributes you want are: Icon and SilentInstall 您想要的NSIS属性是:Icon和SilentInstall

You execute a .msi by running msiexec.exe with ExecWait (Search NSIS forum and wiki for examples) 您可以通过使用ExecWait运行msiexec.exe来执行.msi(例如,搜索NSIS论坛和Wiki)

为此目的,您最好使用7-Zip ,它包括一个专门用于创建自解压安装程序文件而无需其他UI的模块。

只是要更改图标,请使用一个名为资源黑客的旧实用程序

You probably want to give this a try: 您可能想尝试一下:
Program Icon Changer 程序图标更改器
Change exe icon - Icon Changer 更改exe图标-图标更改

There are probably free ones out there too, though I have yet to find one :P 可能也有免费的,尽管我还没有找到一个:P

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM