WyUpdate with VSTO

I built an automated Excel 2007 Document in C# using Visual Studio Tools for Office 2008. Can I use WyUpdate to update my application? I do not have a Main form with a menu, I have an Excel Spreadsheet with an Office Ribbon with all my buttons on. Will wyUpdate be able to close the Excel spreadsheet to uodate it and reopen it?

I built an automated Excel 2007 Document in C# using Visual Studio Tools for Office 2008. Can I use WyUpdate to update my application? I do not have a Main form with a menu, I have an Excel Spreadsheet with an Office Ribbon with all my buttons on. Will wyUpdate be able to close the Excel spreadsheet to uodate it and reopen it?

wyUpdate will be able to update your add-in, however it won't be able to automatically prompt the user to close Excel unless you install wyUpdate to the root Excel directory.

If you don't install wyUpdate to the root Excel directory, and just include it with your add-in .dll files, then wyUpdate will still be able to check and update your add-in, but it will require that the user manually shut down Excel before it can update your files.

I should also note that we're working to seriously improve this behavior. In the near future wyUpdate will have the ability to update "in-use" files.

Hey Guys,

i have some problems running a valid update with the wyUpdater. Ive created a Outlook VSTO, which i need to update on my customers mashine. Everything works fine, but the updater is just not updating the files.

What im doing:- Embedding the wyUpdate.exe and the client.wyc- at the Addin i copy the files from the embedded resources to the user directory- i set the location of the updater in the code behind to the valid path- after checking the update, my application prompts for a new update- the update is beeing downloaded and the setup says its all up to date after a outlook restart

As is said, it all looks fine, but after the update the file havent changed? Its still the old app running?

Any idea whats wrong? I would appreciate it if you could help me out 🙂

As is said, it all looks fine, but after the update the file havent changed? Its still the old app running?

If the update succeeded then the problem has nothing to do with the old app still running. It sounds like wyUpdate succeeded.

In wyBuild: where did you put your files? Did you put them in "Your program's folder"? If not, do that.

Also, where did you put wyUpdate.exe? That's where "Your program's folder" maps to. So if you put "YourApp.dll" in "Your program's folder" in wyBuild, and you put wyUpdate.exe & client.wyc in "C:\Program Files (x86)\Blah\Office", then wyUpdate will put the file in "C:\Program Files (x86)\Blah\Office"

Make sense?

Hey Sam,

yea makes sense, so i need to put the wyUpdate.exe in the folder where the .dll is running? Hmmm.. hard to figure out, that has to be the outlook app Pool. Ill check it out 🙂

No ive located my appFiles...somewhere deep in Outlooks weird caching folders but still stuck on the same problem.. The updater is not found on runtime because outlook is splitting all the app files in own dictionaries..or anywhere else. Any Idea?

I don't have any experience with Outlook's plugin model. You just have to tell outlook to stop caching your files and/or clear the cache upon update.