d4vr0s Posted September 23, 2006 Share Posted September 23, 2006 (edited) This might have been asked before, but couldn't find anything on it.I'm trying to automate the install of nod32, the problem I'm having is when controlclick is used it's clicking on the finish button (i think) instead of the 'next' button and the setup window closes.AU3info claims the control is hidden, and shows the text as 'Finish'(Click for full size)The controlid remains constant throughout the install process.If I try to use the controlid method, the setup window closes instead of moving to the next option.Using the classname also just closes the setup.I know it can be done by sending 'enter' but would rather not blindly send that key and would like to be able to do other things while the install is running.Not sure how to proceed. Edited September 23, 2006 by d4vr0s Link to comment Share on other sites More sharing options...
MHz Posted September 23, 2006 Share Posted September 23, 2006 Yeah, Au3Info is showing the wrong control for you. Have a look at using Find Classes By Text by LxP. That should capture the controlid for the next button. Link to comment Share on other sites More sharing options...
d4vr0s Posted September 23, 2006 Author Share Posted September 23, 2006 Thank you very much, that did the trick. Link to comment Share on other sites More sharing options...
MadBoy Posted September 23, 2006 Share Posted September 23, 2006 (edited) Thank you very much, that did the trick. Maybe instead using graphical automation, try using some switchesNOD32 Antivirus 2.5xUnpack the original distribution. There's a file setup.exe there...setup.exe /silentmode /cfg=myconfig.cfg /instmfc /noreboot...where myconfig.cfg - is your config made with nod32's Configuration EditororNOD32Switch: /silentmodeFullsyntax: ndntenst.exe /silentmodeExtraction Needed: NoIf it works should be quicker and more pleasant to user Edited September 23, 2006 by MadBoy My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
d4vr0s Posted September 23, 2006 Author Share Posted September 23, 2006 (edited) Thanks .. but ... I'm already doing the /cfg=config.xml That can be done without even unpacking the ndntenst.exe There are still a few things that I'd prefer to do via an install script. Also, my script looks for license info in the clipboard or for a nod32.txt file and enters that automatically. Not only that, but I can start the amon driver, nod32krn and nod32kui without rebooting. Edited September 23, 2006 by d4vr0s 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