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

Huy Doan hdoan at vmware.com
Sat Jul 9 12:49:59 PDT 2016


That folder will be clean if you close the bootstrapper. Try to run the boostrapper (.exe file), leave it running and go to the Temp folder, you will see it there.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Mayooran Macilamany
Sent: Saturday, July 9, 2016 4:46 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How can I check for available disk space in burn bootstrapper?

Sorry guys but I don't see a guid folder in my %TEMP% directory. I see only the logs. Why is that?

On Sat, Jul 9, 2016 at 4:28 PM, sampat magi <ssmcs060 at gmail.com> wrote:

> %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 
> > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegian
> > > > t.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=
> > > > dIns6fQ--MkFJxuBFYmMeQ&m=tgByvRgtV2fohaA0xRYrS1DByCDAti20yTJ9OOB
> > > > TtZQ&s=7mp_ebUEKZdQNu3jEzMvYq4fu9oE56wf18v3pHOjDf4&e=
> > > >
> > >
> > > __________________________________________________________________
> > > __ WiX Toolset Users Mailing List provided by FireGiant 
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.
> > > com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns
> > > 6fQ--MkFJxuBFYmMeQ&m=tgByvRgtV2fohaA0xRYrS1DByCDAti20yTJ9OOBTtZQ&s
> > > =7mp_ebUEKZdQNu3jEzMvYq4fu9oE56wf18v3pHOjDf4&e=
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant 
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.co
> > m_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ-
> > -MkFJxuBFYmMeQ&m=tgByvRgtV2fohaA0xRYrS1DByCDAti20yTJ9OOBTtZQ&s=7mp_e
> > bUEKZdQNu3jEzMvYq4fu9oE56wf18v3pHOjDf4&e=
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_
> &d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkF
> JxuBFYmMeQ&m=tgByvRgtV2fohaA0xRYrS1DByCDAti20yTJ9OOBTtZQ&s=7mp_ebUEKZd
> QNu3jEzMvYq4fu9oE56wf18v3pHOjDf4&e=
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=tgByvRgtV2fohaA0xRYrS1DByCDAti20yTJ9OOBTtZQ&s=7mp_ebUEKZdQNu3jEzMvYq4fu9oE56wf18v3pHOjDf4&e= 


More information about the wix-users mailing list