Hi Rohan,
1) Please note that an MSI package is not a standalone executable, so it does not have a return code when the installation finishes or rollsback.
The installation is actually performed by msiexec.exe, which is a service from the OS. This service never exists, so you will not have an actual return code from the installation.
If the installation fails you need to try it again, but this time pass the installer a
command line to create a verbose log, this will contain details about the failure reason.
2) No, but feature-based and post-install prerequisites are handled by a separate executable in case of silent installations, which runs after the entire installation has finished.
The way prerequisites install is quite complicated, it depends on the how you scheduled the prerequisite and the UI level of the main installer, i.e. full, basic or silent UI.
Regards,
Bogdan
FOLLOW US
Get the latest news in Application Packaging