[wix-users] Disk space

mrbass21 at gmail.com mrbass21 at gmail.com
Fri Jul 20 13:37:19 PDT 2018

Have you experienced a time where this was an issue?

Windows installer has actions that run (FileCost) inbetween the CostInitialize and CostFinalize actions which, if I understand it correctly, will estimate the size.

It is your responsibility in the UI (assuming you’re doing a non silent install) to check these conditions if you create your own custom UI. You can look in the wix3 source on github to see how they handle it.

Apologies if your question is more nuanced, I’m fairly new to WiX as well, so if you have further details, I’ll offer what (little) knowledge I have.

Note that those cost actions are part of the Windows Installer and not something something specific to the WiX toolset.



Sent from my iPhone

> On Jul 20, 2018, at 10:50 AM, Elena Aralla via wix-users <wix-users at lists.wixtoolset.org> wrote:
> Hello,
> is there any way to check if there is enough disk space before a program is installed?
> It would be pleasant to warn a user that there is not enough space, after waiting for minutes for the end of the installation.
> Thank you,
> Elena.
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list