Click Once Application install process
We have a click once application, that I have recently converted to be a TestedApp. We are hitting issues when we are installing a newer version.
I am calling TestedApps.App.Run(), and I can see the application start, but when there is a newer version, we will timeout waiting for the process to start. We have code to progress through the installation dialogs, but when the exe has not started in the timeout period, we will get an error message stating that the process did not start.
Is there anyway to suppress the error message that comes out.
You can either make your time out longer or you can make a little loop that looks for the process and if it doesn't find it, waits a bit and goes again, maybe with a message to the log. That gives you more control over the wait and what's logged, but you still don't want it to wait forever.
There's also WaitChild or WaitProperty or something similar.