Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

disk space check problem.........


3 replies to this topic

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 17 May 2005 - 04:28

C is system disk
E partition space available > 1.0 GB
Installation application need 405 MB
The disk space not enough error shows up
just after welcome dialog
I didn't write any disk space check code
Is it so called installation check ?
how to let the disk space check the target dir not system disk ?
Need some help ..............


Silverlay

Silverlay
  • Members
  • 68 posts

Posted 17 May 2005 - 08:08

You can do this using this code
CODE


if (FeatureCompareSizeRequired(MEDIA, svDisk, nvSize) < 0) then
ParsePath ( svDisk, TARGETDIR, DISK );    
MessageBox ( "There is not enough free space on drive " + svDisk + "." , SEVERE);
endif;



Try to use it right after your folder selection dialog ...
Bonum initium est dimidium facti

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 18 May 2005 - 09:01

Thanks for your reply,
but first I need to know how to avoid the disk space not enough error to show up,
it comes before target folder selection dialog,
and can't close it anyway.
How I can avoid the disk space not enough error to show up ?? blink.gif


goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 18 May 2005 - 10:18

Solved !
There is a FeatureCompareSizeRequired just before target folder selection dialog
just move it after target folder selection dialog
Thanks............ biggrin.gif