adam@ibexuk.com
Posts: 10
Joined: Wed Jun 16, 2010 5:53 pm

Post install prequisites not being unstalled for Windows 8.1

I'm using Advanced Installer V11.0

Our application has 4 post install prequisites which go in fine on Windows 7. However in Windows 8 the two that are set with '/quiet' command line options are not being installed and no message is being shown. If I manually install them from the .msi files they install fine.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Post install prequisites not being unstalled for Windows

Hello,

I'm not sure why you encountered this behavior.

Please note that based on the install conditions defined in the install conditions tab of the prerequisite, the related prerequisite will be installed or not.
So, can you please make sure that the related prerequisite should get installed? In order to test a condition you can use the [Test] button.

Also, be aware by the two options below the “Install Conditions” pane:
Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite software will be installed according to the enabled option which refers to the install condition that you have defined before.

If this is not your case, can you please test on another machine and see if the behavior still persist?
Also, be aware that on Windows Vista and above, in order to silently install the prerequisites packages the main installation package should run elevated. So, from Install Parameters page you should check Run as administrator option.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adam@ibexuk.com
Posts: 10
Joined: Wed Jun 16, 2010 5:53 pm

Re: Post install prequisites not being unstalled for Windows

Hi

Thanks for the reply. It seems to be that the "Run as administrator option" is needed which was not checked before for either the default .exe build or the .msi build. In our case the note about being needed since Windows Vista has not been the case as we've only had this issue now with Win8. By checking this option the prequisits are installed for the .exe install. However for the .msi install it stops us being able to distribute as a single .msi file as Advanced Installer changes the Media option from Single MSI to EXE setup. Is it not possible to make prequisits install silently in Windows 8 with a single .msi?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Post install prequisites not being unstalled for Windows

Hello,

Indeed, enabling the Run as administrator option from Install parameters page require the package type as an .EXE. The benefit of elevating the bootstrapper application is that privileges are elevated only once (if necessary and at the beginning of the installation) and these privileges are inherited by all of the installation's prerequisites and the MSI file without requiring multiple elevation prompts.
By default, the Exe setup with resources next to it option is enabled in the Media page. However, you can enable the Single EXE setup (resources inside) option for the Package type and have a single file.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”