I am trying to upgrade the application with command C:\Windows\TEMP\MyApplication_64_7.4.10.8016.exe /s /v"/qn ADDLOCAL=ALL"

It is installing the .net 4.7.2 framework Prerequisite, reboots the system but doesn't complete the installation.

However, when I run the exe from double click, it restarts and completes the installation, which is the expected behavior

2

There are 2 best solutions below

2
Doc On

You'll probably want to set the REBOOT property to Supress or ReallySupress in your installer.

0
Rishav On

The approach(mentioned in above comment) of creating a scheduled task before starting of installation worked for me, in that scheduled task, I re-launched the installer