riksweeney
22nd May 2010 16:09 UTC
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
Afrow UK
24th May 2010 21:06 UTC
Is there an error?
Stu
sylvain.mina
25th May 2010 13:29 UTC
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
sylvain.mina
25th May 2010 16:26 UTC
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
Afrow UK
25th May 2010 17:46 UTC
What compression are you using that causes the issue? lzma?
Stu
sylvain.mina
26th May 2010 07:56 UTC
Oh, sorry, it was the default compression, lzip.
riksweeney
28th May 2010 19:12 UTC
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
Afrow UK
28th May 2010 19:29 UTC
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
f0rt
29th May 2010 17:58 UTC
I assume it is the same issue as reported on
sourceforge.net/support/tracker.php?aid=2998596
sylvain.mina
1st June 2010 10:30 UTC
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 ?