frankhack1 Posted September 19, 2011 Share Posted September 19, 2011 I install some programs to my clients and sometimes it happens that this clients had a previous version of the program I'll install to them, so during the installation it pop-ups a windows saying that "The directory already exists" and if I do it in a new client computer where there is no previous version of the program I install, there is no "The directory already exists" pop-up. For example the "eMule". So I'd made a script to make an unnnatended installation, but the freaking pop-up stops the macros, so I tried with the command: If WinExists("The directory already exist") Then ControlClick("The directory already exist", "", "OK") but is not working for me... I need a global solution that can work in computers where there is a previous version of the program I will install and in computer where there is no previous version.... Anyone? Thanks a lot! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted September 19, 2011 Share Posted September 19, 2011 Use the AutoIt Window Info tool to get the title of that popup window. The "The Directory.." part is just the text of that window, and it is not enough to use just that. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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