I've got the following problem:
I want to uninstall and reinstall some software (Symantec EPP), because the automatic update does not work.
In our company we have about 500 clients, so I'd thought that it would be easier to write an automation script.
Unfortunately the silent uninstall is not working, so I have to use the SendKeys-method.
I wrote that Script and it's actually working, but just on some clients. For example, if I run the script on my machine, it sends the virtual keystrokes to the program, if I try to run it on another client, it is actually sending the keys (tested with notepad), but not to the program...
And yes, the window is in the foreground.
My guess is that there might be a problem in the registry - probably it is not "allowed" to send keystrokes to a specific window, but then it should not work in notepad either, right?
Does anybody have an idea, why it is sometimes working and sometimes not?