![]() |
Problem installing VSTO AddIn on Vista
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. |
Problem installing VSTO AddIn on Vista
We are able to load addin/vsto/pia on Vista machine after disabling UAC.
I played with ORCA without success. "rob_tt08" wrote in message ... 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. |
Problem installing VSTO AddIn on Vista
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/For...6-5eab3542de1e and make note of the information there (if it's relevant) for deploying to All Users with VSTO 2005 SE. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "rob_tt08" wrote in message ... 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. |
Problem installing VSTO AddIn on Vista
Thank you for your suggestions. I will try them as soon as I have the
opportunity. We are using VSTO 2005 SE. |
All times are GMT +1. The time now is 12:35 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com