locked
Software automation using Powershell RRS feed

  • Question

  • Hi there,

    I was wondering what is your take on automating installs via powershell?  I am aware of send-keys using libraries but is that is dependent on delays. I would like to know if there is a way to check for a programs state as the system progresses between Next buttons and checkboxes.  I think .net may be able to be used but not familiar with it at this point.

    Thanks

    • Moved by Bill_Stewart Monday, December 30, 2013 8:11 PM Question outside reasonable forum scope
    Monday, September 16, 2013 9:37 PM

All replies

  • SendKeys cannot reliably automate an install.  An install package must be designed for "unattended" install or it will fail.  Most packages today support switches like /q and /s to cause a silent install.  You must check with the vendor of the package to find out how to do a silent install.  It is not a scripting issue and cannot normally be solved via a script.

    Microsoft provides MSI (MS Installer) technology which provide good support for silent installs.


    ¯\_(ツ)_/¯

    Monday, September 16, 2013 10:06 PM