Problem installing VSTO AddIn on Vista

Status
Not open for further replies.
C

cm9iX3R0MDg

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.

"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]

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

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

opportunity.

We are using VSTO 2005 SE.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
C Now the problem I see is that I get an error when installing the Exchange 2010 SP 1. I attach a scre Exchange Server Administration 10
G Problem with Outlook 2010 after installing update to Word Perfect X5 Using Outlook 4
D Problem with installing Exchange 2010, AD problems? Exchange Server Administration 16
J Problem with Word 2010 and Outlook 2010 after installing today's MS updates Using Outlook 1
R Problem installing Unified Messaging on Exchange 2010 SP1 Exchange Server Administration 3
A Problem installing SP1 for Exchange 2010 Exchange Server Administration 8
J Problem installing the web based Microsoft Agent Communications Pa Outlook VBA and Custom Forms 1
M Is there any problem in installing MS exchange server in India with SMS sysnc options enabled? Exchange Server Administration 3
M Outlook 2010 Problem with OutLook 2010 32 bit, after Windows Auto Update Using Outlook 3
Marc2019 Outlook 2016 Font Problem Using Outlook 5
X I have met my waterloo trying to resolve embedded graphics problem with outlook 2007 and now 2016 Using Outlook 1
D Problem with custom form including _DocSiteControl1 Outlook VBA and Custom Forms 0
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
D Sort Problem with Sent Folders Using Outlook 1
S Conditional formatting problem with "is not empty" and categories Using Outlook 2
Mark Foley The upload of "Calendar" failed. There was a problem with the request. Using Outlook 6
avant-guvnor Import csv problem Using Outlook 7
katehawkins Outlook 2013 Ost to pst conversion problem Using Outlook 1
AbbieWhite The problem with a fairly large file. Using Outlook 3
I Outlook 2013 Send problem - 'Not Responding' forever Using Outlook.com accounts in Outlook 10
EmelineGueguen Help to understand the problem of work Using Outlook 1
W Outlook 2016 search problem persists after applying all known solutions Using Outlook 12
S problem with convert Using Outlook 1
S SendFromAccount - Problem trying to test existing value in open email Outlook VBA and Custom Forms 2
DruinaBiscardi unexpected problem in outlook Using Outlook 1
V Outlook 2003 problem with Windows 10 Creators Update 1709 Using Outlook 0
G Windows Update Causes BCM Database Access Problem? BCM (Business Contact Manager) 4
Grimev66 problem with conversion ost to pst Using Outlook 2
R Problem with searching public folders Exchange 2013/16 Exchange Server Administration 2
J Problem with Outlook 2016 new mail tray icon alert (envelope in the systems tray) Using Outlook.com accounts in Outlook 0
S Problem running Command button code Outlook VBA and Custom Forms 2
A .ost file problem Using Outlook 4
G PROBLEM REGARDING OUTLOOK STORAGE LANGUAGES Using Outlook 4
PetraTech Odd Folder View Problem Using Outlook 3
V iCloud problem Using Outlook 9
D Reply Problem with Outlook.com account Using Outlook.com accounts in Outlook 0
MattC Problem with Outlook 2007 & iCloud / duplicate tasks Using Outlook 1
V Problem moving folders Using Outlook 4
C Problem tracking meeting responses Using Outlook 3
Mark Foley Problem subscribing to shared calendar Using Outlook 1
K Problem with FreeBusy (before 1pm only) Outlook VBA and Custom Forms 7
skylark53 Advanced recurrence problem Using Outlook 2
E RSS export as OPML problem Using Outlook 4
D outlook 2013 contact list problem Using Outlook 0
T Problem with .Recipients.Add("alias") Outlook VBA and Custom Forms 3
P Problem with Outlook 2013 Attachments Using Outlook 4
E Outlook 2007: Problem with "Move to Folder >" button on toolbar Using Outlook 6
D No problem ... at this minute, just thanking you for your help. Using Outlook 1
T Random problem in VBA macro Outlook VBA and Custom Forms 6
Similar threads


















































Top