Sharad
12th May 2004 12:21 UTC
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..
Joost Verburg
12th May 2004 12:49 UTC
It disables the Next button if there is not enough space available.
You can modify the size using AddSize.
Sharad
12th May 2004 13:22 UTC
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??
Joost Verburg
12th May 2004 15:22 UTC
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.