Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Windows Vista addin problem.

Geek News

Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 1/30/2007 3:47:55 PM
I just discovered that my custom toolbar which works under Outlook
2000-2003 in XP/2000 does not appear under Windows Vista. I would
appreciate any pointers.

Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 1/30/2007 4:42:44 PM
Did you check that you set the required registry entries?
If your addin installs itself in HKLM/HKCR instead of HKCU, the registration
will fail if the current user does not have suffiient rights (as is the case
with the UAC enabled in Vista)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
[Quoted Text]
>I just discovered that my custom toolbar which works under Outlook
> 2000-2003 in XP/2000 does not appear under Windows Vista. I would
> appreciate any pointers.
>


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 1/30/2007 4:57:21 PM
Dmitry,

here's an example of my registry settings for a MSProject addon which
has the same problem.
I am testing in administrator account:


HKCR
{
XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
{
CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
}
XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
{
CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
CurVer = s 'XXAddOn.XXProjectAddOn.1'
}
NoRemove CLSID
{
ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
Class'
{
ProgID = s 'XXAddOn.XXProjectAddOn.1'
VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
ForceRemove 'Programmable'
InprocServer32 = s '%MODULE%'
{
val ThreadingModel = s 'Apartment'
}
'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
}
}
}

HKCU
{
Software
{
Microsoft
{
Office
{
'MS Project'
{
Addins
{
'XXAddOn.XXProjectAddOn'
{
val FriendlyName = s 'MyCompany MS Project Addin'
val Description = s 'ATLCOM Project Addin'
val LXXdBehavior = d '00000003'
val CommandLineSafe = d '00000000'
}
}
}
}
}
}
}

Thanks for your reply,

Fima.

On Jan 30, 11:42 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
wrote:
[Quoted Text]
> Did you check that you set the required registry entries?
> If your addin installs itself in HKLM/HKCR instead of HKCU, the registration
> will fail if the current user does not have suffiient rights (as is the case
> with the UAC enabled in Vista)
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in messagenews:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
>
> >I just discovered that my custom toolbar which works under Outlook
> > 2000-2003 in XP/2000 does not appear under Windows Vista. I would
> > appreciate any pointers.

Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 1/30/2007 5:44:20 PM
Try to replace the HKCR part with the following (it will use
HKCU\Software\Classes instead of HKCR)

HKCU
{
Software
{
Classes
{
XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
{
CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
}
XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
{
CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
CurVer = s 'XXAddOn.XXProjectAddOn.1'
}
NoRemove CLSID
{
ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
Class'
{
ProgID = s 'XXAddOn.XXProjectAddOn.1'
VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
ForceRemove 'Programmable'
InprocServer32 = s '%MODULE%'
{
val ThreadingModel = s 'Apartment'
}
'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
}
}
}
}
}

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170176240.968544.155240[ at ]a34g2000cwb.googlegroups.com...
[Quoted Text]
> Dmitry,
>
> here's an example of my registry settings for a MSProject addon which
> has the same problem.
> I am testing in administrator account:
>
>
> HKCR
> {
> XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
> {
> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> }
> XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
> {
> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> CurVer = s 'XXAddOn.XXProjectAddOn.1'
> }
> NoRemove CLSID
> {
> ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
> Class'
> {
> ProgID = s 'XXAddOn.XXProjectAddOn.1'
> VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
> ForceRemove 'Programmable'
> InprocServer32 = s '%MODULE%'
> {
> val ThreadingModel = s 'Apartment'
> }
> 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
> }
> }
> }
>
> HKCU
> {
> Software
> {
> Microsoft
> {
> Office
> {
> 'MS Project'
> {
> Addins
> {
> 'XXAddOn.XXProjectAddOn'
> {
> val FriendlyName = s 'MyCompany MS Project Addin'
> val Description = s 'ATLCOM Project Addin'
> val LXXdBehavior = d '00000003'
> val CommandLineSafe = d '00000000'
> }
> }
> }
> }
> }
> }
> }
>
> Thanks for your reply,
>
> Fima.
>
> On Jan 30, 11:42 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
> wrote:
>> Did you check that you set the required registry entries?
>> If your addin installs itself in HKLM/HKCR instead of HKCU, the
>> registration
>> will fail if the current user does not have suffiient rights (as is the
>> case
>> with the UAC enabled in Vista)
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in
>> messagenews:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
>>
>> >I just discovered that my custom toolbar which works under Outlook
>> > 2000-2003 in XP/2000 does not appear under Windows Vista. I would
>> > appreciate any pointers.
>


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 1/30/2007 7:14:31 PM
Dmitry, I tried this and this broke the toolbar in Win XP.


