goss34 1 Posted August 19, 2011 Hi Guys, I really need some help ASAP - I am trying to install some juniper software using the silent parameter - "\\server\share\setup.exe" /S However when this is ran from a logon script it installs fine but prompts a message at the end asking you to click the close button. The window title is "Juniper Networks Host Checker Setup: Completed" The button i need to click just says "Close" Can anyone help me know this script up quickly? I am trying to meet a project deadline before Monday. Thank you, Dan Share this post Link to post Share on other sites
sebgg 1 Posted August 19, 2011 winwaitactive("Juniper Networks Host Checker Setup: Completed") send("{enter}") might work as a simple solution. GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size Share this post Link to post Share on other sites
goss34 1 Posted August 19, 2011 winwaitactive("Juniper Networks Host Checker Setup: Completed") send("{enter}") might work as a simple solution. So it would be as simple as this: Run('"\\Server1\secure$\Repository\Software\JuniperHostChecker\StandAloneHttpNarInstall.exe" /S', "C:\Temp") winwaitactive("Juniper Networks Host Checker Setup: Completed") send("{enter}") So that will run the install with the /S command then the script will wait for the window to pop up then send an enter response then exit? Thanks Dan Share this post Link to post Share on other sites
sebgg 1 Posted August 19, 2011 well thats what I would hope yeah but I'd test it, also may need a small sleep delay between the winwait active and the send command. sebs GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size Share this post Link to post Share on other sites