Adding the Office Primary Interop Assemblies as a Prerequisite in your ClickOnce installer
This Article stands for
How to include a visual studio specific prerequisite (KB908002) ?
FIX: Add-ins, smart documents, or smart tags that you create by using Microsoft Visual Studio do not run in Office.
How to Add office 2003 / 2007 PIA as prerequisite for the deployment of Office plug-in.
Office AddIn MSI Deployment - Issues with Prerequisites
Following are the steps.
Download the prerequisite packages from rapidshare: download rar
Extract all to the %ProgramFiles%Microsoft SDKsWindowsv6.0ABootstrapperPackages
It should create 3 folders KB908002, O2003PIA, and Office2007PIA inside packages folder.
now restart your visual studio and check your deployment project prerequisites, and select dependencies you want to add.
References:
- http://blog.developers.ie/cgreen/archive/2006/10/27/2427.aspx
http://blogs.msdn.com/vsto/archive/2008/05/08/adding-the-office-primary-interop-assemblies-as-a-prerequisite-in-your-clickonce-installer-mary-lee.aspx
http://support.microsoft.com/kb/908002
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3597176&SiteID=1- http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2802500&SiteID=1