Pre-requisite here is the pre-req to the "Managed BA". The idea is that if
you are going to write your BA in managed code that you'll probably want to
ensure the correct version of NETFX is installed. That's what the mbapreq
does. That's all stuff for the Managed BA.

Burn itself doesn't have the concept of "pre-reqs". Burn just executes a
Chain. Put all the stuff you need in the Chain (in the right order) and
Burn will make sure it gets laid down.  That usually means you put your
"pre-reqs" first and your "product packages" last. <smile/>

On Wed, Aug 29, 2012 at 11:36 PM, Christoffel le Roux <
christoffe...@tech.flowcentric.com> wrote:

> Ha-ha, duh yes  you can... but 'There can only be one' prerequisite... My
> idea was that all application prerequisites gets the 'IsPrerequisite' flag
> set in the Ba's XML payload. I used the flag to indicate the prerequisites
> in the BA UI, now that functionality is relying on the 'Permanent' flag.  I
> also figured out after a few minutes of googling around that setting the
> After attribute on the package elements gets the prerequisites installed in
> the right order.  But I still need to find out how to indicate packages
> dependencies, for when a feature in the  BA UI the features required by the
> current needs to be selected as well....? I'll continue the adventure.
>
> Kind regards,
>
> Christoffel le Roux
>
>
> -----Original Message-----
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: Wednesday, August 29, 2012 3:54 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Chain multiple prerequisites using burn.
>
> Do you guys think it will be feasible to start on my own bootstapper
> application implementation rather than using burn for installing multiple
> prerequisites?
>
> Kind regards,
> Christoffel le Roux
>
>
>
> -----Original Message-----
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: Wednesday, August 29, 2012 3:00 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Chain multiple prerequisites using burn.
>
> Hi guys, Is it possible to install multiple prerequisites using burn?
>
> You can only specify one WixMbaPrereqPackageId element according to the
> schema and I also tried
>
> <PackageGroup Id="Netfx35">
>       <ExePackage Id="Netfx35"
>                         Cache="no"
>                         Compressed="no"
>                         PerMachine="yes"
>                         Permanent="yes"
>                         Vital="yes"
>                         SourceFile="Redist\DotNetFX35SP1\dotnetfx35.exe"
>                         InstallCommand="/q /norestart /lang:ENU"
>                         RepairCommand="/q /norestart /lang:ENU"
>                         UninstallCommand="/q /norestart /lang:ENU"
>                      DetectCondition="Netfx35Version AND (NOT VersionNT64
> OR Netfx35x64Version)">
>         <ExitCode Value ="3010" Behavior="forceReboot" />
>       </ExePackage>
>       <ExePackage Id="VSTOSERuntime"
>            Cache="no"
>            Compressed="no"
>            PerMachine="yes"
>            Permanent="yes"
>            Vital="yes"
>            SourceFile="Redist\VSTOSERuntime\vstor.exe"
>            InstallCommand="/q /norestart /lang:ENU"
>            RepairCommand="/q /norestart /lang:ENU"
>            UninstallCommand="/q /norestart /lang:ENU"
>              DetectCondition="VSTORTVERSION">
>         <ExitCode Value ="3010" Behavior="forceReboot" />
>       </ExePackage>
>     </PackageGroup>
>
>
> And
>
> <PackageGroup Id="Netfx35">
>       <ExePackage Id="Netfx35"
>                         Cache="no"
>                         Compressed="no"
>                         PerMachine="yes"
>                         Permanent="yes"
>                         Vital="yes"
>                         SourceFile="Redist\DotNetFX35SP1\dotnetfx35.exe"
>                         InstallCommand="/q /norestart /lang:ENU"
>                         RepairCommand="/q /norestart /lang:ENU"
>                         UninstallCommand="/q /norestart /lang:ENU"
>                      DetectCondition="Netfx35Version AND (NOT VersionNT64
> OR Netfx35x64Version)">
>         <ExitCode Value ="3010" Behavior="forceReboot" />
>       </ExePackage>
>
>     </PackageGroup>
>
>     <PackageGroup Id="VSTOSERuntime">
>       <ExePackage Id="VSTOSERuntime"
>          Cache="no"
>          Compressed="no"
>          PerMachine="yes"
>          Permanent="yes"
>          Vital="yes"
>          SourceFile="Redist\VSTOSERuntime\vstor.exe"
>          InstallCommand="/q /norestart /lang:ENU"
>          RepairCommand="/q /norestart /lang:ENU"
>          UninstallCommand="/q /norestart /lang:ENU"
>            DetectCondition="VSTORTVERSION">
>         <ExitCode Value ="3010" Behavior="forceReboot" />
>       </ExePackage>
>
>     </PackageGroup>
>
>
> But with no luck, I cannot get the IsPrerequisite flag to be set on both
> the prerequisite packages.
>
> Can someone please explain to me how to do this.
>
> Thanks allot
>
>
> Kind regards,
> Christoffel le Roux
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to