+ Reply to Thread
Results 1 to 4 of 4

Thread: SBI /q /norestart restarted anyway

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default SBI /q /norestart restarted anyway

    Recently we had to add the VS C++ 2017 redistributable to our installer (thanks for the version checking on that, Friedrich).

    Odd thing is, it forced a reboot on a user's machine while I was watching it. It runs early in our install and rebooted them right out of it - because they clicked "sure, reboot it" before I could stop them.

    I opened the SBI for this include and noticed it had /norestart on the command line.

    My question is - why would the reboot prompt appear given that the 2017 C++ SBI has /q and /restart?

    Mark

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: SBI /q /norestart restarted anyway

    Hi Mark,

    the Microsoft C++ 2017 redistributable returned the magic "3010" exit code (because it had to replace "in-use" system components). That means, a reboot was required.

    The redistributable did not reboot the system, but Line 149 requested it (see attached screenshot). If you would like to disable a required reboot process, just comment-out Lines 148-150. But please note that you do not have a valid VC++ 2017 installation if you suppress the reboot.

    What you can do is to store the required reboot status and then ask for a reboot at the end of your installation. In this case, do not start your own app from the install.

    Does this help?

    Friedrich
    Attached Images Attached Images  

  3. #3

    Default Re: SBI /q /norestart restarted anyway

    Magic codes, eh? I traded mine for a cow

    That helps - we'll do that. Thank you.

    Mark

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: SBI /q /norestart restarted anyway

    Quote Originally Posted by MarkRiffey View Post
    Magic codes, eh? I traded mine for a cow
    <G>

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •