Why are you changing the filenames of the wyBuild installation? wyUpdate is called "InstantUpdate.exe" in the wyBuild installation for backwards compatibility reasons. However, when you click "Build wyUpdate" it copies it as "wyUpdate.exe".
Suddenly wyUpdate 2.6.10 is crashing when I run automaticUpdater, but only on our dev box (x64 Windows 7).
I have:
Tried running wyUpdate.exe directly from the program folder. That works fine.Emptied the cache.Force checked for updates.Rebooted.
I can copy all the files on our dev box to one of the other machines and everything works fine. I'm stumped.
Incidentally, when I download and run the latest installer, it installs InstantUpdate.exe instead of wyUpdate.exe. I can change the name OK and put this in my program folder, but wyBuild won't build updates unless it's called InstantUpdate.exe
Why are you changing the filenames of the wyBuild installation? wyUpdate is called "InstantUpdate.exe" in the wyBuild installation for backwards compatibility reasons. However, when you click "Build wyUpdate" it copies it as "wyUpdate.exe".
Sam-
Bad assumption on my part.
However, I completely uninstalled and reinstalled wyBuild, and built new updates, but the problem still persists...
You're using wyUpdate from the AutomaticUpdater, correct? What's the crash you're getting? Is wyUpdate.exe in the same folder as the .exe file?
You're using wyUpdate from the AutomaticUpdater, correct?
Yes.
What's the crash you're getting?
Shortly after I launch Automatic Updater from the menuItem on my form, I will get a 'wyUpdate stopped working' windows dialog box. After I close this, a red 'X' shows in the control, and clicking on this says 'wyUpdate ended before the current update step could be completed'
Is wyUpdate.exe in the same folder as the .exe file?
Yes.
Ok, so it's not crashing. There's a configuration error. If I were to guess, I would say the wyUpdate location isn't being read correctly. Try setting "wyUpdateLocation" property with the absolute path of wyUpdate.exe.
Also, is the client.wyc file in the same folder as wyUpdate.exe? It should be.
I get the same result. client.wyc is in the same folder as wyUpdate.
I even replaced the program folder for my app with one from one of the other workstations, but I get the same result. It works as expected on all the other workstations on the LAN, just not this one. The only difference between the machines is that this one has .NET 4.0 extended framework on it for VS 2010, but otherwise they're identical...
What version of wyUpdate.exe are you running? What version of the AutomaticUpdater are you using?
Are you adding the AutomaticUpdater via the constructor of the app? If not this can cause some problems.
wyUpdate 2.6.10, Automatic Updater 2.6.10
automaticUpdater is added in consructor.
And it only happens on this one box. On all the others it works just fine...
Try clearing the cache again. Delete all files and folders in the "%userprofile%\wc" also delete all files and folders in the "%appdata%\wyUpdate AU" folder.
Try running your app again.
Are there other instances of your app running? Check your task manager. Also check for other instances of wyUpdate running.
Sam-
I cleared both caches. Also on a hunch, I completely uninstalled my app's folder and reinstalled from scratch. Now everything works again.
Thank you for your patience and persistence on this, your support is top notch.