Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8118601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:32:22+00:00 2026-06-06T04:32:22+00:00

I have a setup.exe project that I run with the following command-line arguments to

  • 0

I have a setup.exe project that I run with the following command-line arguments to install:

/passive /promptrestart CMDCODE=InstallComplete

I’ve also tried this:

/quiet /promptrestart CMDCODE=InstallComplete

In both cases, if a reboot is required, the user is not asked or even given a warning, it just starts after install is complete.

I suspect it might be because promptrestart was added later, and MS never updated setup.exe to pass that along when calling the MSI. Can anyone confirm or deny this? Does the option work for you? Is there another option I should use instead?

The CMDCODE= part is just something we use internally.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:32:24+00:00Added an answer on June 6, 2026 at 4:32 am

    Have only tested on XP so far, but it appears changing to this works:

    /qb /promptrestart CMDCODE=InstallComplete

    So changing /quiet or /passive to /qb. I don’t really need an “always passive” install, in fact I wish it would prompt if a newer version already installed, or for any errors, I just don’t want it to ask the user any questions under a normal install (no reboot, no errors).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a setup project in c#. i want that setup run 2 exe
I have an Setup project that installs App.exe. App.exe depends on 1) A third
I have an exe that is built and placed into a Setup project for
I have a setup project that adds shortcut to cmd.exe located in windir\system32 When
I have a Visual Studio setup project that installs an application into the task
I have a setup project with a few items to install (Out-of-Browser Silverlight apps).
I've got a Visual Studio Setup Project that uses the msiexec.exe file to create
I have a setup and deployment project that, on our build server, reports the
I am using WIX for my application's setup project, I have to install device
I have a project under python and have a setup.py script that build my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.