Problem installing VSTO AddIn on Vista

  • Thread starter cm9iX3R0MDg
  • Start date Views 2,418
C

cm9iX3R0MDg

#1
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

#2
We are able to load addin/vsto/pia on Vista machine after disabling UAC.

I played with ORCA without success.

"rob_tt08" <robtt08> wrote in message

news:FCA53676-4E55-4D79-9060-8016869BE4F0@microsoft.com...
> 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.
 
K

Ken Slovak - [MVP - Outlook]

#3
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.

"rob_tt08" <robtt08> wrote in message

news:FCA53676-4E55-4D79-9060-8016869BE4F0@microsoft.com...
> 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.
 
C

cm9iX3R0MDg

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

opportunity.

We are using VSTO 2005 SE.
 
Top