RBCC Posted October 6, 2007 Share Posted October 6, 2007 I have created a script using scite and it works beautifully, however it has screens that the application uses during its installation. How do I take them out before I compile the script. Also will it still work? John Link to comment Share on other sites More sharing options...
JustinReno Posted October 6, 2007 Share Posted October 6, 2007 Can you show us your source code, Or if you don't want, some of it? Link to comment Share on other sites More sharing options...
RBCC Posted October 6, 2007 Author Share Posted October 6, 2007 Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) Run('H:\WinXP\corel photo paint 11\CorelDraw 11\coreldraw11\Setup.exe') WinWait("Program Manager","FolderView") If Not WinActive("Program Manager","FolderView") Then WinActivate("Program Manager","FolderView") WinWaitActive("Program Manager","FolderView") MouseMove(390,591) MouseDown("left") MouseUp("left") WinWait("Corel Graphics Suite 11","The Installation Wiz") If Not WinActive("Corel Graphics Suite 11","The Installation Wiz") Then WinActivate("Corel Graphics Suite 11","The Installation Wiz") WinWaitActive("Corel Graphics Suite 11","The Installation Wiz") MouseMove(358,356) MouseDown("left") MouseMove(358,357) MouseUp("left") WinWait("Corel Graphics Suite 11","Do you accept all th") If Not WinActive("Corel Graphics Suite 11","Do you accept all th") Then WinActivate("Corel Graphics Suite 11","Do you accept all th") WinWaitActive("Corel Graphics Suite 11","Do you accept all th") Link to comment Share on other sites More sharing options...
HeffeD Posted October 6, 2007 Share Posted October 6, 2007 Are you saying you want to remove the screens in the applications installer? That is a function of the installer, not AutoIt. Those are going to pop up regardless. That is the installer doing it's work. Link to comment Share on other sites More sharing options...
JustinReno Posted October 6, 2007 Share Posted October 6, 2007 Usually you can tell the installer to take the images out. What installer software are you useing? Link to comment Share on other sites More sharing options...
RBCC Posted October 6, 2007 Author Share Posted October 6, 2007 I am the screens like "do you accept..." Windows Installer Link to comment Share on other sites More sharing options...
HeffeD Posted October 6, 2007 Share Posted October 6, 2007 That's what I thought... If you are installing an application, those windows ARE going to pop up regardless of what you tell AutoIt to do. It's the way the installer was written and you can't change that fact with AutoIt. You can have AutoIt speed things up immensely by clicking the various buttons and entering relevant data for you, but the installer is going to step through all of it's necessary installation rigmarole as dictated by the programmer. So the best you can do is be momentarily distracted by numerous windows rapidly opening and closing as AutoIt does it's magic. Link to comment Share on other sites More sharing options...
DW1 Posted October 6, 2007 Share Posted October 6, 2007 If its an msi try using the /s switch AutoIt3 Online Help 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