lundi 6 avril 2015

WIX 2 versions of the bootstrapper


Vote count:

0





<Bundle Name="MyProgram 1.0"
Version="$(bal.Version(1.0))"
UpgradeCode="1C81F0BB-1891-4E83-B71A-5160BA33D985"
Manufacturer="Personal"
AboutUrl="http://wixtoolset.org">


My bundle tag in the bootstrapper project has the attributes above.


I have a few msi packages defined as follows:



<MsiPackage Id="Setup" Compressed="yes" SourceFile="Part1.msi" Vital="yes" InstallCondition="Checkbox1" DisplayInternalUI='yes'/>


On each project ( which in turns generate the msi ) i have the Product tag:



<Product Id="{92B68805-8FD4-4141-A83D-5536CABE7810}"
Name="MyProgram 1.0"
Language="1033"
Version="1.0.0.0"
Manufacturer="Personal"
UpgradeCode="9213b13c-71d8-4e09-87aa-06cb7ff46a3a">


In this msi generation project i have my files defined in a separate source, inside a fragment :



<Fragment>
<ComponentGroup Id="LibrariesGroup" Directory="Libraries">
<Component Id="cmpE4F54DB48C5EB8B2CB7E26BC77371557" Guid="4A1B7418-E85E-4429-80B4-AA377560AF06">
<File Id="filEA72868DDB1FC039A23CCFA30C48169E" KeyPath="yes" Source="$(var.Libraries)\Protocol.dll" />
</Component>
</ComponentGroup>
</Fragment>


My question is, how can i install 2 versions of this bootstrapper in such a way they would not interfere? Should i change the UpgradeCode in the boostrapper and that's it? What changes are needed in the projects generating the .msi packages? Is there a way to create a patch for one of those packages? For example, if i just want to replace one file with a newer version of it.



asked 25 secs ago







WIX 2 versions of the bootstrapper

Aucun commentaire:

Enregistrer un commentaire