Learn how to a build a cloud-first strategyRegister Now


App install via Powershell

Posted on 2012-08-17
Medium Priority
Last Modified: 2012-08-20

I want to install an app on the D drive of some of our servers.
The app is in a folder named APPFILES, and the is setup.exe
During the install, the user is prompted 4 times:
1. Confirm installation (press YES)
2. Enter name of server (Server1, Server2 etc, this can be taken from a central text file)
3. Enter name of AD domain (domain.co.uk)
4. Enter name of DB server (db1.domain.co.uk)
At the moment, we are running these manually, but is there anyway to automate all this using Powershell? The OS is Windows 2008 Server
Question by:neil4933
1 Comment

Accepted Solution

slidingfox earned 2000 total points
ID: 38307318
try running the setup executable with a /? switch. This should bring up help and should show you if there is a way to perform the installation silently. If there is, you'll probably have to enter the settings into an INI or XML file, or as switches after setup.exe.

If there is no way to perform a silent installation, you should take a look at AutoIt.


It's a fairly easy to learn scripting language where you can control the mouse and keyboard. You'll definitely be able to automate the installation with that.

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Loops Section Overview
Screencast - Getting to Know the Pipeline

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question