02-23-2012, 02:45 PM
Maybe the button is disabled at that time. Let the macro wait until enabled.
Or try to replace this:
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
to this:
but id(1 win("7-Zip 4.57 Setup " "#32770"))
---------
Or try to replace this:
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
to this:
but id(1 win("7-Zip 4.57 Setup " "#32770"))
---------
Quote:how I can get rid of the UAC question at the beginning of the install?run "\\blah\blah\setpu.exe" "" "" "" 0x10000
