When using the generic bootstrapper with MSBuild how is the order of installation of prerequisite items determined?
For example, given:
<Project ToolsVersion='3.5' xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> <ItemGroup> <BootstrapperFile Include='A' /> <BootstrapperFile Include='B' /> <BootstrapperFile Include='C' /> <BootstrapperFile Include='D' /> </ItemGroup> <Target Name='MySetup'> <GenerateBootstrapper Path='C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper' ApplicationName='My Program' ApplicationFile='MyProgram.msi' BootstrapperItems='@(BootstrapperFile)' Culture='en' CopyComponents='true' ComponentsLocation='HomeSite' OutputPath='.\' /> </Target> </Project>
What is the order that A, B, C, and D get installed? How do I control that order?
It looks like I can specify in the product manifest with the
DependsOnProducttag:This should result in
Bbeing installed beforeA.http://msdn.microsoft.com/en-us/library/ms229456.aspx