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

    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.
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
    Reply With Quote Quote  

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

    Certifications
    A+, Network+, i-Net+, Novell CNA 5.0, MCP 70-210, Server+, Security+, Cloud+
    #2
    2018 goals -> PenTest+ Beta (awaiting results), CEH (Oct), Linux+ 103 (Dec)
    2019 goals -> Linux+ 104 (Feb)
    Reply With Quote Quote  

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

    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
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
    Reply With Quote Quote  

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

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

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

    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
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks