Microsoft Visual c++ Runtime for 2015 requires reboot

Got a problem you cannot solve? Try here.
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Microsoft Visual c++ Runtime for 2015 requires reboot

Postby kishorkk23 » Wed Dec 21, 2016 3:09 am

Hi,
When i choose the Application runtimes (Microsoft Visual C++ runtime for 2015), while installing it says system re-boot required.

Can we give the option of re-boot later? as currenlty it requires a madate re-boot for the runtime

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Microsoft Visual c++ Runtime for 2015 requires reboot

Postby FrancescoT » Wed Dec 21, 2016 10:23 am

Dear kishorkk23,

the IA VC++ install script (eg. "setupvc14rtm_update1_x86.mia" or "setupvc14rtm_update1_x64.mia") already implements the /norestart command line option to install the Microsoft Visual C++ 14 (Visual Studio 2015).

So in your case, you could modify the default script code in order to temporary ignore and skip such restart request. By default the install script use a "Reboot Computer and Resume Setup" command, when the visual C++ installer returns "3010" or "23" as result value.

At any rate, please consider that in case you are also installing other components that require the presence of VC++ RTM, these may fail to install due the skipped system reboot.

Finally and if you decide to proceed in this way, don't forget to programatically ask for a system reboot at the of your installation and in case the previous reboot request has been effectively skipped.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Microsoft Visual c++ Runtime for 2015 requires reboot

Postby kishorkk23 » Fri Dec 30, 2016 12:56 am

Thanks, where in the script can i provide this option of re-boot later?

Currently it shows Cancel or ok to re-boot

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Microsoft Visual c++ Runtime for 2015 requires reboot

Postby FrancescoT » Fri Dec 30, 2016 10:50 am

Dear kishorkk23,

as I have already said, you should modify the default script code in order to temporary ignore and skip such restart request. "By default the install script use a "Reboot Computer and Resume Setup" command, when the visual C++ installer returns "3010" or "23" as result value."

You may use a custom variable to store the skipped re-boot condition and at the end of your setup process, you may conditionally reboot the system.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 29 guests