02-23-2012, 01:55 PM
Hello,
I am thinking I could use this tool to create app installs for my users at work. So I'm attempting to install 7zip from a network drive. I can get it to start and do the install but when it gets to the "finish" screen the output window tells me Error in Install 7zip: cannot set focus. I know I have to be doing something wrong but I can't figure it out. Can someone point me in the right direction? Here is a sample of my code:
run "\\blah\blah\setpu.exe
act id(1 win("7-Zip 4.57 Setup " "#32770"))
key Y
act id(1 win("7-Zip 4.57 Setup " "#32770"))
act child(1 "&Finish" "Button" win("7-Zip 4.57 Setup " "#32770") 0x200)
key Y
This is on a windows 7 machine. Also, does anyone know how I can get rid of the UAC question at the beginning of the install?
Thanks!
Angie
I am thinking I could use this tool to create app installs for my users at work. So I'm attempting to install 7zip from a network drive. I can get it to start and do the install but when it gets to the "finish" screen the output window tells me Error in Install 7zip: cannot set focus. I know I have to be doing something wrong but I can't figure it out. Can someone point me in the right direction? Here is a sample of my code:
run "\\blah\blah\setpu.exe
act id(1 win("7-Zip 4.57 Setup " "#32770"))
key Y
act id(1 win("7-Zip 4.57 Setup " "#32770"))
act child(1 "&Finish" "Button" win("7-Zip 4.57 Setup " "#32770") 0x200)
key Y
This is on a windows 7 machine. Also, does anyone know how I can get rid of the UAC question at the beginning of the install?
Thanks!
Angie