On Jan 30, 12:44 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
wrote:
[Quoted Text]
> Try to replace the HKCR part with the following (it will use
> HKCU\Software\Classes instead of HKCR)
>
> HKCU
> {
> Software
> {
> Classes
> {
> XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
> {
> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'}
>
> XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
> {
> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> CurVer = s 'XXAddOn.XXProjectAddOn.1'}
>
> NoRemove CLSID
> {
> ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
> Class'
> {
> ProgID = s 'XXAddOn.XXProjectAddOn.1'
> VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
> ForceRemove 'Programmable'
> InprocServer32 = s '%MODULE%'
> {
> val ThreadingModel = s 'Apartment'}
>
> 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
>
> }
> }
> }
> }
> }
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in message
>
> news:1170176240.968544.155240[ at ]a34g2000cwb.googlegroups.com...
>
> > Dmitry,
>
> > here's an example of my registry settings for a MSProject addon which
> > has the same problem.
> > I am testing in administrator account:
>
> > HKCR
> > {
> > XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
> > {
> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> > }
> > XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
> > {
> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> > CurVer = s 'XXAddOn.XXProjectAddOn.1'
> > }
> > NoRemove CLSID
> > {
> > ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
> > Class'
> > {
> > ProgID = s 'XXAddOn.XXProjectAddOn.1'
> > VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
> > ForceRemove 'Programmable'
> > InprocServer32 = s '%MODULE%'
> > {
> > val ThreadingModel = s 'Apartment'
> > }
> > 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
> > }
> > }
> > }
>
> > HKCU
> > {
> > Software
> > {
> > Microsoft
> > {
> > Office
> > {
> > 'MS Project'
> > {
> > Addins
> > {
> > 'XXAddOn.XXProjectAddOn'
> > {
> > val FriendlyName = s 'MyCompany MS Project Addin'
> > val Description = s 'ATLCOM Project Addin'
> > val LXXdBehavior = d '00000003'
> > val CommandLineSafe = d '00000000'
> > }
> > }
> > }
> > }
> > }
> > }
> > }
>
> > Thanks for your reply,
>
> > Fima.
>
> > On Jan 30, 11:42 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
> > wrote:
> >> Did you check that you set the required registry entries?
> >> If your addin installs itself in HKLM/HKCR instead of HKCU, the
> >> registration
> >> will fail if the current user does not have suffiient rights (as is the
> >> case
> >> with the UAC enabled in Vista)
>
> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
>
> >> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in
> >> messagenews:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
>
> >> >I just discovered that my custom toolbar which works under Outlook
> >> > 2000-2003 in XP/2000 does not appear under Windows Vista. I would
> >> > appreciate any pointers.


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 1/30/2007 8:06:23 PM
Dmitry, I tried this in both cases the Dll registers successfully,
however the Toolbar does not appear in Outlook/Project under Vista. I
guess my only option is to try to install development environment and
debug this in Vista. If anybody has any clues, I would really
appreciate any input.

Many thanks,

Fima.


On Jan 30, 12:44 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
wrote:
[Quoted Text]
> Try to replace the HKCR part with the following (it will use
> HKCU\Software\Classes instead of HKCR)
>
> HKCU
> {
> Software
> {
> Classes
> {
> XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
> {
> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'}
>
> XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
> {
> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> CurVer = s 'XXAddOn.XXProjectAddOn.1'}
>
> NoRemove CLSID
> {
> ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
> Class'
> {
> ProgID = s 'XXAddOn.XXProjectAddOn.1'
> VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
> ForceRemove 'Programmable'
> InprocServer32 = s '%MODULE%'
> {
> val ThreadingModel = s 'Apartment'}
>
> 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
>
> }
> }
> }
> }
> }
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in message
>
> news:1170176240.968544.155240[ at ]a34g2000cwb.googlegroups.com...
>
> > Dmitry,
>
> > here's an example of my registry settings for a MSProject addon which
> > has the same problem.
> > I am testing in administrator account:
>
> > HKCR
> > {
> > XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
> > {
> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> > }
> > XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
> > {
> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
> > CurVer = s 'XXAddOn.XXProjectAddOn.1'
> > }
> > NoRemove CLSID
> > {
> > ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
> > Class'
> > {
> > ProgID = s 'XXAddOn.XXProjectAddOn.1'
> > VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
> > ForceRemove 'Programmable'
> > InprocServer32 = s '%MODULE%'
> > {
> > val ThreadingModel = s 'Apartment'
> > }
> > 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
> > }
> > }
> > }
>
> > HKCU
> > {
> > Software
> > {
> > Microsoft
> > {
> > Office
> > {
> > 'MS Project'
> > {
> > Addins
> > {
> > 'XXAddOn.XXProjectAddOn'
> > {
> > val FriendlyName = s 'MyCompany MS Project Addin'
> > val Description = s 'ATLCOM Project Addin'
> > val LXXdBehavior = d '00000003'
> > val CommandLineSafe = d '00000000'
> > }
> > }
> > }
> > }
> > }
> > }
> > }
>
> > Thanks for your reply,
>
> > Fima.
>
> > On Jan 30, 11:42 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
> > wrote:
> >> Did you check that you set the required registry entries?
> >> If your addin installs itself in HKLM/HKCR instead of HKCU, the
> >> registration
> >> will fail if the current user does not have suffiient rights (as is the
> >> case
> >> with the UAC enabled in Vista)
>
> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
>
> >> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in
> >> messagenews:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
>
> >> >I just discovered that my custom toolbar which works under Outlook
> >> > 2000-2003 in XP/2000 does not appear under Windows Vista. I would
> >> > appreciate any pointers.


Re: Windows Vista addin problem.
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 1/30/2007 8:12:21 PM
All my addins usually install in HKCU and use either self-registering
classes like Redemption or use VSTO or C# and they all show the correct
toolbars in Vista as well as in all other OS's.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> wrote in message
news:%23Rfzu1IRHHA.3996[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> Did you check that you set the required registry entries?
> If your addin installs itself in HKLM/HKCR instead of HKCU, the
> registration will fail if the current user does not have suffiient rights
> (as is the case with the UAC enabled in Vista)
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool

Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 1/30/2007 8:21:27 PM
Do you see the expected COM registry values in HKCU\Software\Classes and
Outlook specific ones in HKCU\Software\Microsoft\... ?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170187583.370054.287570[ at ]p10g2000cwp.googlegroups.com...
[Quoted Text]
> Dmitry, I tried this in both cases the Dll registers successfully,
> however the Toolbar does not appear in Outlook/Project under Vista. I
> guess my only option is to try to install development environment and
> debug this in Vista. If anybody has any clues, I would really
> appreciate any input.
>
> Many thanks,
>
> Fima.
>
>
> On Jan 30, 12:44 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
> wrote:
>> Try to replace the HKCR part with the following (it will use
>> HKCU\Software\Classes instead of HKCR)
>>
>> HKCU
>> {
>> Software
>> {
>> Classes
>> {
>> XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
>> {
>> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'}
>>
>> XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
>> {
>> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
>> CurVer = s 'XXAddOn.XXProjectAddOn.1'}
>>
>> NoRemove CLSID
>> {
>> ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
>> Class'
>> {
>> ProgID = s 'XXAddOn.XXProjectAddOn.1'
>> VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
>> ForceRemove 'Programmable'
>> InprocServer32 = s '%MODULE%'
>> {
>> val ThreadingModel = s 'Apartment'}
>>
>> 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
>>
>> }
>> }
>> }
>> }
>> }
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in message
>>
>> news:1170176240.968544.155240[ at ]a34g2000cwb.googlegroups.com...
>>
>> > Dmitry,
>>
>> > here's an example of my registry settings for a MSProject addon which
>> > has the same problem.
>> > I am testing in administrator account:
>>
>> > HKCR
>> > {
>> > XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
>> > {
>> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
>> > }
>> > XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
>> > {
>> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
>> > CurVer = s 'XXAddOn.XXProjectAddOn.1'
>> > }
>> > NoRemove CLSID
>> > {
>> > ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
>> > Class'
>> > {
>> > ProgID = s 'XXAddOn.XXProjectAddOn.1'
>> > VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
>> > ForceRemove 'Programmable'
>> > InprocServer32 = s '%MODULE%'
>> > {
>> > val ThreadingModel = s 'Apartment'
>> > }
>> > 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
>> > }
>> > }
>> > }
>>
>> > HKCU
>> > {
>> > Software
>> > {
>> > Microsoft
>> > {
>> > Office
>> > {
>> > 'MS Project'
>> > {
>> > Addins
>> > {
>> > 'XXAddOn.XXProjectAddOn'
>> > {
>> > val FriendlyName = s 'MyCompany MS Project Addin'
>> > val Description = s 'ATLCOM Project Addin'
>> > val LXXdBehavior = d '00000003'
>> > val CommandLineSafe = d '00000000'
>> > }
>> > }
>> > }
>> > }
>> > }
>> > }
>> > }
>>
>> > Thanks for your reply,
>>
>> > Fima.
>>
>> > On Jan 30, 11:42 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
>> > wrote:
>> >> Did you check that you set the required registry entries?
>> >> If your addin installs itself in HKLM/HKCR instead of HKCU, the
>> >> registration
>> >> will fail if the current user does not have suffiient rights (as is
>> >> the
>> >> case
>> >> with the UAC enabled in Vista)
>>
>> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>>
>> >> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in
>> >> messagenews:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
>>
>> >> >I just discovered that my custom toolbar which works under Outlook
>> >> > 2000-2003 in XP/2000 does not appear under Windows Vista. I would
>> >> > appreciate any pointers.
>
>


Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 1/30/2007 8:22:07 PM
And does Behavior stay 3 in registry?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170187583.370054.287570[ at ]p10g2000cwp.googlegroups.com...
[Quoted Text]
> Dmitry, I tried this in both cases the Dll registers successfully,
> however the Toolbar does not appear in Outlook/Project under Vista. I
> guess my only option is to try to install development environment and
> debug this in Vista. If anybody has any clues, I would really
> appreciate any input.
>
> Many thanks,
>
> Fima.
>
>
> On Jan 30, 12:44 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
> wrote:
>> Try to replace the HKCR part with the following (it will use
>> HKCU\Software\Classes instead of HKCR)
>>
>> HKCU
>> {
>> Software
>> {
>> Classes
>> {
>> XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
>> {
>> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'}
>>
>> XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
>> {
>> CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
>> CurVer = s 'XXAddOn.XXProjectAddOn.1'}
>>
>> NoRemove CLSID
>> {
>> ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
>> Class'
>> {
>> ProgID = s 'XXAddOn.XXProjectAddOn.1'
>> VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
>> ForceRemove 'Programmable'
>> InprocServer32 = s '%MODULE%'
>> {
>> val ThreadingModel = s 'Apartment'}
>>
>> 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
>>
>> }
>> }
>> }
>> }
>> }
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in message
>>
>> news:1170176240.968544.155240[ at ]a34g2000cwb.googlegroups.com...
>>
>> > Dmitry,
>>
>> > here's an example of my registry settings for a MSProject addon which
>> > has the same problem.
>> > I am testing in administrator account:
>>
>> > HKCR
>> > {
>> > XXAddOn.XXProjectAddOn.1 = s 'XXProjectAddOn Class'
>> > {
>> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
>> > }
>> > XXAddOn.XXProjectAddOn = s 'XXProjectAddOn Class'
>> > {
>> > CLSID = s '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
>> > CurVer = s 'XXAddOn.XXProjectAddOn.1'
>> > }
>> > NoRemove CLSID
>> > {
>> > ForceRemove {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} = s 'XXProjectAddOn
>> > Class'
>> > {
>> > ProgID = s 'XXAddOn.XXProjectAddOn.1'
>> > VersionIndependentProgID = s 'XXAddOn.XXProjectAddOn'
>> > ForceRemove 'Programmable'
>> > InprocServer32 = s '%MODULE%'
>> > {
>> > val ThreadingModel = s 'Apartment'
>> > }
>> > 'TypeLib' = s '{xxxxxxxxxxxxxxxxxxxxxxxxx}'
>> > }
>> > }
>> > }
>>
>> > HKCU
>> > {
>> > Software
>> > {
>> > Microsoft
>> > {
>> > Office
>> > {
>> > 'MS Project'
>> > {
>> > Addins
>> > {
>> > 'XXAddOn.XXProjectAddOn'
>> > {
>> > val FriendlyName = s 'MyCompany MS Project Addin'
>> > val Description = s 'ATLCOM Project Addin'
>> > val LXXdBehavior = d '00000003'
>> > val CommandLineSafe = d '00000000'
>> > }
>> > }
>> > }
>> > }
>> > }
>> > }
>> > }
>>
>> > Thanks for your reply,
>>
>> > Fima.
>>
>> > On Jan 30, 11:42 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com>
>> > wrote:
>> >> Did you check that you set the required registry entries?
>> >> If your addin installs itself in HKLM/HKCR instead of HKCU, the
>> >> registration
>> >> will fail if the current user does not have suffiient rights (as is
>> >> the
>> >> case
>> >> with the UAC enabled in Vista)
>>
>> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>>
>> >> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in
>> >> messagenews:1170172075.856916.250100[ at ]q2g2000cwa.googlegroups.com...
>>
>> >> >I just discovered that my custom toolbar which works under Outlook
>> >> > 2000-2003 in XP/2000 does not appear under Windows Vista. I would
>> >> > appreciate any pointers.
>
>


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 1/30/2007 8:41:48 PM
On Jan 30, 3:22 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> And does Behavior stay 3 in registry?
>
>

HA! It changes to value 2 after first load!


Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 1/30/2007 9:03:45 PM
Which means Outlook could not load the add-in. How about the other registry
entries?
Can you create and run a VBS file with the following script:

set Obj = CreateObject("XXAddOn.XXProjectAddOn")
MsgBox TypeName(Obj)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170189708.147018.106880[ at ]a34g2000cwb.googlegroups.com...
[Quoted Text]
> On Jan 30, 3:22 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
>> And does Behavior stay 3 in registry?
>>
>>
>
> HA! It changes to value 2 after first load!
>
>


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 2/3/2007 1:20:15 AM
On Jan 30, 4:03 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> Which means Outlook could not load the add-in. How about the other registry
> entries?
> Can you create and run a VBS file with the following script:
>
> set Obj = CreateObject("XXAddOn.XXProjectAddOn")
> MsgBox TypeName(Obj)
>
>

Yes, sorry for a late reply. This worked.
Interestingly enought, I created a C# VSTO addon for Outlook and it
fails exactly the same way changing the LoadBehavior and this only
happens under Vista!

Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 2/3/2007 4:02:49 AM
That makes sense: the HKCU entries were successfully created, but they
pointed to the non-existent HKCR entries, hence Outlook could not load the
add-in an disabled it.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170465615.413647.147180[ at ]j27g2000cwj.googlegroups.com...
[Quoted Text]
> On Jan 30, 4:03 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
>> Which means Outlook could not load the add-in. How about the other
>> registry
>> entries?
>> Can you create and run a VBS file with the following script:
>>
>> set Obj = CreateObject("XXAddOn.XXProjectAddOn")
>> MsgBox TypeName(Obj)
>>
>>
>
> Yes, sorry for a late reply. This worked.
> Interestingly enought, I created a C# VSTO addon for Outlook and it
> fails exactly the same way changing the LoadBehavior and this only
> happens under Vista!
>


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 2/3/2007 1:54:54 PM
On Feb 2, 11:02 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> That makes sense: the HKCU entries were successfully created, but they
> pointed to the non-existent HKCR entries, hence Outlook could not load the
> add-in an disabled it.
>

I am sorry, I am not sure I understand, Could you give some pointers
on how to fix this for Vista?

Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 2/3/2007 1:57:47 PM
On Feb 2, 11:02 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> That makes sense: the HKCU entries were successfully created, but they
> pointed to the non-existent HKCR entries, hence Outlook could not load the
> add-in an disabled it.
>

HKCR entries were also successfully created.

Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 2/3/2007 3:53:55 PM
Are you saying it still does not run even after the add-in was registered
successfully? That means something else is going on in your add-in, you
really need to debug it under Vista.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170511067.539001.190260[ at ]m58g2000cwm.googlegroups.com...
[Quoted Text]
> On Feb 2, 11:02 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
>> That makes sense: the HKCU entries were successfully created, but they
>> pointed to the non-existent HKCR entries, hence Outlook could not load
>> the
>> add-in an disabled it.
>>
>
> HKCR entries were also successfully created.
>


Re: Windows Vista addin problem.
"Fima Furman" <efimfurman[ at ]gmail.com> 2/3/2007 4:25:17 PM
Dmitry,

I finally debugged it under Vista, and indeed the problem was related
to the fact that the Addin dll was creating some CFiles in the
installation directory. I suppose Vista does not allow this and hence
the add-on was crashing. Sorry to take your time debugging this and
thanks for all your help. I now need to figure how how to modify the
behavior so that the files are created successfully.


On Feb 3, 10:53 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> Are you saying it still does not run even after the add-in was registered
> successfully? That means something else is going on in your add-in, you
> really need to debug it under Vista.
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in message
>
> news:1170511067.539001.190260[ at ]m58g2000cwm.googlegroups.com...
>
> > On Feb 2, 11:02 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
> >> That makes sense: the HKCU entries were successfully created, but they
> >> pointed to the non-existent HKCR entries, hence Outlook could not load
> >> the
> >> add-in an disabled it.
>
> > HKCR entries were also successfully created.


Re: Windows Vista addin problem.
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 2/3/2007 9:32:49 PM
It is never a good idea to do anything but read files from the Program Files
directory. You need to use either user or app data folders in Documents and
Settings folder.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Fima Furman" <efimfurman[ at ]gmail.com> wrote in message
news:1170519917.739803.143220[ at ]k78g2000cwa.googlegroups.com...
[Quoted Text]
> Dmitry,
>
> I finally debugged it under Vista, and indeed the problem was related
> to the fact that the Addin dll was creating some CFiles in the
> installation directory. I suppose Vista does not allow this and hence
> the add-on was crashing. Sorry to take your time debugging this and
> thanks for all your help. I now need to figure how how to modify the
> behavior so that the files are created successfully.
>
>
> On Feb 3, 10:53 am, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
>> Are you saying it still does not run even after the add-in was registered
>> successfully? That means something else is going on in your add-in, you
>> really need to debug it under Vista.
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Fima Furman" <efimfur...[ at ]gmail.com> wrote in message
>>
>> news:1170511067.539001.190260[ at ]m58g2000cwm.googlegroups.com...
>>
>> > On Feb 2, 11:02 pm, "Dmitry Streblechenko" <dmi...[ at ]dimastr.com> wrote:
>> >> That makes sense: the HKCU entries were successfully created, but they
>> >> pointed to the non-existent HKCR entries, hence Outlook could not load
>> >> the
>> >> add-in an disabled it.
>>
>> > HKCR entries were also successfully created.
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net