Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Discussions
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
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
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
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS