The Phases of the ClickOnce Trust Prompt (Mary Lee)

Signing your Office solutions with a certificate is a mandatory step, but there are several optional steps that can change the way the certificate is presented to the end user or customer. This example uses a Visual Studio generated test certificate, but the dialog box is similar to what you would see if you are… Read more

Installing Office 2007/VSTO 3.0 Solutions on Computers with Office 2010 (Mary Lee)

You have probably been reading and hearing about Microsoft Office 2010 for some months. Now, you may be wondering how much work is necessary to install your existing Office 2007/VSTO 3.0 solutions on customer computers that have Office 2010. Perhaps you’re thinking about migrating the Windows Installer Setup projects or ClickOnce deploymen projects? The answer… Read more

When Do I Need to Deploy the VSTO Runtime? (Mary Lee)

Aaron wrote a great article about the VSTO runtime components earlier, which explained the Office extensions for .NET Framework 3.5 and Office extensions for .NET Framework 4. He also explained that starting in Microsoft Office 2010, the Visual Studio 2010 Tools for Office runtime is included and does not need to be deployed alongside your… Read more

Tricks with app.config and ClickOnce deployment (Saurabh Bhatia)

Storing settings in the config File The app.config file is used for many purposes and one of common uses is for storing application settings like connection strings. For example, you can store a string to the web service reference used by your application in the app.config file. The idea behind storing the string in the… Read more

Visual Studio 2010: Specify advanced publishing options (Saurabh Bhatia)

I have previously posted how you can specify various properties for a VSTO solution like the Publisher and Product Names by tweaking a few files in Visual Studio 2008. With Visual Studio 2010 (Beta 2) you can edit these properties directly through the Publish Page. All Office projects in Visual Studio 2010 now have an… Read more

Copying a Document to the End User Computer after a ClickOnce Installation (Mary Lee)

Starting in Visual Studio 2010 Beta 1, you can perform additional tasks after an Office solution is installed known as a post-deployment action. For example, you can copy a customized Office document and create registry keys on the end user computer. You can compare these to Windows Installer custom actions. The Visual Studio Tools for… Read more

Deploying Multiple Office Solutions In a Single Installer (Mary Lee)

Starting in Visual Studio 2010 Beta 1, you can deploy multiple Office solutions in a single ClickOnce installer. For example, you can develop two Office solutions (one for Outlook and another for Excel) and combine these into a single installer with a single entry in the Add/Remove Programs list in Windows XP and the Programs… Read more

Issues with installing VSTO projects that were published from Visual Studio 2008 on Windows 7 RC (Saurabh Bhatia)

Many customers have reported issues with installing a VSTO project that has been published with Visual Studio 2008 running on the recently released Windows 7 Release Candidate. If you published your solution using VS2008 on a machine running the Windows 7 RC and then you try to install the solution on any machine you will… Read more

Signing and re-signing manifests in ClickOnce (Saurabh Bhatia)

ClickOnce manifest signing can be a little confusing for someone going through the process the very first time. This is probably because it involves signing multiple files in a particular sequence. Once you understand the process conceptually it becomes fairly easy to follow. In this post, I hope to provide a quick summary of the… Read more

Channel 9 Interview: Resigning ClickOnce Application and Deployment Manifests with MAGE (Beth Massi, Saurabh Bhatia)

I just posted another interview on Channel 9. I sit down again with Saurabh Bhatia, a Program Manager on the Office Client team, who is responsible for the ClickOnce publishing functionality in Visual Studio. We chat about trust issues and certificates and he sets me straight on how ClickOnce deployment and application manifests work. He… Read more