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

  • Home
  • SEARCH
  • 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 6889829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:12:19+00:00 2026-05-27T06:12:19+00:00

I hate to ask this question as I am aware that there are plenty

  • 0

I hate to ask this question as I am aware that there are plenty of questions about it already, some coming very close to what I am wanting to do:

  • Reboot system from Setup project
  • prompt to reboot computer after installation completed

The first one seems to suggest that it is impossible without external software but the second question gives an answer that seems exactly what I want. But I don’t really understand what it’s referring to when it’s suggested to set REBOOT=Force.

I read through the linked articles about properties, I don’t know if it’s just the way MSDN is written but I feel none the wiser about how I’m supposed to use them in a setup project. I’m still fairly new to C# in general and Setup Projects specifically.

Outside of properties it seems like the next easiest thing to do with the least external dependencies is to create a little C# application, which does nothing but shutdown the system. Then add a Custom Action to the Commit section to call this application. This seems like an overkill to me and does that mean that the useless application has to be part of the installation and left on the users machine?

I’ve found plenty of stuff about using WIX or Orca but I have my reasons for not using them (at the very least because I have to write Business Cases for any software used). I am not even trying to create a very complicated installer, it is just a few new EXEs being copied over and then restarting to be sure that the new EXE is used at startup. Though I am now thinking that it may not be worth the hassle of restarting and just call the new exe as a custom action.

  • 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-05-27T06:12:19+00:00Added an answer on May 27, 2026 at 6:12 am

    REBOOT is a predefined Windows Installer property:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa371101(v=vs.85).aspx

    Installer properties are stored in Property table from the MSI database. So you can simply add a new row in Property table with this information:

    • Property – REBOOT
    • Value – Force

    You can read more about installer properties here:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa372432(v=vs.85).aspx?ppud=4

    Please note that Visual Studio setup projects do not support setting property values. So you can either edit the MSI with Orca to add the new row or switch to a different setup authoring tool.

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

Sidebar

Related Questions

I hate to ask this question on this forum, but I'm having a lot
I hate ask stupid questions like this, but why doesn't my code do what
I hate that google can not search for symbols. I saw this in some
Okay I hate to ask this question ... but here goes. I am writing
I hate to ask this here, but many people on stackoverflow have talked about
I hate giving out my code like this but I'm getting some errors about
I really hate to ask this question, because it seems like it's been asked
I hate that I have to ask a homework question on here, but I
I hate to ask this, but I'm in a time crunch and I'm hoping
I hate to ask the same question others have asked in Stackoverflow, but I

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.