Permissions and antivirus issues to run the application

Asked

Viewed 443 times

2

I created an application in Java and generated an executable . JAR, which works perfectly, after this I used the Launch4j which transforms my . JAR into . EXE and then I used Installcreator to create an installer for my application. EXE to have a more professional look, but my clients are having trouble downloading the application generated by Installcreator, because the antivirus does not allow the user to download the software. EXE which is in the format of Installcreator (in the format of a Setup) and in some cases (very rare) when it allows to download the Setup generated by Installcreator, after installed, the antivirus is triggered when the application is started and gives a virus threat signal and the application is blocked, or to run the . Installed EXE is required "Run as administrator". and this makes it very difficult for the user, someone knows some way to catch one . JAR turn into . EXE and create an installer that does not generate any problems with antivirus and permissions? And once installed no problem to run?

1 answer

1

It all depends on how your Jar is.

There are several ways to get a result similar to what you want.

1. Download Executable Files

Most sites that distribute executables do so in the form of zip/tar/rar (do not recommend rar because it is proprietary and tar, since its focus is Windows).

2. May create a self-extractable file and generate your jar as auto executable

No need to convert to EXE to run direct on Windows.

3. Use another program to make/create the installer or do it using jars that are executable.

This way you won’t need administrative rights.

4. Using native development

I know you’re available for Javafx and Swing.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.