I would like to execute a .docx of a word document project on a remote machine.
I've installed the .vsto file both on the server and on the client machine and I've given full trust to the folder that contains the vsto project :
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727/CasPol.exe -m -ag 1.2 -url file://server/MyWordDocProject/* FullTrust

But it doesn't work... :-(

What else can I do

Thank you in advance for any advices.


Re: Visual Studio Tools for Office execute a vsto project on a remote machine


I've installed the PIA from here : FamilyID=59DAEBAA-BED4-4282-A28C-B864D8BFA513&displaylang=en
and it works fine. :-)

Re: Visual Studio Tools for Office execute a vsto project on a remote machine

Geoff Darst - MSFT

A couple of quick notes for anyone else reading this post that reflect a bit of what MathMax and I worked through off-line. The most important thing to recognize is that deployment has changed for the better in VSTO 3 / Office 12. Customizations are now written to the Click-Once cache, so there is no longer any need to muck around with CAS settings. Deploying a VSTO customization is now a simple process:

1) Use the deployment wizard to generate the necessary deployment files and push them to the install location.

2) Ensure that the prerequisites exist on the target machine; .Net FX 3.5, VSTO 3.0 Runtime, and Office applications and PIAS.

3) Run the generated setup.exe (or double-click on the deployment manifest) on the target machine--this will install the customization to the local Click-Once cache.

4) Copy the document to the desired location and open (your customization should run). If you wish to run the document from a network share, the share must be added to trusted locations in the Office Trust Center.

Complete documentation for VSTO 3.0 (Beta 2) deployment can be found here:

Note that Office 11 projects are still stuck with the VSTO 2.0 deployment model.