Jump to content

if winexist.... sometimes it does exists and sometimes it doesn't


frankhack1
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...