greekos_kentos Posted March 4, 2005 Share Posted March 4, 2005 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 Thanks[Version]Signature=$CHICAGO$[DefaultInstall]AddReg=Reg.Settings[Reg.Settings]HKCR,.mp3HKCR,.mp4HKCR,mp3file,,,"MPEG Layer 3 Audio"HKCR,mp3file\DefaultIcon,,,"%MP3ICON%"HKCR,mp3file\shell,,,"open"HKCR,mp3file\shell\openHKCR,mp3file\shell\open\command,,,"""%MPCPATH%"" ""%L"""HKCR,mp4file,,,"MPEG4 Video"HKCR,mp4file\DefaultIcon,,,"%MP3ICON%"HKCR,mp4file\shell,,,"open"HKCR,mp4file\shell\openHKCR,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 StringsMPCPATH="%16422%\Winamp\winamp.exe"MP3ICON="%16422%\Winamp\icons\mp3.ico" Link to comment Share on other sites More sharing options...
Yzöwl Posted March 4, 2005 Share Posted March 4, 2005 Try changing it to this[Version]Signature = $CHICAGO$[DefaultInstall]AddReg = Reg.Settings[Reg.Settings]HKCR,.mp3HKCR,.mp3,,,mp3fileHKCR,.mp3\OpenWithList\%MP3EXE%,,,""HKCR,.mp3\OpenWithProgIds,mp3file,0x20001HKCR,.mp4HKCR,.mp4,,,mp4fileHKCR,.mp4\OpenWithList\%MP3EXE%,,,""HKCR,.mp4\OpenWithProgIds,mp4file,0x20001HKCR,mp3file,,,"MPEG Layer 3 Audio"HKCR,mp3file\DefaultIcon,,,"%MP3ICON%"HKCR,mp3file\shell,,,"open"HKCR,mp3file\shell\openHKCR,mp3file\shell\open\command,,,"""%MPCPATH%"" ""%L"""HKCR,mp4file,,,"MPEG4 Video"HKCR,mp4file\DefaultIcon,,,"%MP3ICON%"HKCR,mp4file\shell,,,"open"HKCR,mp4file\shell\openHKCR,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 StringsMP3EXE = "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. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted March 4, 2005 Share Posted March 4, 2005 i use this and worksREM WINAMPREG ADD "HKLM\SOFTWARE\Classes\Winamp.File\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,1" /FREG ADD "HKLM\SOFTWARE\Classes\Winamp.Playlist\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,0" /FREG ADD "HKLM\SOFTWARE\Classes\Winamp.SkinZip\DefaultIcon" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe,1" /FREG ADD "HKLM\SOFTWARE\Classes\.ogg" /VE /D "Winamp.File" /FREG ADD "HKLM\SOFTWARE\Classes\.mp3" /VE /D "Winamp.File" /F...from a batch file Link to comment Share on other sites More sharing options...
greekos_kentos Posted March 4, 2005 Author Share Posted March 4, 2005 I can't seem to get the inf to work at all SiMoNsAySThis 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 Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted March 4, 2005 Share Posted March 4, 2005 it is supposed that you install winamp the normal way so it adds the propper keys, right?if not you'll also need to addREG ADD "HKLM\SOFTWARE\Classes\Winamp.File\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /FREG ADD "HKLM\SOFTWARE\Classes\Winamp.Playlist\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /FREG ADD "HKLM\SOFTWARE\Classes\Winamp.Skinzip\shell\open\command" /VE /D "%PROGRAMFILES%\Winamp\Winamp.exe \"%%L\"" /Fdid it worked? i've written from memory Link to comment Share on other sites More sharing options...
greekos_kentos Posted March 4, 2005 Author Share Posted March 4, 2005 did it worked? i've written from memoryLike a charm nice memory, i'm guessing I can just edit this for different file types to?edit: yeah i just put winamp in "$progs" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now