Dear Advanced Installer Support Team,
The following 2 in-build prerequisties are needed by, but we are not able to use them properly in our AI (13.6) project:
- Visual C++ Redistributable for Visual Studio 2015 Update 3 x64
- Visual C++ Redistributable for Visual Studio 2015 Update 3 x86
Problem 1: The default install conditions of the x64 version is wrong:
Scenario 1: neither x86 nor x64 version is pre-installed on the end-PC:
Expected behavior: Installer offers both versions for installation.
My test result: This scenario works fine, both versions were offered for installation.
Scenario 2: x64 version is pre-installed on the end-PC:
Expected behavior: Installer offers x86 version for installation.
My test result: This scenario works fine, x86 was offered.
Scenario 2: x86 version is pre-installed on the end-PC:
Expected behavior: Installer offers x64 version for installation.
My test result: PROBLEM! Both version were offered for installation.
Problem 2: Prerequisite installation requires a system reboot, but it´s not working properly:
We noticed that in a certain scenario, if an older version of Visual C++ Redistributable for Visual Studio 2015 is installed on the PC and its file is in use (blocked), the prerequisite installer dialog displays an error (see the screenshot) for us and the installation is getting suspended.
If the files of the older version are not blocked, the installer works as expected.
The error is displayed, because the new prerequistes (both) require a system reboot but we suppress it on purpose by having "/quite /noreboot" command line params in Prerequiste -> Setup Files -> Install Command Lines section.
Without having /noreboot there, the installer restarts the PC after each prerequisite. It means if we define 4-5 prerequisites, and all of them require a reboot because of something, the PC will be restarted 4-5 times until the user can really bypass the prerequisite dialog. This is something we would like to prevent, multiple reboots ruin the user experience. What is your suggestion? How could we convince our installer to install all the prerequisites and remember if any of the prerequisites require a reboot. If so, then the reboot should be triggered at the end of the complete installation. From user experience point of view, this solution would be the best.
While I tried to find a solution for this, /norestart was replaced by me to /promptrestart. I was curious whether the user will be asked after each prerequisite if he wants a reboot or not, but /promptrestart seems to be not handled by Advanced Installer 13.6. Automatic reboot happened after each prerequisite installation.
Please see my sample project attached. Could you please use it for testing? Note: Make sure you have an earlier version of Visual C++ Redistributable for Visual Studio 2015 installed on your test PC and his files are being used by a diff. process.
Thanks in advance,
Zsolt
FOLLOW US
Get the latest news in Application Packaging