In this section we will find out how to detect and update older versions of your bundle.
Each time that you compile your bootstrapper project in Visual Studio, it is assigned a new identity—a GUID called
BundleId that you cannot change. In this respect, every bundle that you create is unique. The
UpgradeCode attribute allows us to link two bootstrappers, making them related bundles. This relationship allows one bundle to detect and upgrade the installed packages of the other.
UpgradeCode attribute is set on the
Bundle element, as shown:
<Bundle Name="Awesome Software Bundle" Version="220.127.116.11" Manufacturer="Awesome Company" Copyright="(c) All rights reserved." UpgradeCode="3601032C-A8C9-4323-88E0-1967A9C2145E"> ...