+ Reply to Thread
Results 1 to 5 of 5
  1. Senior Member
    Join Date
    Jan 2006
    Location
    Souhampton Uk
    Posts
    1,110

    Certifications
    Currently Studying for MCDST
    #1

    Default Auto silent install .exe file?

    Hi guys I am trying to install the following application silently Office 2010 starter edition.

    I have tried various power shell commands, But I cannot get the application to run silently I am not sure of the correct switches.
    Reply With Quote Quote  

  2. SS -->
  3. Senior Member shochan's Avatar
    Join Date
    Sep 2016
    Location
    AR
    Posts
    438

    Certifications
    A+, Network+, i-Net+, Server+, Security+, MCP 70-210, Novell CNA 5.0
    #2
    2017 -> Chillaxing & (reading C|EH - Matt Walker)
    2018 -> CCNA CyberOps (July Cohort)
    Reply With Quote Quote  

  4. Senior Member
    Join Date
    Jan 2006
    Location
    Souhampton Uk
    Posts
    1,110

    Certifications
    Currently Studying for MCDST
    #3
    This is a script currently working on

    # This starts the office install which doesnt need to be a part of the other command
    Start-Process -FilePath "C:\Office"

    # This picks how long the script will wait before starting to install Ninite
    timeout 5

    # This starts Ninite and waits for it to be closed to carry on the script
    $p = New-Object System.Diagnostics.Process
    $pinfo = New-Object System.Diagnostics.ProcessStartInfo("C:\Ninite.exe ","");
    $p.StartInfo = $pinfo;
    $p.Start();
    $p.WaitForExit();
    Write-Host "end of ps1" + (Get-Date).DateTime

    Remove-Item c:\Ninite.exe
    # This Restarts the machine when the script is finished



    The script launches during windows startup installs ninite apps and office and then removes files and reboots once install is complete
    Reply With Quote Quote  

  5. Senior Member shimasensei's Avatar
    Join Date
    Mar 2017
    Location
    Far East
    Posts
    223

    Certifications
    CISSP, CCNP:RS, CCNA:Sec, CCNA:RS, CNSS 4011, Security+, A+, VCA6-DCV, others
    #4
    +1 for PSExec!
    Reply With Quote Quote  

  6. Senior Member
    Join Date
    Jan 2006
    Location
    Souhampton Uk
    Posts
    1,110

    Certifications
    Currently Studying for MCDST
    #5
    Got some progress guys, The current script kicks in Once Windows has been installed, It automatically installs Office Starter and Ninite applications and then cleans up the install files once installation is complete.

    Combination of a batch script, Powershell and AutoIT
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks