Search Wiki:
You can develop a Visual Studio Tools for the Office system 3.0 solution for the 2007 Microsoft Office System, and deploy the solution by using a Visual Studio 2008 Setup project to create a Windows Installer package. You must still use ClickOnce to secure your solution, but you can use the MSI to distribute your files to end user computers.

The default publishing option in Visual Studio Tools for Office is ClickOnce. You can use ClickOnce to create and install self-updating applications with minimal user interaction. However, ClickOnce is not capable of deploying additional components such as Visio stencils or additional registry keys.

Instead, you can use Windows Installer to deploy a Visual Studio Tools for Office customization. Windows Installer allows you to configure the deployment in great detail, but this does require more effort to configure correctly. You lose the simple ease of deploying using ClickOnce technology and advantages such as automated updates, but you receive benefits such as branding and configurability. You can also combine these two technologies by having your Windows Installer setup file call into the ClickOnce installation tool provided with Visual Studio Tools for Office.

The code samples are written in Visual Basic and C#. The folowing list of projects and samples describes how you can integrate these into your solution to deploy with a Windows Installer file.

Projects - you can add these custom actions to your setup project.
1. Component Check
2. ClickOnceCustomActions - install into the ClickOnce cache
3. DocumentManifestCustomActions - update the document custom properties to point to the assembly
4. InclusionListCustomActions - add an entry to pre-trust your solution

Samples
1. Basic installer - Hello World add-in
2. Additional components - #1 + helper library
3. Inclusion list
4. Change Manifest
5. ClickOnce cache

Last edited Mar 26 2008 at 10:16 PM  by maryrlee, version 3
Comments
maryrlee wrote  May 30 2008 at 4:49 AM  
hi all,

the deployment whitepapers are now online!

Deploying a Visual Studio Tools for the Office System 3.0 Solution for the 2007 Microsoft Office System Using Windows Installer (Part 1 of 2)
http://msdn.microsoft.com/en-us/library/cc563937.aspx

Deploying a Visual Studio Tools for the Office System 3.0 Solution for the 2007 Microsoft Office System Using Windows Installer (Part 2 of 2)
http://msdn.microsoft.com/en-us/library/cc616991.aspx

the blog entry introducing these whitepapers
http://blogs.msdn.com/vsto/archive/2008/05/29/deploying-office-solutions-with-a-setup-project.aspx

m.

Updating...
Page view tracker