STUB MSI can be used to uninstall the previous version and install the new version. This involves nested installation of package. A nested installation is a type of Custom Action that installs or removes another .msi package (sometimes called the child MSI) within a running installation (called the parent MSI).