Old 21st September 2006, 22:08   #1
MatthewHarmon
Junior Member
 
Join Date: Jul 2006
Posts: 8
Large Installer corrupt on Win98 - works on XP

Ok, I have built an installer using 2.10 and the ultra-modern UI addon. The installer is about 530MB. Works great in XP under lots of testing on lots of systems. However, on 98SE I get the corrupt file message. If I build a smaller installer from the same script (just fewer files), it works fine.

Any ideas?
MatthewHarmon is offline   Reply With Quote
Old 21st September 2006, 22:14   #2
MatthewHarmon
Junior Member
 
Join Date: Jul 2006
Posts: 8
For what it's worth, the installer seems to work fine on 98 if I give it the /NCRC flag - although I hate to do that. Can the CRC overflow somehow?
MatthewHarmon is offline   Reply With Quote
Old 22nd September 2006, 10:13   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I have never heard or had problems with large installers on Windows 9x. Have you made the sure the file isn't corrupt? Try comparing MD5 sums.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd September 2006, 10:24   #4
{_trueparuex^}
Senior Member
 
{_trueparuex^}'s Avatar
 
Join Date: Dec 2005
Location: Glow
Posts: 285
And if the MD5 sums were identical and if you have AV running on that win98 try to close it temporarily and try if it then works.

If my memory serves me well, there was a case when the AV caused the CRC check to fail.
{_trueparuex^} is offline   Reply With Quote
Old 22nd September 2006, 15:17   #5
MatthewHarmon
Junior Member
 
Join Date: Jul 2006
Posts: 8
Yes, the installer is absolutely not corrupt, and on the Win98 machine there is no AV software running. As I said, everything works fine (install is flawless) if I just skip the checksum.

I hate to disable the checksum feature :-(
MatthewHarmon is offline   Reply With Quote
Old 22nd September 2006, 17:13   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Just to be sure, I've tested with a 700MB installer. Works fine like always. I didn't get from your reply how you made sure it's really not corrupt. Going just by the fact the installer worked is not enough. The change can be subtle enough for you to not notice, but it may still be corrupt. Can you confirm you've compared the MD5 sums?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd September 2006, 17:59   #7
MatthewHarmon
Junior Member
 
Join Date: Jul 2006
Posts: 8
- I simply copy the installer to the Win98 machine over the network, so no FTP / HTTP transfer issues to get in the way.

- Second, I copied it about 3 more times as I was, myself, convinced it must have been a corrupt copy. (However, never in 20 years of software development have I had a corrupt network copy.)

- Third, I checked the MD5 :-)

Now, not sure if this is at all related, but I noticed that the installer file's icon is not showing up in the Win98 Explorer. I see the default app icon instead. If I do a properties, I see the correct icon.

Now, I can't be 100% sure, but this icon issue >seemed< to start happening after the installer got "big" - over 500 meg or so. Oddly enough, if I browse the folder from an XP machine, I see the icon!

Strange, I know. I'll keep trying things and see if I uncover any more clues.
MatthewHarmon is offline   Reply With Quote
Old 22nd September 2006, 19:34   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The icon issue is not related. Explorer simply ignores the icons for large executables.

My best guess would be some sort of hardware failure. Probably RAM problem since it is able to read the entire installer without failing the decompression. If you want to get to the bottom of this, try running on other Windows 98 machines and try compiling a version with some debug messages around the CRC check code (Source\exehead\fileform.c).

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump