Advanced Updater does not install .Net 4.6.1 prerequisite properly - Advanced Installer Community
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Advanced Updater does not install .Net 4.6.1 prerequisite properly

Dear Advanced Installer Support Team,

Please let me report a problem with installing .Net 4.6.1 prerequisite for our product: some files are missing from our PC - .Net 4.6.1 requires a reboot to really have all the files in place - when installing our single EXE file by using Advanced Updater. Due to this our product cannot be used properly.

Manual installation of our EXE:
This is a full-UI installation, so the installer will notify the user that .Net 4.6.1 will be installed on the PC. The installer also restarts the PC if .Net 4.6.1 requires it after the installation.

Automatic/silent installation of our EXE by Advanced Updater:
Unfortunately Advanced Updated does not recognise the necessity of rebooting the PC if the EXE contains .Net 4.6.1 prerequisite. Advanced Updater dialog quits right after the installation is done. Our applications are complaining about missing files until the user restarts the PC.

Suggested solution: Advanced Updater should notify the user that a reboot is needed or else he should automatically reboot the PC at the end of the installation if he feels reboot is required.

Could you please try to reproduce this problem on your side and advice me something?

Best regards,
Zsolt
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Advanced Updater does not install .Net 4.6.1 prerequisite properly

Hello Zsolt,

I've tested your scenario and it worked as expected. Can you please make sure that the /norestart parameters was not added in the Install Comand Lines section from the Prerequisite Setup tab?

In order to further investigate this, can you please send us the .AIP(project file) of the upgraded version and the .AIP(project file) of the updates configuration file?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: Advanced Updater does not install .Net 4.6.1 prerequisite properly

Hi Dan,

I've done some further investigation and figured out that the file which is missing is not the part of our .Net 4.6.1 prerequisite, rather it belongs to Visual C++ Redistributable for Visual Studio 2015 prerequisite.

So somehow our EXE is getting installed by Advanced Updater without any error messages, but some files of the Visual C++ Redistributable for Visual Studio 2015 prerequisite are not placed into Windows/System32 folder. That's why our app is complaining about a missing file called api-ms-win-crt-runtime-l1-1-0-dll, please see the attached screenshot. If the PC is getting restarted, all the missing files are placed to the proper Windows/System32 folder so that our app can be launched.

The other thing I noticed is that the behavior is absolutely non-deterministic. Sometimes our app is complaining about missing files after the installation so a reboot is needed, sometimes it works even without a reboot.

Do you have any idea why this is so inconsistent?

Best regards,
Zsolt
Attachments
file missing when starting app.png
file missing when starting app.png (101.28 KiB) Viewed 3280 times

Return to “Common Problems”