[wix-users] How to launch repair action for missing files through a burn bootstrapper?

Mayooran Macilamany mayooran99 at gmail.com
Thu Jul 7 19:24:14 PDT 2016


Got it. Thanks a lot mate! :)

On Fri, Jul 8, 2016 at 7:18 AM, John Cooper <JoCooper at jackhenry.com> wrote:

> That depends on your logic.  If your MSI are correctly authored to support
> Repair, they should just work regardless of the reason you're running a
> Repair.  And if you can run a Repair, you can often also author a Patch and
> deploy it.
>
> --
> John Merryweather Cooper
> Senior Software Engineer | Integration Development Group | Enterprise
> Notification Service
> Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |
> JoCooper at jackhenry.com
>
>
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Mayooran Macilamany
> Sent: Thursday, July 7, 2016 8:42 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] How to launch repair action for missing files
> through a burn bootstrapper?
>
> The e-mail below is from an external source.  Please do not open
> attachments or click links from an unknown or suspicious origin.
>
> Thank you for the prompt reply mate. So that means repair button would be
> present whether the files are missing  or not right? If the package state
> is present, I should always display the repair button right?
> On Jul 8, 2016 06:50, "John Cooper" <JoCooper at jackhenry.com> wrote:
> >
> > Yes.   You pass Repair to Plan().  Like so.
> >
> > BootstrapperApplication.Plan(LaunchAction.Repair);
> >
> > I do it in my RepairExecute() method for my buttons, and in the MBA
> > logic
> to handle the command line cases.  See the MBA for WiX itself for those
> details.
> >
> > --
> > John Merryweather Cooper
> > Senior Software Engineer | Integration Development Group | Enterprise
> Notification Service
> > Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |
> JoCooper at jackhenry.com
> >
> >
> >
> >
> > -----Original Message-----
> > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> > Behalf
> Of Mayooran Macilamany
> > Sent: Thursday, July 7, 2016 8:14 PM
> > To: wix-users at lists.wixtoolset.org
> > Subject: [wix-users] How to launch repair action for missing files
> through a burn bootstrapper?
> >
> > The e-mail below is from an external source.  Please do not open
> attachments or click links from an unknown or suspicious origin.
> >
> > I have this burn bootstrapper installer. I can launch a repair action
> > if
> the packages are absent. But is it possible to launch the repair action if
> any of the installed files are missing? I have marked the files as
> KeyPath=yes and included them in the MSI. I can repair the missing files
> using the MSI. But how can I launch the repair action through the
> bootstrapper EXE? Any help would be much appreciated.
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
> >
> > NOTICE: This electronic mail message and any files transmitted with it
> are intended
> > exclusively for the individual or entity to which it is addressed. The
> message,
> > together with any attachment, may contain confidential and/or
> > privileged
> information.
> > Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> > is strictly prohibited. If you have received this message in error,
> > please immediately advise the sender by reply email and delete all
> copies.
> >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
> NOTICE: This electronic mail message and any files transmitted with it are
> intended
> exclusively for the individual or entity to which it is addressed. The
> message,
> together with any attachment, may contain confidential and/or privileged
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> is strictly prohibited. If you have received this message in error, please
> immediately advise the sender by reply email and delete all copies.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list