NSIS support for Linux and Solaris

自作多情 提交于 2019-12-21 07:54:21

问题


Does NSIS support Linux and Solaris? I read somewhere that we can compile nsis script on Linux but cant execute the .exe generated on any other platforms but Windows. Can somebody put more light in this?


回答1:


No.

See the NSIS feature list for more information ...

Portable Compiler

The NSIS compiler can be compiled for POSIX platforms like Linux and *BSD. Generated installer will still run on Windows only, but this way they can be generated without Windows or WINE.




回答2:


You can compile installers on POSIX and Windows systems, but it always produces a Win32 PE file that only runs on Windows (And maybe under WINE on *nix)

Check the NSIS manual for more info




回答3:


The installer systems for Windows and Linux are completely different.

Whereas Windows' only contribution to a software management system is one registry entry pointing to the uninstaller, Linux has a full working software management system. There are apt, yum, pacman and many more out there, which are supporting many more features and possibilities including automatic execution of scripts and pulling in/installing dependencies. If you have a cross platform application you wanna share, you're either stuck with creating a tar-ball, or you learn how to build deb/rpm etc. packages.




回答4:


Linux and Windows are not binary compatible, so you can't do that.

But, most of the windows binary installer could able to install at WINE



来源:https://stackoverflow.com/questions/2324575/nsis-support-for-linux-and-solaris

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!