Jump to content

Sms Pushes


Recommended Posts

I've been working on a script for an isntaller to work with sms. At first I was having trouble with it running at all and did some searching. I found a post or two online stating that it needs to have the interact with user option checked for the sms package and i had to remove the runasset command since it was interferring with sms/windows security. what i'm running in to now is i need to hide the windows from the instal. I tried placing the @sw_hide command in for the exe file but it error out saying it's an invalid command or some sort. Here's the current code that does work.

run ("aejavasetup.exe")

WinWaitActive("Open File - Security Warning")

send("!r")

WinWaitActive("Open File - Security Warning")

send("!R")

sleep(111200)

send("{ENTER}")

sleep (1400)

Send("{ENTER}")

sleep (39200)

send ("{ENTER}")

i had to use the sleep command since autoit doesn't see anything in the install window other then the title.

This is what i have with the @sw_hide command

run ("aejavasetup.exe","",@sw_hide)

WinWaitActive("Open File - Security Warning","",@sw_hide)

send("!r")

WinWaitActive("Open File - Security Warning","",@sw_hide)

send("!R")

Winwaitactive("InstallAnywhere","",@sw_hide")

;next window that opens does not have a title but has a class sunawtframe

WinWaitActive("ArcExplorer Java Edition","",@SW_HIDE)

sleep(111200)

send("{ENTER}")

sleep (1400)

Send("{ENTER}")

sleep (39200)

send ("{ENTER}")

Can i mark the sms install to be hidden?

Any help would be appreciative. If more information is needed let me know.

Link to comment
Share on other sites

I've been working on a script for an isntaller to work with sms. At first I was having trouble with it running at all and did some searching. I found a post or two online stating that it needs to have the interact with user option checked for the sms package and i had to remove the runasset command since it was interferring with sms/windows security. what i'm running in to now is i need to hide the windows from the instal. I tried placing the @sw_hide command in for the exe file but it error out saying it's an invalid command or some sort. Here's the current code that does work.

run ("aejavasetup.exe")

WinWaitActive("Open File - Security Warning")

send("!r")

WinWaitActive("Open File - Security Warning")

send("!R")

sleep(111200)

send("{ENTER}")

sleep (1400)

Send("{ENTER}")

sleep (39200)

send ("{ENTER}")

i had to use the sleep command since autoit doesn't see anything in the install window other then the title.

Run your process whilst running SciTEC/Tools/AutoIT3Recorder and see what code it produces.

Ant..

This is what i have with the @sw_hide command

run ("aejavasetup.exe","",@sw_hide)

WinWaitActive("Open File - Security Warning","",@sw_hide)

send("!r")

WinWaitActive("Open File - Security Warning","",@sw_hide)

send("!R")

Winwaitactive("InstallAnywhere","",@sw_hide")

;next window that opens does not have a title but has a class sunawtframe

WinWaitActive("ArcExplorer Java Edition","",@SW_HIDE)

sleep(111200)

send("{ENTER}")

sleep (1400)

Send("{ENTER}")

sleep (39200)

send ("{ENTER}")

Can i mark the sms install to be hidden?

Any help would be appreciative. If more information is needed let me know.

Link to comment
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
 Share

  • Recently Browsing   0 members

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