Jump to content

Recommended Posts

Posted

I'm using the following inf to accosicate .mp3 .mp4 files with winamp but if doesn't seem to be working can anyone help me out :no:

Thanks

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg=Reg.Settings

[Reg.Settings]
HKCR,.mp3
HKCR,.mp4
HKCR,mp3file,,,"MPEG Layer 3 Audio"
HKCR,mp3file\DefaultIcon,,,"%MP3ICON%"
HKCR,mp3file\shell,,,"open"
HKCR,mp3file\shell\open
HKCR,mp3file\shell\open\command,,,"""%MPCPATH%"" ""%L"""
HKCR,mp4file,,,"MPEG4 Video"
HKCR,mp4file\DefaultIcon,,,"%MP3ICON%"
HKCR,mp4file\shell,,,"open"
HKCR,mp4file\shell\open
HKCR,mp4file\shell\open\command,,,"""%MPCPATH%"" ""%L"""
HKCU,%SMWCEF%\.mp3,Progid,,"mp3file"
HKCU,%SMWCEF%\.mp4,Progid,,"mp4file"

[Strings]
SMWCEF="Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts"

;Editable Strings
MPCPATH="%16422%\Winamp\winamp.exe"
MP3ICON="%16422%\Winamp\icons\mp3.ico"


Posted

Try changing it to this

[Version]
Signature = $CHICAGO$

[DefaultInstall]
AddReg = Reg.Settings

[Reg.Settings]
HKCR,.mp3
HKCR,.mp3,,,mp3file
HKCR,.mp3\OpenWithList\%MP3EXE%,,,""
HKCR,.mp3\OpenWithProgIds,mp3file,0x20001
HKCR,.mp4
HKCR,.mp4,,,mp4file
HKCR,.mp4\OpenWithList\%MP3EXE%,,,""
HKCR,.mp4\OpenWithProgIds,mp4file,0x20001
HKCR,mp3file,,,"MPEG Layer 3 Audio"
HKCR,mp3file\DefaultIcon,,,"%MP3ICON%"
HKCR,mp3file\shell,,,"open"
HKCR,mp3file\shell\open
HKCR,mp3file\shell\open\command,,,"""%MPCPATH%"" ""%L"""
HKCR,mp4file,,,"MPEG4 Video"
HKCR,mp4file\DefaultIcon,,,"%MP3ICON%"
HKCR,mp4file\shell,,,"open"
HKCR,mp4file\shell\open
HKCR,mp4file\shell\open\command,,,"""%MPCPATH%"" ""%L"""
HKCU,%SMWCEF%\.mp3,Progid,,"mp3file"
HKCU,%SMWCEF%\.mp4,Progid,,"mp4file"

[Strings]
SMWCEF = "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts"

;Editable Strings
MP3EXE = "winamp.exe"
MP3ICON = "%16422%\Winamp\icons\mp3.ico"
MPCPATH = "%16422%\Winamp\winamp.exe"

Lines 9 and 13 are the important ones here, you may not need lines 10, 11, 14, 15 & 33.

Posted

i use this and works

REM WINAMP
REG ADD "HKLM\SOFTWARE\Classes\Winamp.File\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,1" /F
REG ADD "HKLM\SOFTWARE\Classes\Winamp.Playlist\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,0" /F
REG ADD "HKLM\SOFTWARE\Classes\Winamp.SkinZip\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,1" /F
REG ADD "HKLM\SOFTWARE\Classes\.ogg" /VE /D "Winamp.File" /F
REG ADD "HKLM\SOFTWARE\Classes\.mp3" /VE /D "Winamp.File" /F
...

from a batch file

Posted

I can't seem to get the inf to work at all

SiMoNsAyS

This registers the icons but not the application when i try to open a .mp3 file it still tries to open it in notepad, the icons are there but the accocations arn't :no:

Posted

it is supposed that you install winamp the normal way so it adds the propper keys, right?

if not you'll also need to add

REG ADD "HKLM\SOFTWARE\Classes\Winamp.File\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /F
REG ADD "HKLM\SOFTWARE\Classes\Winamp.Playlist\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /F
REG ADD "HKLM\SOFTWARE\Classes\Winamp.Skinzip\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /F

did it worked? i've written from memory :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...