- NSIS Discussion
- NSIS slow
Archive: NSIS slow
MikeDC1
8th February 2006 03:49 UTC
NSIS slow
My app requires a lot of components to be installed which results in an NSIS installer of approx 200MB. This all works fine except the problem I have is that it can be very slow to just view the file in windows explorer or other programs. The problem is that it seems to search the entire file for the icon to display. On CDs this can be extremely slow and give the impression that the PC has frozen for the first minute and the CD is faulty. The first time I encountered it I removed the CD several times before waiting long enough. Is there any solution to this?
Thanks,
Michael
{_trueparuex^}
8th February 2006 09:31 UTC
I have experience similar problems with big installers. And indeed, it feels like it's searching the icon. I don't recall problems like this in older (2.0x) versions.
onad
9th February 2006 11:54 UTC
Interesting problem, any link where we can download the 200MB installer? Then I can test on one of my slow test machines see where the problem is.
And have you tried to build without HAVE_UPX?
And try various option below:
CRCCheck off
SetCompress off
; SetCompressor lzma
; SetCompressor zlib
MikeDC1
9th February 2006 12:36 UTC
Originally posted by onad
Interesting problem, any link where we can download the 200MB installer? Then I can test on one of my slow test machines see where the problem is.
And have you tried to build without HAVE_UPX?
And try various option below:
CRCCheck off
SetCompress off
; SetCompressor lzma
; SetCompressor zlib
Thanks for the reply onad. I have tried the different compressions but not with compression off and not with the CRC check off. What is HAVE_UPX? I'll organise a link, it will take a while to upload the file.
Is it possible this is just a windows thing and it will happen on any large file?
{_trueparuex^}
9th February 2006 13:59 UTC
Originally posted by onad
And have you tried to build without HAVE_UPX?
And try various option below:
CRCCheck off
SetCompress off
; SetCompressor lzma
; SetCompressor zlib
No UPX or any other exe packers. And I will try those options when I have more time.
l_d_allan
9th February 2006 20:42 UTC
Is this something that ReserveFiles would help with?
MikeDC1
9th February 2006 22:23 UTC
Here's the link to the file if anyone is interested
http://www.mikesdriveway.com/Misc/SmileSetup.exe
kichik
24th February 2006 11:07 UTC
The icon is located at the very beginning of the installer, so that's probably not the problem. I'd guess you have an anti-virus software installed which scans the file when you view it in Explorer. Try disabling any automatic scanners.
ReserveFile can't help here as the installer isn't even executed.
onad
27th February 2006 10:11 UTC
I downloaded the installer and I will test the Icon issue on an old regualr 300MHZ P3 with XP EN. This is a "Clean" XP with no additional software installed.
I'll and post the outcome asap.
onad
27th February 2006 10:29 UTC
I had NO issue of icon appearing on this slower XP machine. It must be some other software on your Windows machine.
Notes:
Or maybe a corrupt icon cache. There are free tools to clean the cashe e.g. MS powertoys.
If you use the software from a CD, note that if you have an autorun.inf ,assign an *ICON=* AND having a *LABEL* line in there will result in an Icon NOT displayed in the explorer. This is an Windows OS defect.
OK ---
[autorun]
OPEN=\SmileSetup.exe
ICON=CDIMG.ICO
NOT OK ---
[autorun]
OPEN=\SmileSetup.exe
ICON=CDIMG.ICO
LABEL=MyTestLabel
onad
27th February 2006 10:44 UTC
BTW your installer does not install everything correctly. E.g. there is no main application istalled thus the Shortcut Icon is empty.
Also, if I have my main Windows on E: some things get installed on wrong location e.g.
C:\Program Files\Microsoft SQL Server\80\Tools\Binn
I have a C partition where the is no "Program Files" etc.
I think you have to review your own installer code a little more ;) and make it more robust.
MikeDC1
27th February 2006 11:49 UTC
Originally posted by onad
BTW your installer does not install everything correctly. E.g. there is no main application istalled thus the Shortcut Icon is empty.
Also, if I have my main Windows on E: some things get installed on wrong location e.g.
C:\Program Files\Microsoft SQL Server\80\Tools\Binn
I have a C partition where the is no "Program Files" etc.
I think you have to review your own installer code a little more ;) and make it more robust.
Thanks for the info. I took my app files out of this install as I didn't want to release it as a freebie but I will look at the C drive issue.
BTW, whoever said it was anti-virus software was absolutely right, I disabled mcafee and the problem went away. Thanks everyone who looked at this.