regsvr32.inf - regShExt.inf

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

PuzzledGuy

Thread Starter
Joined
Nov 18, 2006
Messages
12
I stupidly installed this file:-

; RegSvr32 Shell Extension
; Registriere DLL, OCX, EXE per Rechtsklick
; Win 9x, NT4 & 2k
; Release 1.0
;
; By Gej 03.03.2000
[Version]
signature="$chicago$"

[DefaultInstall]
CopyFiles=Files.inf
AddReg=Reg.Add,Reg.Uninstall

[DefaultInstall.ntx86]
CopyFiles=Files.inf
AddReg=Reg.Add,Reg.Uninstall.NT

[DefaultUninstall]
DelFiles=Files.inf
DelReg=Reg.Add,Reg.Uninstall,Reg.Uninstall.NT,Reg.Remove,

[SourceDisksNames]
1="%01%",,1

[Reg.Uninstall]
HKLM,%UnInstallPath%,DisplayName,,%UninstallDispName%
HKLM,%UnInstallPath%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\%InfFile%"

[Reg.Uninstall.NT]
HKLM,%UnInstallPath%,DisplayName,,%UninstallDispName%
HKLM,%UnInstallPath%,UninstallString,,"%11%\rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 %17%\%InfFile%"

[Reg.Add]
HKCR,.ocx\shell\RegOCX,,,Register
HKCR,.ocx\shell\RegOCX\command,,,"regsvr32 %1"
HKCR,.ocx\shell\UnRegOCX,,,UnRegister
HKCR,.ocx\shell\UnRegOCX\command,,,"regsvr32 /u %1"
HKCR,.ax\shell\RegAX,,,"Register Filter"
HKCR,.ax\shell\RegAX\command,,,"regsvr32 %1"
HKCR,.ax\shell\UnRegAX,,,"UnRegister Filter"
HKCR,.ax\shell\UnRegAX\command,,,"regsvr32 /u %1"
HKCR,dllfile\shell\RegDLL,,,Register
HKCR,dllfile\shell\RegDLL\command,,,"regsvr32 %1"
HKCR,dllfile\shell\UnRegDLL,,,UnRegister
HKCR,dllfile\shell\UnRegDLL\command,,,"regsvr32 /u %1"
HKCR,exefile\shell\RegEXE,,,"Register Server"
HKCR,exefile\shell\RegEXE\command,,,"%1 /regserver"
HKCR,exefile\shell\UnRegEXE,,,"UnRegister Server"
HKCR,exefile\shell\UnRegEXE\command,,,"%1 /unregserver"

[Reg.Remove]
HKCR,.ocx\shell\RegOCX
HKCR,.ocx\shell\RegOCX\command
HKCR,.ocx\shell\UnRegOCX
HKCR,.ocx\shell\UnRegOCX\command
HKCR,.ax\shell\RegAX
HKCR,.ax\shell\RegAX\command
HKCR,.ax\shell\UnRegAX
HKCR,.ax\shell\UnRegAX\command
HKCR,dllfile\shell\RegDLL
HKCR,dllfile\shell\RegDLL\command
HKCR,dllfile\shell\UnRegDLL
HKCR,dllfile\shell\UnRegDLL\command
HKCR,exefile\shell\RegEXE
HKCR,exefile\shell\RegEXE\command
HKCR,exefile\shell\UnRegEXE
HKCR,exefile\shell\UnRegEXE\command

[Strings]
InfFile="RegShExt.inf"
SetupRegPath="Software\Microsoft\Windows\CurrentVersion\Setup"
UninstallDispName="RegSvr32 Shell Extension"
UnInstallPath="Software\Microsoft\Windows\CurrentVersion\Uninstall\RegSvr32ShellExtension"

[DestinationDirs]
Files.Inf=17

[Files.Inf]
RegShExt.inf

after not really following these instructions:-

http://forum.doom9.org/showthread.php?s=&threadid=39405&highlight=regsvr32+shell

I'm running Windows XP service pack 2.

I was trying to use .ax files to add functionality to Media Player Classic (shoutcast source and subtitle finder) - but all I did was reduce colour to 4bit and the resolution to minimum, I couldn't correct the colour setting or resolution until I had rebooted. - can anyone tell me exactly what the above file did? Everything seems to be back to normal?

And how should I go about adding an .ax file to improve MPC's functionality?

Many thanks.
 
Joined
Aug 26, 2008
Messages
1
Although this is an old post, this answer may prove useful to others who are still searching for a similar solution.

I also was after a tool for this purpose, but not all of them did everything, and some of them did practically nothing! However, a workaround:

There is a very nice program (freeware) called Emsa DLL Register Tool (available here http://www.e-systems.ro/). However, it doesn't add entries to the right-click context menu for .ax files. In fact, XP pro shows .ax files as 'unknown' indicating there is no file type set in the registry. So, the work around is pretty simple:

1. Install above software. Enable shell extensions in program.

2. Next, create two reg files (open in a notepad without wordwrap)

First: ax.reg

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.ax]
@="axfile"
Second: axfile.reg

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\axfile]
"NoOpen"="These files are Directshow filters."
@="Directshow Filter"

[HKEY_CLASSES_ROOT\axfile\shell]

[HKEY_CLASSES_ROOT\axfile\shell\Register]

[HKEY_CLASSES_ROOT\axfile\shell\Register\command]
@="C:\\Program Files\\System\\Emsa DLL Register Tool\\regtool.exe -r \"%1\""

[HKEY_CLASSES_ROOT\axfile\shell\RegTool]

[HKEY_CLASSES_ROOT\axfile\shell\RegTool\command]
@="C:\\Program Files\\System\\Emsa DLL Register Tool\\regtool.exe \"%1\""

[HKEY_CLASSES_ROOT\axfile\shell\UnRegister]

[HKEY_CLASSES_ROOT\axfile\shell\UnRegister\command]
@="C:\\Program Files\\System\\Emsa DLL Register Tool\\regtool.exe -u \"%1\""
After installing RegTool (above) and creating the two .reg files. Double click each reg file to enter the keys into the registry.

Now, when you right-click any of .ax file you can register it, unregister it, or open the RegTool for more options.

Hope this helps :)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top