Jump to content

Recommended Posts

Posted

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

Posted

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
Posted

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

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...