Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. can a msi installer in silent mode running from service have a success prompt to a user?

can a msi installer in silent mode running from service have a success prompt to a user?

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    neodeaths
    wrote on last edited by
    #1

    hi, i am running a service in a window 7 computer and using it to run a msi installer in silent mode. the problem is that i want it to show a prompt to the user when the installation succeeded. is this possible?

    L 1 Reply Last reply
    0
    • N neodeaths

      hi, i am running a service in a window 7 computer and using it to run a msi installer in silent mode. the problem is that i want it to show a prompt to the user when the installation succeeded. is this possible?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      neodeaths wrote:

      is this possible?

      Easiest way to do so is by writing a normal windows-application that checks for a "done" flag. You can set the flag from the service, in a database of your choice - or an XML file or similar. Have the application check the file and display a status if required. Services do not run as user-applications; they're started before a user logs in, and may be running when there's no user to view the dialogs. A small application that starts in the normal user-space would be the easiest way to communicate.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups