支持Linux和Solaris的NSIS

时间:2022-09-06 15:53:46

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?

NSIS支持Linux和Solaris吗?我在某个地方读到,我们可以在Linux上编译nsis脚本,但不能执行在除Windows之外的任何其他平台上生成的.exe。有人能多放点光吗?

4 个解决方案

#1


12  

No.

See the NSIS feature list for more information ...

有关更多信息,请参见NSIS特性列表。

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.

NSIS编译器可以编译为POSIX平台,比如Linux和*BSD。生成的安装程序仍然只在Windows上运行,但是通过这种方式,它们可以在不使用Windows或WINE的情况下生成。

#2


7  

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)

您可以在POSIX和Windows系统上编译安装程序,但是它总是生成只在Windows上运行的Win32 PE文件(可能在*nix上的WINE下)

Check the NSIS manual for more info

更多信息请查看NSIS手册

#3


3  

The installer systems for Windows and Linux are completely different.

Windows和Linux的安装程序系统完全不同。

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.

Windows对软件管理系统的唯一贡献是一个指向卸载程序的注册表项,而Linux有一个完整的软件管理系统。有apt、yum、pacman等,它们支持更多的特性和可能性,包括脚本的自动执行和插入/安装依赖项。如果您有一个想要共享的跨平台应用程序,那么您要么要创建一个tar-ball,要么要学习如何构建deb/rpm等包。

#4


0  

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

Linux和Windows不是二进制兼容的,所以你不能这么做。

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

但是,大多数windows二进制安装程序都可以在WINE安装

#1


12  

No.

See the NSIS feature list for more information ...

有关更多信息,请参见NSIS特性列表。

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.

NSIS编译器可以编译为POSIX平台,比如Linux和*BSD。生成的安装程序仍然只在Windows上运行,但是通过这种方式,它们可以在不使用Windows或WINE的情况下生成。

#2


7  

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)

您可以在POSIX和Windows系统上编译安装程序,但是它总是生成只在Windows上运行的Win32 PE文件(可能在*nix上的WINE下)

Check the NSIS manual for more info

更多信息请查看NSIS手册

#3


3  

The installer systems for Windows and Linux are completely different.

Windows和Linux的安装程序系统完全不同。

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.

Windows对软件管理系统的唯一贡献是一个指向卸载程序的注册表项,而Linux有一个完整的软件管理系统。有apt、yum、pacman等,它们支持更多的特性和可能性,包括脚本的自动执行和插入/安装依赖项。如果您有一个想要共享的跨平台应用程序,那么您要么要创建一个tar-ball,要么要学习如何构建deb/rpm等包。

#4


0  

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

Linux和Windows不是二进制兼容的,所以你不能这么做。

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

但是,大多数windows二进制安装程序都可以在WINE安装