Bug 75570 - CONFIGURATION: Space oCheck on custom install preventing install of libreoffice.
Summary: CONFIGURATION: Space oCheck on custom install preventing install of libreoffice.
Status: RESOLVED DUPLICATE of bug 52169
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 11:21 UTC by Steve
Modified: 2014-03-06 10:18 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2014-02-27 11:21:06 UTC
Problem description:  The space check on custom install is preventing installation of libreoffice where an install location has been selected that is on a partition accessed through a volume mount folder. 

The space check is calculating the requirement for 868MB of space on the C partition and not on the volume mount folder partition. 

The C partition does not have this amount of freespace while the Volume mount folder partition has 1.5GB of freespace. 

Custom install location is off the type c:\volume mount folder\libreoffice.
  
An install of libreoffice to a volume mount folder partition on a test system worked susccesfully and Libreoffice worked correctly from this install location. In this case there was 1GB+ of freespace on the C partition.

The 868MB space requirement is incorrect as on the test system only approximately 360MB of space was required. 

The space check incorrectly checking space on the C partition and not on the the volume mount folder partition.

Suggestions for correcting this are:-
1) make the space check optional 

2) give an option to continue with the install if the space check detects insufficient space.

3) make the install check the install path for Volume mount folders and check the volume mount folder partition for space and not the C partition. 

4) Correct the calculation for the space requirement. A requirement of 868MB is also given on the typical install  

The file system is NTFS.
  
Steps to reproduce:
1. create partition
2. create volume mount folder on C partition to this partition.
3. fill up C partition until less than 500MB freespace.
4) launch install
5) select custom install
6) change install path to volume mount folder partition location
7) select next 


Current behavior:
space check shows insufficent space on the C partition.

Expected behavior: 
should check the volume mount folder partition for space and not the C partition.

              
Operating System: Windows XP
Version: 4.2.0.4 release
Comment 1 Maxim Monastirsky 2014-02-27 11:46:37 UTC
From Bug 52169 comment 5:
"Please note that MSI installer is a database, not a program, and LibreOffice developers cannot change the way that Windows calculates free space."

*** This bug has been marked as a duplicate of bug 52169 ***
Comment 2 Steve 2014-03-03 08:44:52 UTC
From what you have said and read in duplicate bug reports,  and from what I have read on the internet,  am I correct in thinking that this is a problem with MSI installer and that it cannot be bypassed?
Comment 3 Maxim Monastirsky 2014-03-05 11:44:17 UTC
(In reply to comment #2)
> am I correct in thinking that this is a problem
> with MSI installer and that it cannot be bypassed?
Yes, that's correct.
Comment 4 Steve 2014-03-06 10:18:05 UTC
OK - I have a work around and that is to drop my 3.3GB hibernate file. I don't like this as I've just spent a lot of time getting it into 1 extent. This works  and I am now trialling Libreoffice but finding problems.

Would this space check problem be removed if Libreoffice used an exe file to install instead of an msi file????


Some FYI.

This space check problem seems to be an going problem with quite a lot of comment on thee internet. Came across this fix from Microsoft which should help with people on vista and above and using MSI installer 4.5. It was released in May 2010 so I should imagine it is well a truly implemented on Vista and above now. Unfortunately no equivalent for  XP and MSi installer 3.1! Please pass this information on to interested parties.
http://support.microsoft.com/kb/2028841
"Out of disk space" error when you install a Windows Installer package in Windows Server 2008 or in Windows Vista if Windows Installer 4.5 is installed
A supported hotfix is available from Microsoft. etc etc 

Also this might be useful for XP users who want to investigate this further.
http://support.microsoft.com/kb/314852
How to Enable Windows Installer Logging in Windows XP
Enable Windows Installer Logging by Adding Registry Entries
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer 
etc etc