Reply to Thread

Post a reply to the thread: SBI /q /norestart restarted anyway

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-01-2019, 01:07 PM
    linder

    Re: SBI /q /norestart restarted anyway

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

    Friedrich
  • 02-28-2019, 02:02 PM
    MarkRiffey

    Re: SBI /q /norestart restarted anyway

    Magic codes, eh? I traded mine for a cow

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

    Mark
  • 02-28-2019, 02:39 AM
    linder

    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
  • 02-27-2019, 02:35 PM
    MarkRiffey

    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

Posting Permissions

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