EXE installation arguments

Welcome Forums DSC (Desired State Configuration) EXE installation arguments

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
3 months, 1 week ago.

  • Author
    Posts
  • #114304

    Participant
    Points: 14
    Rank: Member

    Hello

    i need to install windows .NET using an exe (NDP472-KB4054530-x86-x64-AllOS-ENU)

    would the correct arguments to suppress all prompts be Arguments       = "/passive"

     

    thanks

  • #114333

    Participant
    Points: 514
    Helping Hand
    Rank: Major Contributor

    No, MSI, exe, is provide by those installers not by PS. So, you have to use their switches in the argumentlist of an install either directly or using Start-Process SomeCommandExe – ArgumentList ListNeeded. Most msi, exe have a /? switch that will show all options.

    https://blogs.msdn.microsoft.com/astebner/2010/05/12/silent-install-repair-and-uninstall-command-lines-for-the-net-framework-4

    Other example:

    Start-Process -FilePath "C:\temp\dotnetfx45_full_x86_x64.exe" -ArgumentList "/q /norestart" -Wait
    

The topic ‘EXE installation arguments’ is closed to new replies.