What happens during "Computing space requirements"?

27,040

Solution 1

It is determining how much of the program it must install, and determining what the size on disk will be. There are several contributing factors, like the features the user has selected for installation, and the state of the current system.

Many programs rely on shared dependencies, but if those dependencies do not ship with the OS, or ship different versions of those libraries, the application may have to install them itself. Or, it may be that another program has already installed it.

This means that the actual disk impact of installing a program may vary widely. It takes time to search the disk and registry to determine if the dependency is already available on the system, so the UI displays this message to tell you what it is doing.

Solution 2

One of the basic requirements for a software installation is Disk Space.

For example:

http://windows.microsoft.com/en-in/internet-explorer/ie-system-requirements#ie=ie-11

What happens during "Computing space requirements" ?

While installation wizard shows computing disk space, it is checking if you have enough disk space as required by the software or not.

All the good software do this check to prevent un-necessary errors after installation. However it varies how they do it.

Some do it silently while some like to show you a message.

Look at this installation error for example:


(source: trendmicro.com.au)

Solution 3

I think it's like asking, how many ways can you make a martini? You are exactly correct. It depends on the software, who wrote it and what "they" are computing or searching or gathering or delving... The answer is yes. And if you were to install the same program one time, then uninstall it, then reinstall it and time each install it could take two very different amounts of time. Your computer also has a schedule of events. Also you are doing things. You may arrive at the office everyday at 8am, but it might take different times. And then there is a thing called priority in computer science.

Share:
27,040

Related videos on Youtube

Uwe Keim
Author by

Uwe Keim

German developer. Some of my apps: SharePoint Systemhaus Göppingen (zwischen Stuttgart und Ulm) Eigene Homepage erstellen Test Management Software Windows 10 Ereignisanzeige Very proud father of Felix (2012) and Ina (2014). Loves running, climbing and Indian food. Code Project member #234.

Updated on September 18, 2022

Comments

  • Uwe Keim
    Uwe Keim over 1 year

    Nearly every setup I know shows something like this at the beginning:

    enter image description here

    There is a text saying:

    "Computing space requirement"

    This sometimes runs just a few seconds and sometimes significant longer.

    Since checking for free disk space is to me the equivalent of simply calling fsutil volume diskfree c: which takes about one second maximum, the message seems to be an euphemism for:

    "we are doing something here and won't tell you what."

    I've already tried to use Process Monitor to see what's going on but found nothing significant.

    I can think of:

    • Extracting the MSI content.
    • Looking in the Registry or file system for previous installations.

    While there might be no general answer for all setups out there that print "Computing space requirements" what they are actually doing, maybe there is a rule-of-thumb.

    (My example screenshot was taken randomly from Markdown Edit which uses the WiX Toolset)

    My question:

    What happens during setup execution when the setup is busy and writes "Computing space requirements"?

  • Uwe Keim
    Uwe Keim almost 8 years
    Isn't checking for free disk space the equivalent of simply calling fsutil volume diskfree c: which takes about one second max?
  • Uwe Keim
    Uwe Keim almost 8 years
    BTW: I like how your screenshot's title says "Worry-free" and then tells you something to worry about ("Not enough disk space").
  • clhy
    clhy almost 8 years
    @UweKeim hehehe...just grabbed something from google. Time it takes to do that is/must be dependent on how they do it, what technology they use etc. You know there are more than 2 ways to check free space. Some might check file system while some might skip it. who knows