1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

regsvr32.inf - regShExt.inf

Discussion in 'Windows XP' started by PuzzledGuy, Oct 28, 2007.

Thread Status:
Not open for further replies.
  1. PuzzledGuy

    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.
     
  2. PottyMouth

    PottyMouth

    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 :)
     
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 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/644677

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice