Problem installing VSTO AddIn on Vista

R

rob_tt08

We are attempting to install an Outlook 2007 Visual Studio Tools for Office
(VSTO) Addin for a client.
The MSI file includes a custom action to set the necessary Caspol
permissions.

When they attempt to run the installer on a Vista machine (using an
administrator account) it fails with Error 2869.

Research on the internet has uncovered two suggested solutions. The first is
a workaround that involves running the MSI file from a command prompt using
msiexec i/ filename.msi as an administrator. This did not work.

The second solution was to alter the MSI file to set the custom actions
NoImpersonate flag. When I attempted this solution using ORCA to edit the MSI
file, the resulting file was corrupted and gave the error 2356 "Could not
locate cabinet in stream:"

Can anyone suggest an alternate solution to the problem of deploying this
addin?

Any advice would be appreciated.
 
J

Jason

We are able to load addin/vsto/pia on Vista machine after disabling UAC.
I played with ORCA without success.
 
K

Ken Slovak - [MVP - Outlook]

Depending on which version of VSTO is used for the program it might not be
necessary to use any NoImpersonate settings. Recent versions take care of
that for you. There are also special problems related to using VSTO with
Vista due to the recommendations for installing for all users (registering
in HKLM instead of in HKCU) on Vista systems.

See
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/1666d2b0-a4d0-41e8-ad86-5eab3542de1e
and make note of the information there (if it's relevant) for deploying to
All Users with VSTO 2005 SE.
 
R

rob_tt08

Thank you for your suggestions. I will try them as soon as I have the
opportunity.

We are using VSTO 2005 SE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top