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

Reply via email to