If you have Administrator permissions, you can configure the ClickOnce trust prompt to control whether end users are given the option of installing Office solutions by saving a trust decision to the inclusion list. For information about inclusion lists, see Trust Office solutions by using inclusion lists.
For solutions that are in each of five zones, you can set the following options:
Enable the ClickOnce Trust Prompt Key and the inclusion list. You can allow end users to grant trust to Office solutions that are signed with any certificate.
Restrict the ClickOnce Trust Prompt Key and the inclusion list. You can allow end users to install Office solutions that are signed with a certificate that identifies the publisher, but that is not already trusted.
Disable the ClickOnce Trust Prompt Key and the inclusion list. You can prevent end users from installing any Office solution that is not signed with an explicitly trusted certificate.
Enable the inclusion list
Enable the inclusion list for a zone when you want end users to be presented with the option of installing and running any Office solution that comes from that zone.
To enable the inclusion list by using the registry editor
Open the registry editor:
Click Start, and then click Run.
In the Open box, type regedt32.exe, and then click OK.
Dim key As Microsoft.Win32.RegistryKey
key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey("SOFTWARE\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel")
key.SetValue("MyComputer", "Enabled")
key.SetValue("LocalIntranet", "Enabled")
key.SetValue("Internet", "AuthenticodeRequired")
key.SetValue("TrustedSites", "Enabled")
key.SetValue("UntrustedSites", "Disabled")
key.Close()
Build and run the application.
Restrict the inclusion list
Restrict the inclusion list so that solutions must be signed with Authenticode certificates that have known identity before users are prompted for a trust decision.
To restrict the inclusion list
Open the registry editor:
Click Start, and then click Run.
In the Open box, type regedt32.exe, and then click OK.
To grant trust to Office solutions means to modify the security policy of each target computer to trust the solution assembly, deployment manifest, and document.
Deploy your Office solution by using ClickOnce to complete the task in fewer steps, and have your publishing solution automatically detect and install updates.