Archive: Wrong disk space available (win98 only)


Wrong disk space available (win98 only)
Hello,

I have a problem on win98, the disk space available is 1.9 gb, even if I have more disk space. How to have the right disk space requirement ? It seems limited to 2 gb on win98...

(I'm using nsis 2.0)


Please, I need an answer :)

I made an installer than install more than 2 gb of datas. On windows 98, on the directory page, the "disk space available" is always 1.9gb, even if I have more disk space (currently I have over 10gb of empty space). What can I do to have the right disk space available ? Is this a bug of nsis ?


This is related to limitations of Windows 9x API.

I think the problem can be solved by using another API, but then I have to use 64-bit values which will probably require some optimization to make it not increase the overhead size.

It will be investigated.


Any news ?

To get the disk space available, maybe the developers used the function "GetDiskFreeSpace()", instead of "GetDiskFreeSpaceEx()" ? For compatibility I think...


Yes, but there are some problems because 64-bit numbers should be used and it should be loaded dynamically because it should still run on older systems.

Dave is already looking at it.


i am not sure but fat32 is limited on 2GB ?
i noticed some trouble ago with norton ghost from bootdisk and limit was 2gigs.

ps its not the thing that u can not create greater partitions (i have 8gigs for games) - must be a limit from system ?¿


no, at fat32 the limit for partition-size is over 100gb, but the limit for single files is about 4gb.


ok, 4gig it was :) thx

then i dont know... fat? :D


FAT16 is limited to 2GB.


Ta for the reminder. Yes, I've been looking at it.

It is almost complete; I just need to trim some bytes off here and there to get the installer back within 34KB. Unfortunately I've not been able to spend much time to finish it during the week, but I should have it sorted this weekend.


Just updated CVS version of NSIS: Win9x (Win95 OSR2 and later) should now see drive space > 2GB.


The first editor of Windows 95 supports only FAT16, which has a 2GB limit. So there should be no display limit anymore at all :)