Video How to: Add or Remove Inclusion List Entries (2007 System)
When a user starts a Microsoft Office solution that has not been granted trust for that user, the solution prompts him or her for a security decision with a ClickOnce trust prompt. If the user decides to trust the solution, it is added to the inclusion list, and the user is no longer prompted when customization runs. If you want to add your solution to the inclusion list without prompting the user, you can add the solution to the inclusion list programmatically.
This video shows you how to create a console application that adds a solution to the inclusion list, and also how to remove it from the list. The following tasks are included in the process:
How to use the Publish Wizard to deploy a solution to a test server.
How to create a console application.
The Visual Studio Tools for Office Help includes the code and the steps that are demonstrated in this video. See How to: Add or Remove Inclusion List Entries (2007 System).