Archive: How to specify correct value of space required in the directory page?


How to specify correct value of space required in the directory page?
hi all,

I m writting a simple installer script for an application.
It shows me incorrect value of the space required on the directory page. It shows me 13.0 KB but it should be much more. Is there any way to set it explicitly ?

Also, Is there any way to give the error message if we dont hv enough disk space, before it actually start the installation ??

Ps. help..


It disables the Next button if there is not enough space available.

You can modify the size using AddSize.


Thanx Joost..

Also i copy some huge no. of files from some directory to installation directory using CopyFiles command.
While copying files it does show the details of each file it is copying, I used /SILENT as i also dont want the default windows copy dialog box to popup.

I just want that it display me name of the file it is copying at any time otherwise it looks like installation get struck somewhere..

Can u also explain the diff bw CopyFiles and File command??


CopyFiles calls the standard Windows API, there is no way to see the progress.

The File command includes the file in the installer itself, CopyFiles only copies files on the users system.