Including wyUpdate.exe

Hi,

I'm having a bit of a problem that I'm sure has been addressed before because I can remember reading something about it. I just can't find it. Here's what I've done:- In the original installation, I include wyUpdate.exe and client.wyc. No problems.- I have release several updates that do not include either wyUpdate.exe nor client.wyc.- The app uses the AutomaticUpdater component.- I decided to put a Start Menu shortcut to wyUpdate.exe so that people could launch it manually (since a few people occasionally had problems with the AutomaticUpdater component. So, I just did an update that included wyUpdate.exe and a Start Menu shortcut to it. It tested out fine on my test machines.- We've had major update issues - it seems primarily with XP where it cannot complete the update since wyUpdate.exe is already in use.- To solve the immediate problem, I would happily do another release that does not include wyUpdate.exe nor the shortcut, but I believe this will remove wyUpdate.exe from people's systems.

Any recommendations?

-Brent

- We've had major update issues - it seems primarily with XP where it cannot complete the update since wyUpdate.exe is already in use.

When wyUpdate.exe is already running (no matter what version of Windows), the new instance of wyUpdate.exe will fail to start. The AutomaticUpdater uses wyUpdate.exe to do all the update checking, download, extracting, etc.

Note to anyone else reading this: This single instance limitation is per-product. That is, you can have 2+ products running wyUpdate.exe perfectly fine.

- To solve the immediate problem, I would happily do another release that does not include wyUpdate.exe nor the shortcut, but I believe this will remove wyUpdate.exe from people's systems.

Well, you could remove the shortcut without a problem. Though, you're right about remove wyUpdate.exe, though. If you remove it, the update will fail (because wyUpdate.exe can't remove itself).

The truth is, wyBuild should filter out all inclusions of wyUpdate.exe, because wyUpdate ends up ignoring the included wyUpdate.exe files anyway.

We'll fix this in the next wyBuild release coming next week.

But for now just remove the shortcut and leave the reference to wyUpdate.exe.

Hi,

Thanks for the reply. Funny thing is it actually does work for most people. As I think about it, it shouldn't work for the reasons you mentioned, but on all non-XP machines we've tested it on there are no problems. We've had several failures on XP machines though. I have no idea why this would be. Most people just ran through the update without so much as a hiccup though.

-Brent