Additionally, in order to avoid this bootstrap MSI to appear in the Control Panel, you can go to 'Product Details' page and uncheck the 'Register product with Windows Installer' option.Īlso, it would be nice to execute this bootstrap MSI silently, so it doesn't spawn any more UI to the user.
Since the prerequisites are installed in the order specified in the 'Prerequisites' page, we can simply create a new project in Advanced Installer in which we add our script, build it and add the MSI as a prerequisite, scheduled after the installation of our main prerequisite.īasically, here we have created a bootstrap MSI that is only used to run our script. In this case, unfortunately, it is not possible to run our PowerShell script after the prerequisite installation is done (at least not from the main package).įortunately, there is something we can do here.
When the main package is run silently, the feature based prerequisite is treated as a post install prerequisite - meaning it is installed at the end of the installation. However, we may have a little problem here. That is indeed the command to run a package silently. Do I simply run msiexec /i AI-AdobeX.msi /qn for the silent installation ?