Friday, October 22, 2010

Installation hangs on "please wait while the installer finishes determining your disk space requirements"

By a some reason installation may hang on a dialogue with the "Please wait while the installer finishes determining your disk space requirements" message (1, 2)


To solve the issue one of the following solutions may help:

  • Stop the installation and start it again.
  • Start installation from command line with /qr switch (i.e. msiexec /i {name.msi} /qr). (qr swtitch - no interaction with user in dialogue wondows)
  • Move msi to a folder with shorter path and run it from there.

What can be done in the msi project:
Remove SpawnWaitDialog event with CostingComplete = 1 condition
CostFinalize does not work