Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install4j Linux installer not working

I made installers for my application, it works on Windows and Mac, but when I try to run the .sh installer file on linux, it fails with this error:

gzip: sfx_archive.tar.gz: not in gzip format

I am sorry, but the installer file seems to be corrupted. If you downloaded that file please try it again. If you transfer that file with ftp please make sure that you are using binary mode.

How can I solve this?

Thanks.

like image 930
Nicolas M. Avatar asked Sep 04 '26 05:09

Nicolas M.


1 Answers

The error message describes the probable reason:

I am sorry, but the installer file seems to be corrupted. If you downloaded that file please try it again. If you transfer that file with ftp please make sure that you are using binary mode.

You probably transferred it to the Linux machine in such a way that the line endings were replaced or the installer script was truncated.

like image 191
Ingo Kegel Avatar answered Sep 07 '26 23:09

Ingo Kegel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!