[wix-users] How can I check for available disk space in burn bootstrapper?

sampat magi ssmcs060 at gmail.com
Sat Jul 9 03:58:59 PDT 2016


%temp%guid/.ba
On 09-Jul-2016 4:17 pm, "Mayooran Macilamany" <mayooran99 at gmail.com> wrote:

> Hey Farukh,
>
> Where is this XML created at? I don't see it in my bin/release directory?
>
> On Sat, Jul 9, 2016 at 12:49 PM, Farrukh Waheed <farrukh1 at gmail.com>
> wrote:
>
> > You may need to parse BootstrapperApplicationData.xml and read all
> package
> > size. You can get user's selected drive by using DriveInfo class and get
> > that Drive's free space.
> >
> > I compare and set this while setting Destination Directory property for
> my
> > bundle, so whenever/wherever you are setting this property, the
> comparison
> > would happen for free space availability.
> >
> >
> > On 8 July 2016 at 17:56, Mayooran Macilamany <mayooran99 at gmail.com>
> wrote:
> >
> > > I created this installer using burn bootstrapper and I need to show an
> > > error message on my WPF UI if the available disk space is not enough.
> > > Currently I added hook to the CacheComplete event and show and error
> > > message if its args status is less than zero. It works on certain
> > occasion
> > > but in certain other occasions though there is no disk space, this
> method
> > > still returns zero. What is the correct way to determine if there is
> > enough
> > > space using burn? Any help would be much appreciated.
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list