Jump to content
Sign in to follow this  
goss34

Urgent Help Need Please (Press close to prompt)

Recommended Posts

goss34

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

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

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

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

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.