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

Reply via email to