LukeRogers15

I created an Outlook Add-in and it works on my machine because I have all the prerequisites installed but I can't figure out how to add them to my install project. On the prerequisites for the install file it does not list the prerequisites that I need to add. I followed all of the steps in this article (http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx) and it does works for my machine but not others.

In the article it says I need to select Microsoft Office 2003 Primary Interop Assemblies and Microsoft Visual Studio 2005 Tools for Office Runtime but they are not available in my list of prerequisites. Does anyone know where I can download them so they show up in my list of prerequisites I couldn't quite figure out what all I needed to do to the product.xml file to add it manually to the bootstrapper so I am looking for help now.

Thanks in advance!




Re: Visual Studio Tools for Office Download Prerequisites for VS Installer

Guildom

Don't the steps described in the section Detecting and Installing Prerequisites, from Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer (Part 1 of 2), describe what you want to do They explain how to prepare the bootstrapper packages needed by the steps in the second part of the article, that you followed.




Re: Visual Studio Tools for Office Download Prerequisites for VS Installer

LukeRogers15

Yes, those steps go over exactly what needs to be done but unless you download the correct bootstrapper packages they are not included in the prerequisite list. I was trying to find out where to get the packages to add so I could include them. I ended up finding them at http://weblogs.asp.net/mnissen/articles/427504.aspx under Wednesday: The Solution. I downloaded those, added them to the bootstrapper packages and included them as prerequisites. When selecting where to install the prerequisites from I had to chose Download prerequisites from same location as my application in order to include the files with my installer because when I had it download from the vendor location I was receiving an error about the application changing since the last publish.

It is working now, thanks for your help.






Re: Visual Studio Tools for Office Download Prerequisites for VS Installer

Malleswar

Hi LukeRogers,

I also followed the same link http://weblogs.asp.net/mnissen/articles/427504.aspx but I am still getting problem. When I am running the setup in targeting maching. Problem I have included O2003PIA.msi. but the represented link(in package.xml) is providing O2003PIA.exe(which should be extracted). but I have copied as it is package.xml and product.xml in to bootstraper from the above link.

the error is :
An error occurred downloading the following resource: O2003PIAEXE

from log:

Downloading 'Office2003PIA\O2003PIA.EXE' from 'O2003PIAEXE' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSDD1.tmp\'
Download completed at 8/9/2007 5:07:20 PM
Downloading failed with HRESULT=-2146697203


I also tried by adding O2003PIA.exe to the boot straper and made changes to package.xml and product.xml according to O2003PIA.exe. then I am getting the following error.

error:
Setup has detected that the file 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSDB7.tmp\O2003PIA\O2003PIA.msi' has either changed since it was initially published or may be corrupt.


Can you plz guide me

Thanks in Advance,




Re: Visual Studio Tools for Office Download Prerequisites for VS Installer

HowBa

I find it sad that Visual Studio has not matured to the point where it can determine what it needs to build an install package (CONTROL ID, LAUNCH CONDITIONS, REG ENTRIES...).

At least providing a complete end to end showing here's how build some simple code with setup and deployment would be peachy.

I have spent several months looking for a cookbook describing, in complete detail how to deploy an outlook addin and am always sent to the same urls and given the same partial answers.

Considering how many other people are facing this same issue, why hasn't Microsoft stepped up to the plate and COMPLETELY resolved this