c_shah

I have a VSTO 2005 outlook 2003 add-in that works fine on Windows XP Pro but for some reason it is not working on Windows Vista with outlook 2003. On windows XP add-in is installed for all users on the machine and creates registry entries under HKEY_LOCAL_MACHINE--Microsoft--Office--Outlook--outlookaddin.

Code is developed using VB 2005; Any help would be appreciated.



Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

c_shah

currently on vista Microsoft Visual Studio 2005 Tools for Office Runtime is installed. Do I need to install something else on Vista or creating registry entries uner HKEY_LOCAL_machine is a problem



Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

Colbert

If you use the Setup project to deploy a Microsoft Office 2003 add-in to a computer that is running Windows Vista, you must change some of the registry keys in the Setup project in the following scenarios:

  • The user is running the Microsoft Office application with a full administrator access token.

    - or -

  • The user has turned off User Account Control (UAC).

Follow this article pls http://msdn2.microsoft.com/en-us/library/ms268868(VS.80).aspx




Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

c_shah

I found it when I googled it..but I am not sure whether it is applicable in my case. As I have mentioned earlier on windows XP Pro I create registry entries in HEY_LOCAL_MACHINE.



Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

Kulvinder

Hi,

I want to know "Do i need to make 2 setups ". One for those users who are administrators and another one for simple users.

Like in case of administrators -> Registry keys have to be in HKLM while in case of local users -> Registry keys to be in HKCU

Please help






Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

Kulvinder

Any updates




Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

Andrew Cherry [MSFT]

Hi Kulvinder -

You almost certainly need to follow the linked steps.

In order to improve security in Vista, certain changes were made to the way that the registry is handled. With UAC turned OFF, the secure decision was to restrict even read access when not running as Administrator. Most likely, complications around this area are leading to your problems.

As to needing to create two setups: if you're only executing per-user installations, then you should only need to write to HKCU. Using HKLM is deprecated for multi-user installs due to maintenance concerns; we're working on an improved story around this restriction. As a practical matter, HKLM causes issues as you've discovered on Vista when UAC is turned off; Read access doesn't prompt for elevated privileges, but the access fails with UAC turned off -- by design. You shouldn't need to create two setups; I'd suggest following the linked steps to clear up your issues.

Thanks,

Andrew






Re: Visual Studio Tools for Office VSTO 2005 Outlook Addin on Windows Vista

Binuth

Hai,kulvinder

was ur setup problem solved
I am facing same problem , could you pls explain how u solved this problem.... how u handled normal user

plss

Binu