Home
General
Off-Topic
Auto silent install .exe file?
ally_uk
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.
Find more posts tagged with
Comments
shochan
Have you tried PS Exec?
https://ss64.com/nt/psexec.html
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
ally_uk
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
shimasensei
+1 for PSExec!
ally_uk
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
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of