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. C#
  4. Create a silent setup with Visual Studio 2010

Create a silent setup with Visual Studio 2010

Scheduled Pinned Locked Moved C#
questioncsharpvisual-studiosysadminwindows-admin
3 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.
  • E Offline
    E Offline
    Eduard Keilholz
    wrote on last edited by
    #1

    Hey guys, I've created an application which I want to install on a server (Windows Server 2008 R2). I want the setup to run unattended and since the setup is being started from a Windows Service I cannot have any GUI components. Thus in fact, I want a silent setup. The MSI is here already. Executing is from a command prompt with the /? parameter, gives me a dialog window with all possible parameters. If I choose the /silent parameter, the software is not installed. If I choose the /passive parameter (unattended) Windows Server 2008 shows me a security box 'Do you want to allow the following program from an unknown publisher to make changed to this computer'. How can I create a MSI file which fully supports silent installs on Windows Server 2008 (and Windows 7) ? Thanks guys, Eduard

    .: I love it when a plan comes together :. http://www.zonderpunt.nl

    A 1 Reply Last reply
    0
    • E Eduard Keilholz

      Hey guys, I've created an application which I want to install on a server (Windows Server 2008 R2). I want the setup to run unattended and since the setup is being started from a Windows Service I cannot have any GUI components. Thus in fact, I want a silent setup. The MSI is here already. Executing is from a command prompt with the /? parameter, gives me a dialog window with all possible parameters. If I choose the /silent parameter, the software is not installed. If I choose the /passive parameter (unattended) Windows Server 2008 shows me a security box 'Do you want to allow the following program from an unknown publisher to make changed to this computer'. How can I create a MSI file which fully supports silent installs on Windows Server 2008 (and Windows 7) ? Thanks guys, Eduard

      .: I love it when a plan comes together :. http://www.zonderpunt.nl

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      The command line options for MsiExec have a silent /q option (no UI) - http://support.microsoft.com/kb/314881[^]

      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

      E 1 Reply Last reply
      0
      • A Abhinav S

        The command line options for MsiExec have a silent /q option (no UI) - http://support.microsoft.com/kb/314881[^]

        The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

        E Offline
        E Offline
        Eduard Keilholz
        wrote on last edited by
        #3

        Yes I Know that, as you read my question, the problem is that when the setup is running in 'silent mode', my software is not installed. It seems you have to have some kind of GUI in order to accept the UAC message. My question is if there is any way to get the setup going with automatic acceptance of the UAC message or something. I understand there is no way to get rid of the UAC message, but maybe there is some kind of parameter accepting the UAC message (/q /uac=accept or something)...

        .: I love it when a plan comes together :. http://www.zonderpunt.nl

        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