Menu

#771 Wrong free space calculation

2.0 Series
closed-fixed
General (291)
5
2008-05-10
2008-04-18
No

When used in directory which is other disk partition mounted as NTFS folder, NSIS-created setup is reading free space information from root directory instead of that partition. Therefore, it cannot be executed there if rootdir lacks free space - please fix it.

Occurs with NSIS 2.34.

Discussion

  • Amir Szekely

    Amir Szekely - 2008-04-18

    Logged In: YES
    user_id=584402
    Originator: NO

    Thanks for the report.
    I've added a partial fix. If you specify an existing directory under a mount point, or the mount point itself, it'll give you the right size. But if you specify a non-existent directory or a real file, it won't.

     
  • Amir Szekely

    Amir Szekely - 2008-04-18
    • assigned_to: nobody --> kichik
     
  • Amir Szekely

    Amir Szekely - 2008-04-18

    Logged In: YES
    user_id=584402
    Originator: NO

    And reverted. It causes usage of GetDiskFreeSpace instead of GetDiskFreeSpaceEx for paths that GetDiskFreeSpaceEx still doesn't take. That could generate false limited results.

     
  • Amir Szekely

    Amir Szekely - 2008-05-10

    Logged In: YES
    user_id=584402
    Originator: NO

    Now really fixed.

     
  • Amir Szekely

    Amir Szekely - 2008-05-10
    • status: open --> closed-fixed
     

Log in to post a comment.