Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - MPG Context Menu ignored?

Reply
 
Old 02-04-2009   #1 (permalink)
Robert Morley


 
 

MPG Context Menu ignored?

First off, I'm using Vista SP1.

Okay, so here's the problem: I've got a handy utility that extracts the
closed captioning from MPG files and generates an SRT (subtitles) file for
them. In previous versions of Windows, I just added the various commands to
the context menu, either by the built-in editor or the registry. Obviously
in Vista, I'm forced to use the registry. No problem.

Imagine my surprise, however, when all of my changes to the HKCR .mpg entry
were completely ignored! And it's not just my changes, I can see where VLC
wanted to add its own context menu entries in there as well, and they're
being ignored as well. Even removing the .mpg entry entirely, in HKCR,
HKLM\Software\Classes, and HKCU\Software\Classes (it wasn't actually there),
had absolutely NO effect on the context menu for .mpg files
whatsoever...even after a reboot!

What gives?

How can I customize the context menu for MPG files in Vista SP1?



Thanks,
Rob

My System SpecsSystem Spec
Old 02-04-2009   #2 (permalink)
Robert Morley


 
 

Re: MPG Context Menu ignored?

Oh and an interesting addition to this: I just tried changing the extension
from .mpg to .mpeg, and the context menu's working just fine there!


Rob
My System SpecsSystem Spec
Old 02-04-2009   #3 (permalink)
zachd [MSFT]


 
 

Re: MPG Context Menu ignored?


You don't mention any of the details of your attempted registry change, so
it's hard to speculate. =\

--
Speaking for myself only.
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Robert Morley" <rmorley@xxxxxx> wrote in message
news:eIS8awqhJHA.5732@xxxxxx
Quote:

> First off, I'm using Vista SP1.
>
> Okay, so here's the problem: I've got a handy utility that extracts the
> closed captioning from MPG files and generates an SRT (subtitles) file for
> them. In previous versions of Windows, I just added the various commands
> to the context menu, either by the built-in editor or the registry.
> Obviously in Vista, I'm forced to use the registry. No problem.
>
> Imagine my surprise, however, when all of my changes to the HKCR .mpg
> entry were completely ignored! And it's not just my changes, I can see
> where VLC wanted to add its own context menu entries in there as well, and
> they're being ignored as well. Even removing the .mpg entry entirely, in
> HKCR, HKLM\Software\Classes, and HKCU\Software\Classes (it wasn't actually
> there), had absolutely NO effect on the context menu for .mpg files
> whatsoever...even after a reboot!
>
> What gives?
>
> How can I customize the context menu for MPG files in Vista SP1?
>
>
>
> Thanks,
> Rob
My System SpecsSystem Spec
Old 02-05-2009   #4 (permalink)
Robert Morley


 
 

Re: MPG Context Menu ignored?

zachd [MSFT] wrote:
Quote:

>
> You don't mention any of the details of your attempted registry change,
> so it's hard to speculate. =\
It didn't matter what I did within the .MPG, MPEGFile or
WMP11.AssocFile.MPEG keys...even deleting them didn't affect the context
menu for MPGs at all.

In the end, however, it turned out to be WMP and/or Vista overriding
anything I did due to having WMP flagged as the default media player. When
I turned off the "Enable access to this program" check box in the Default
Programs, the context menu for MPGs returned to what I would have expected.

I would've pursued the issue further, but as it turned out, I got hit by the
Windows Search 4.0 "Search failed to initialize" bug and was forced to
migrate to a new user profile to resolve the problem. As I'm sure you can
imagine, I didn't allow WMP to become the default media player this time
around, thus avoiding the problem altogether.

So problem's solved...if not quite by a method I'd normally recommend.



Rob
My System SpecsSystem Spec
Old 02-05-2009   #5 (permalink)
zachd [MSFT]


 
 

Re: MPG Context Menu ignored?


If you want to explain your methodology and what exactly you were setting, I
might have insight here. It's an area I know relatively well. If you're
happy with your one-off solution, rock on.

'enable access' within this context just sets shellex handlers - I'm not
sure how that'd collide with what you're doing. It'd be good to understand
what you were doing. =\

--
Speaking for myself only.
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Robert Morley" <rmorley@xxxxxx> wrote in message
news:unOZYj3hJHA.448@xxxxxx
Quote:

> zachd [MSFT] wrote:
Quote:

>>
>> You don't mention any of the details of your attempted registry change,
>> so it's hard to speculate. =\
>
> It didn't matter what I did within the .MPG, MPEGFile or
> WMP11.AssocFile.MPEG keys...even deleting them didn't affect the context
> menu for MPGs at all.
>
> In the end, however, it turned out to be WMP and/or Vista overriding
> anything I did due to having WMP flagged as the default media player.
> When I turned off the "Enable access to this program" check box in the
> Default Programs, the context menu for MPGs returned to what I would have
> expected.
>
> I would've pursued the issue further, but as it turned out, I got hit by
> the Windows Search 4.0 "Search failed to initialize" bug and was forced to
> migrate to a new user profile to resolve the problem. As I'm sure you can
> imagine, I didn't allow WMP to become the default media player this time
> around, thus avoiding the problem altogether.
>
> So problem's solved...if not quite by a method I'd normally recommend.
>
>
>
> Rob

My System SpecsSystem Spec
Old 02-06-2009   #6 (permalink)
Robert Morley


 
 

Re: MPG Context Menu ignored?

I'm happy with the solution I found, though obviously it's not one I'd
recommend in the general case, so I attempted to recreate the problem, and
after a little playing, I was successful.

After creating a test user account, I figured out that contrary to what I
originally thought, it's not WMP that's at fault, though it may or may not
be a contributing factor. The real problem seems to be with PowerDVD 8.
Since WMP was the only thing showing up on the context menu and all other
players seemed to be ignored, I naturally blamed it on WMP. If you happen
to have a copy of PowerDVD 8 handy, here's how I triggered the problem.

Go into PDVD's Configuration menu, then on the Player tab, select Advanced,
and then go to the File Assocation tab. Associate MPG with PowerDVD, close
the various windows, and right-click on an MPG file to see the problematic
context menu. Looks fine, if somewhat different, until you attempt to
customize it.

The problem seems to be with HOW PowerDVD associates its files. Unlike most
apps, it adds association registry info to HKCU instead of HKLM. Even if
you later remove the .MPG entry from HKCU\Software\Classes, the association
seems to still "stick". Damned if I know how that works, but clearly
there's something else going on here.

I'm not as familiar with everything as you clearly are, and it's a little
late to be playing around right now for me, but if you'd like, I'll
duplicate the problem again tomorrow and compare before & after registry
snapshots to see if I can figure out more about what's going on. On the
other hand, if something I've said above tells you exactly what's going on,
so much the better.



Rob

zachd [MSFT] wrote:
Quote:

> If you want to explain your methodology and what exactly you were setting, I
> might have insight here. It's an area I know relatively well. If you're
> happy with your one-off solution, rock on.
>
> 'enable access' within this context just sets shellex handlers - I'm not
> sure how that'd collide with what you're doing. It'd be good to understand
> what you were doing. =\

My System SpecsSystem Spec
Old 02-07-2009   #7 (permalink)
zachd [MSFT]


 
 

Re: MPG Context Menu ignored?


Yeah, that's not nice on their part. If I were you I'd politely suggest to
their support that they change this.

I thought about doing this for WMP at some point, but realized that it'd
break every other vendor exactly like this so decided WMP didn't need to do
that. It's very important to play nice. =)

--
Speaking for myself only.
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Robert Morley" <rmorley@xxxxxx> wrote in message
news:OZ$ASWDiJHA.4448@xxxxxx
Quote:

> I'm happy with the solution I found, though obviously it's not one I'd
> recommend in the general case, so I attempted to recreate the problem, and
> after a little playing, I was successful.
>
> After creating a test user account, I figured out that contrary to what I
> originally thought, it's not WMP that's at fault, though it may or may not
> be a contributing factor. The real problem seems to be with PowerDVD 8.
> Since WMP was the only thing showing up on the context menu and all other
> players seemed to be ignored, I naturally blamed it on WMP. If you happen
> to have a copy of PowerDVD 8 handy, here's how I triggered the problem.
>
> Go into PDVD's Configuration menu, then on the Player tab, select
> Advanced,
> and then go to the File Assocation tab. Associate MPG with PowerDVD,
> close
> the various windows, and right-click on an MPG file to see the problematic
> context menu. Looks fine, if somewhat different, until you attempt to
> customize it.
>
> The problem seems to be with HOW PowerDVD associates its files. Unlike
> most
> apps, it adds association registry info to HKCU instead of HKLM. Even if
> you later remove the .MPG entry from HKCU\Software\Classes, the
> association seems to still "stick". Damned if I know how that works, but
> clearly there's something else going on here.
>
> I'm not as familiar with everything as you clearly are, and it's a little
> late to be playing around right now for me, but if you'd like, I'll
> duplicate the problem again tomorrow and compare before & after registry
> snapshots to see if I can figure out more about what's going on. On the
> other hand, if something I've said above tells you exactly what's going
> on, so much the better.
>
>
>
> Rob
>
> zachd [MSFT] wrote:
Quote:

>> If you want to explain your methodology and what exactly you were
>> setting, I might have insight here. It's an area I know relatively well.
>> If you're happy with your one-off solution, rock on.
>>
>> 'enable access' within this context just sets shellex handlers - I'm not
>> sure how that'd collide with what you're doing. It'd be good to
>> understand what you were doing. =\
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Context Menu Vista General
Start Menu - Customize Context Menu Tutorials
Send To Context Menu - Restore Default Menu Items Tutorials
New Context Menu - Restore Default Menu Items Tutorials
Context Menu Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46