Inno Setup和Launch4j之间的区别 [英] Difference between Inno Setup and Launch4j

查看:81
本文介绍了Inno Setup和Launch4j之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的Java应用程序创建一个程序包.该应用程序具有GUI.

I want to create a package for my Java application. The application has a GUI.

我对Inno Setup和Launch4j之间的区别感到困惑.

I am confused about the difference between the Inno Setup and the Launch4j.

我的主要问题是Inno Setup是否还会创建一个类似Launch4j的.exe文件?还是我需要使用Launch4j创建.exe文件,并使用Inno Setup打包应用程序?

My main question is does Inno Setup also create an .exe file like the Launch4j? Or do I need to create the .exe file with Launch4j and package the application with the Inno Setup?

推荐答案

Inno setup输出是安装程序,因为它是安装程序制造商.另一方面,launch4j是将jar转换为exe的包装器.

Inno setup output is an installer as it is an installer maker. In the other hand launch4j is a wrapper to convert a jar into a exe.

因此,如果要将大型应用程序分发到许多需要安装或在启动之前进行配置的文件中(如Windows程序中常见的那样),Inno Setup非常适合您.

So if you want to distribute a big application in many files that you need to install or that need to be configured before launched, as is common in programs of Windows, Inno Setup is for you.

如果您想制作一个无需安装即可运行的简单exe(有时称为便携式exe"),则您需要的是launch4j.

If you wanna make a simple exe that run without need to install it, sometimes called "portable exe", launch4j is what you want.

关于如果您需要创建一个使用Inno Setup的exe,答案为否",则无需将其转换为exe,但是如果您不进行转换,则需要配置安装程序以进行检查如果已安装Java,并在需要时注册要使用Java启动的jar扩展.如果您使用launch4j进行转换,然后在安装程序中使用它,则可以忘记配置Java(但最好还是检查向导安装程序中是否安装了Java).

About if you need to create a exe to use Inno Setup, the answer is No, you don't need to convert it into an exe but if you don't convert it, you will need to configure the installer to check if java is installed and register the jar extension to be launched with Java if needed. If you convert with launch4j and then use it in the setup, you can forget about configuring java (but it still a good idea to check if java is installed in the wizard setup).

这篇关于Inno Setup和Launch4j之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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