Archive: Installer fails on compressed files?


Installer fails on compressed files?
Hi,

I recently upgraded from 2.44 to 2.46 and my install script now falls over when extracting the files. The problem I've noticed is that if the file is compressed then the installer fails. I guess the installer is checking if the file is compressed (the extension doesn't matter) and is attempting to decompress it and falling over.

Has anyone else encountered this problem and know how to fix it?

(I had a search through the forums but cannot find anything relating to this issue)

Richard


Is there an error?

Stu


I use nsis 2.46 on ubuntu 10.04, and I think I have the same problem. The compilation goes right, but when I execute the installer, a file seems to be corrupted (here, it's a jar archive).
When I compile the script on Windows and execute the installer (also with nsis 2.46), I have no problem...

For the moment, I've not found a fix, neither a solution, but I will investigate it...

Hope this help

Sylvain


EDIT: after some investigation, if I deactivate the compression, with "SetCompress off", it works now...but it's not compressed...
next step: trying others compression algo


No problem at all with the other compression methods. I've reported a bug on the ubuntu forum related to nsis package.

@riksweeney -> you could try with the other compression methods, it worked for me


What compression are you using that causes the issue? lzma?

Stu


Oh, sorry, it was the default compression, lzip.


Sorry for the delay in replying. I've set the compressor to bzip2

SetCompressor bzip2

and I no longer experience a problem, everything extracts OK. If I remove this line then the installer fails again. Perhaps this is an Ubuntu problem?

Richard


It does sound like it is Ubuntu, although if it didn't happen with an earlier version of NSIS then you should submit a bug report anyway.

Stu


I assume it is the same issue as reported on
sourceforge.net/support/tracker.php?aid=2998596


Yes, it is, and now it's fixed... I hope they will update the nsis version on Lucid distro...

I've submitted a bug report last week : https://bugs.launchpad.net/ubuntu/+s...is/+bug/585442

Unfortunately, I've no feedback at all... perhaps it's not the right place to post ?