Hello
Thank you for the tip, that's solved the problem.
As we want the addin to install for all users as well as single users
is to add a NOT AdminUser condition to the key creation in CU and
only write to LM when AdminUser is true.
Ian
--- In vsnetaddin@yahoogroups.com, Duncan Lees <duncan@...> wrote:
>
> Our addin only adds the LM key, and works fine AFAIK. Are you sure you
> need to specify the CU key as well?
>
> -Duncan
>
> vsnetaddin@yahoogroups.com wrote:
> > Hello
> >
> > I create a stand MSI file from a Deployment project associated to my
> > addin. The installs for all users - the MSI file is invoked via
> > msiexec with ALLUSERS=1.
> >
> > The registry keyes defined are:
> >
> > HKLM\Software\Microsoft\VisualStudio\7.1\AddIns\VisualPlugin.Connect
> > HKCU\Software\Microsoft\VisualStudio\7.1\AddIns\VisualPlugin.Connect
> >
> > This all works well. I can install the software as administrator and
> > the login as another user. When they start Visual studio the setup for
> > the addin is invoked and again all works well.
> >
> > I now uninstall the addin as administrator (msiexec /X add.msi
> > ALLUSERS=1). This works well for the administrator - when Visual
> > Studio is restarted the addin is gone and no error messages are
> > displayed. The registry keys added above are removed and the addin
> > files have been removed. However when I start visual studio as the
> > other user I get a Class Not Registered error 80040154. The addin
> > registry key for the Current User was still present. Does anyone know
> > if it is possibility to prevent this error message being displayed?
> >
> > Thanks
> >
> > Ian
> >
> >
> >
> >
> > Messages in this topic (1)
> >
________________________________________________________________________
> >
________________________________________________________________________
> >
> > Replies go to the entire list. Visit
http://groups.yahoo.com/group/vsnetaddin to unsubscribe, search
message archives, or change delivery options.
> >
> >
> >
> >
------------------------------------------------------------------------
> > Yahoo! Groups Links
> >
> >
> >
> >
------------------------------------------------------------------------
> >
> >
>