How to Check whether required space available in the hard disk to install application using inno setup installer

后端 未结 2 602
感动是毒
感动是毒 2021-01-07 07:07

I have built an installer to install application using inno setup.But i want to display an error message showing that there is not enough space in the drive or path where i

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-07 07:48

    Maybe my answer looks like off-topic. I had more or less the same problem.

    If you have in the files section a check function made by yourself, setup can only count the number of (Mega)bytes of those files which have "normal" check flags.

    A way to avoid this is count-up the bytes by yourself and put the result in the ExtraDiskSpaceRequired directive in the [setup] section

提交回复
热议问题