edwardjoe.vincent
Posts: 7
Joined: Thu Apr 14, 2016 11:28 am

Prerequisite is appearing twice after autorestart of the PC in case of .NET Upgrade

Hi Team,
Our application requires the following as the prerequisites,
1) JRE32bit
2) JRE64bit
3) License Activation Client (LAC)
4) PostgreSQL

Also, the License Activation Client (LAC) has the following prerequisites/supporting files,
1) .NET 4.5.2
2) Visual C++ 32bit redistributable
3) Visual C++ 64bit redistributable

In some Operating Systems, Once the LAC starts installing, it will try to install .NET4.5.2 and hence the system reboots. After the system reboot, The LAC setup window is appearing twice although it is specified once in the AIP file. Please find attached the screenshot as well as the AIP file for your reference. Kindly let us know the solution.
Attachments
Issue Screenshot
Issue Screenshot
Llicence Related.PNG (249.09 KiB) Viewed 2788 times
OS details
OS details
Win8.1ProConf.png (340.62 KiB) Viewed 2788 times
EfmsServer_Full_V6.20_31.03.2016.aip
AIP File
(594.84 KiB) Downloaded 403 times
edwardjoe.vincent
Posts: 7
Joined: Thu Apr 14, 2016 11:28 am

Re: Prerequisite is appearing twice after autorestart of the PC in case of .NET Upgrade

Hi Team,
Please find attached the MSI logs as well.
Attachments
MSI1d953.txt
(240.54 KiB) Downloaded 323 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisite is appearing twice after autorestart of the PC in case of .NET Upgrade

Hello and welcome to our forums,

This may happen if your LAC setup is auto-launching too after the computer reboot. Every time Advanced Installer installs a prerequisite (e.g. LAC) which before finishing its installation restarts the computer, then after reboot the main setup will relaunch and will also relaunch its prerequisite setup (LAC) to finish installing it. But, if your prerequisite setup (LAC) is also auto relaunching it after reboot then you will end up with two instances of the same setup after reboot.

There is no workaround you can use other than recreating your LAC setup to not trigger any computer reboot during its installation. Also, as another try you can add the ".NET 4.5.2" and "Visual C++ redistributables" as pre-install prerequisites to your main setup project, scheduling them before the LAC prerequisite.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”