Friday, August 14, 2009

Adding custom Prerequisites to Visual Studio 2010

While developing my Joinup Outlook Add-In with Visual Studio 2010, I intended to add my own Prerequisite to the Installer Project (yes, VSTO solutions do need quite a few of those..).
I did find information about how to add them to Visual Studio, but not about 2010.
So here it is, prominent actually, but due to a pretty different folder path to previous VS versions, I mistakenly thought this to be the wrong information.

In short, Custom Prerequisites go here:
\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages

Deploying VSTO Solutions (Outlook Add-Ins, Office extensions) & prerequisites

I am currently developing an Outlook Add In to synchronize Joinup.ch events to your Outlook calendar. While development is getting more and more streamlined (event with Visual Studio 2010), deployment was and still seems to be difficult.

Unfortunatly, depending on Office Versions you are targeting, prerequisites differ, and even more unfortunate is that the installer which is added to your VSTO solution doesn't seem to check for those prerequisites.

An extensive blog article / walk through can be found here.
Still not the easiest thing on earth, this walk through provides alot of necessary background information.

Good luck !
Denis