Results 1 to 2 of 2

Thread: Make installer that can run silently

  1. #1

    Thread Starter
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Make installer that can run silently

    Hi Guys,

    I've got a .NET 2.0 project that I need to deploy to several hundred PCs at work - I was planning to just use 'xcopy' style deployment, i.e just copying the EXE to each PC, however I now need to have a few registry keys created and a couple of other things that mean using an installer would be the ideal way to do things. So ideally I would like to deploy this via group policy to all of the machines but to be able to do that the install needs to be able to run silently without any user interaction being required... does anyone know if/how I can achieve this using the Visual Studio setup projects?

    I know when you build a setup project you get an MSI file which contains the core program parts and a Setup.exe that is basically just a prerequisite checker/installer and I think its quite easy to run the MSI silently but the problem is I need to run the prerequisite installer as well so that it installs .NET framework 2.0 if it is not already on the users machine..

    Thanks
    Chris
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Make installer that can run silently

    See if you can integrate it in your app...

    http://www.linglom.com/2009/05/19/ho...ng-batch-file/

    As far as msi is concerned, If i remember correctly it accepts /q for quiet installs.

    something like

    Code:
    msiexec /p Chris128setup.msi /q
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

Posting Permissions

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



Click Here to Expand Forum to Full Width