App install via Powershell

Posted on 2012-08-17
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 (
4. Enter name of DB server (
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
    LVL 6

    Accepted Solution

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
    I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now