using wyUpdate to perform update

Hi,

I have a C# .Net 4.0 WPF program that we are working with.

I worked through the examples and am able to use the AutomaticUpdater to successfully update our program. This all works fine, except the messages displayed by the AutomaticUpdater are a bit unclear at times. I've tried the different updatetypes with similar results and we don't see an easy way to change messages?

So, now I was trying to implement the same functionality but use the wyUpdate program to control the steps so that I could tailor the UI to fit in with the rest of the program. Here's where I'm running into issues I'm not sure how to solve:

1. I call wyUpdate /quickcheck /noerr /justcheck to determine if an update exists.2. If an update exists, I call wyUpdate /skipinfo to perform the update.

Two issues arise. 1. I'm prompted to close the program. Makes sense, but how do I do this together with the wyUpdate call from step 2 above so that this prompt does not appear?2. If I close the program as prompted, the update works, but the program is not restarted. I understand I haven't told it to restart at this point, but can this be done?

Any guidance would be greatly appreciated. Thanks in advance,

Mike

This all works fine, except the messages displayed by the AutomaticUpdater are a bit unclear at times. I've tried the different updatetypes with similar results and we don't see an easy way to change messages?

You mean the text show in the AutomaticUpdater? See: Translating the AutomaticUpdater control.

1. I'm prompted to close the program. Makes sense, but how do I do this together with the wyUpdate call from step 2 above so that this prompt does not appear?

You close your app from within your app.

2. If I close the program as prompted, the update works, but the program is not restarted. I understand I haven't told it to restart at this point, but can this be done?

Yes, a few different ways: