goodbyeplanet Posted August 15, 2011 Share Posted August 15, 2011 i am here doing a simple installation of 7zip. here is my simply code: run("E:\software\7zip.exe") ;choose Install location winwaitactive("7-Zip 9.20 Setup") sleep(100) ;final part finish WinActive("7-Zip 9.20 Setup","finish") send ("!f") what annoys me with the code above is that on some computers it works fine but on others it doesnt even click the finish button but remains hanging. I understand using send is not stable so i have been trying control commands but somehow they are not working. here is what i did with the control commands: run("E:\software\7zip.exe") ;choose Install location winwaitactive("7-Zip 9.20 Setup") ControlClick("7-Zip 9.20 Setup", "Choose Install Location", "&Install >") sleep(100) WinActive("7-Zip 9.20 Setup") ControlClick("7-Zip 9.20 Setup", "Choose Install Location", "&Finish >") The above is even worse because it doesnt work a bit. Even after revisiting the help file and trying the coordinates I seem to fail dismally as the mouse begins to click every where on my monitor. May anyone help me in doing this script with the control commands that are said to be more stable or even better. thank you. Link to comment Share on other sites More sharing options...
PowerCat Posted August 15, 2011 Share Posted August 15, 2011 try 7zip.exe /S for silent install Link to comment Share on other sites More sharing options...
goodbyeplanet Posted August 15, 2011 Author Share Posted August 15, 2011 thank you that works but since i have 15 different applications does it mean i will have to be doing this for all of them. Link to comment Share on other sites More sharing options...
PowerCat Posted August 15, 2011 Share Posted August 15, 2011 thank you that works but since i have 15 different applications does it mean i will have to be doing this for all of them.Well if the manufacturer has included "silent install" capability to its software, you should take advantage of it as much as you can!! Link to comment Share on other sites More sharing options...
goodbyeplanet Posted August 15, 2011 Author Share Posted August 15, 2011 Well if the manufacturer has included "silent install" capability to its software, you should take advantage of it as much as you can!!thank you powercat for your advice. i have google for silent installs on each application I have and surprisingly it seems to work all on a sinle line instead of a series of lines i had. yes i am happy. really appreciate your help. Link to comment Share on other sites More sharing options...
Bert Posted August 15, 2011 Share Posted August 15, 2011 I may have something that may help you. I have a "app loader" that can load your programs in series or in any grouping you choose. I can PM you with the info if you like. Others have found it very helpful. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now