Check diskspace

Topics: Archive - General
Jan 20, 2015 at 6:17 PM
Inorder to use CheckDisk space do i need to mention required diskspace with in the xml file or How can i get free disk space prior to installtion. Lets say if my app needs 5 GB to install and if i have 3 GB available. How can i check this ? and get a prompt for Low diskspace.
Feb 1, 2016 at 2:25 PM
I've tried using raw numbers since this is done in MB.

For example: CheckDiskSpace 60000 thinking this is 6GB and the prompt did not work.

I think you have to use -RequiredDiskSpacwe with CheckDiskSpace.

Let me know if you figure it out.
Feb 1, 2016 at 2:56 PM
Edited Feb 1, 2016 at 2:56 PM
Okay, I got it to work.

You need to use -RequiredDiskSpace with Check DiskSpace. Below is 60GB is required.
Show-InstallationWelcome -CheckDiskSpace 60000 -RequiredDiskSpace 60000

if you use it like this below, it will calculate the size of your project automatically by the size of your installation files and support files.
Show-InstallationWelcome -CheckDiskSpace 60000


HTH