That you could do declaratively via InstallCondition on the Package
elements if you didn't want to do it programmatically in your BA.


On Fri, Nov 2, 2012 at 1:50 AM, Igor Brejc <igor.br...@gmail.com> wrote:

> Hi,
>
> I have the same thing (two MSIs, one 32 and the other 64 bit). I'm using
> the managed bootstrapper with override of OnPlanPackageBegin() method to
> control which one gets installed, without the need for custom actions:
>
>         protected override void
> OnPlanPackageBegin(PlanPackageBeginEventArgs args)
>         {
>             base.OnPlanPackageBegin(args);
>
>             if (args.PackageId == "MPWI_Agent_x86")
>             {
>                 if (Bitness.Is64BitOperatingSystem)
>                     args.State = RequestState.Absent;
>             }
>             else if (args.PackageId == "MPWI_Agent_x64")
>             {
>                 if (!Bitness.Is64BitOperatingSystem)
>                     args.State = RequestState.Absent;
>             }
>         }
>
>
> On Wed, Oct 31, 2012 at 5:21 PM, StevenOgilvie <sogil...@msn.com> wrote:
>
> > Hi all,
> >
> > I have a product that installs a 32 bit version and 64 bit version
> > installer
> > (two .msi)
> > I have a custom action in product.wxs that determines the "bitness" of
> > Microsoft Outlook (whether the user installed 32 bit or 64 bit version of
> > Outlook, our product is an add-in).
> >
> > so I have 2 msi's, but only 1 should kick off from burn, can you write
> > custom actions in Bundle.wxs?
> >
> > if so what would I set the condition sequence to? i.e.
> > <InstallExecuteSequence>
> >           <Custom Action="RunPrerequisiteCheck"  After="CostFinalize">NOT
> > Installed</Custom>
> >         </InstallExecuteSequence>
> >         <InstallUISequence>
> >           <Custom Action="RunPrerequisiteCheck" After="CostFinalize">NOT
> > Installed</Custom>
> >         </InstallUISequence>
> >
> > thanks,
> >
> > Steve
> >
> >
> >
> > --
> > View this message in context:
> >
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/custom-actions-in-burn-tp7581691.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to