Application: Winamp
Category: Media
Description: WinAMP (Windows Audio MPEG Player) is a program from Nullsoft that allows PC users to play audio files, particularly music, in many (but not all) popular digital audio formats, including MS-Audio, wav, and MP3.
Instructions: There are instructions for making Winamp work portably in the root folder.
Download Winamp Portable 5.53 Launcher Beta 3 [426KB download / 570KB installed]
(MD5: 9e065a8cbce2574b7b8da91493dc93ad)
This is the first time I've tried any kind of programming so please post any comments.
Release Notes:
Beta 3 (2008-04-04):
-
edited help file to reflect that winamp.ini is not created without running winamp once
-
added winamp folder to app directory
Beta 2 (2008-04-03):
-
added help file
-
changed portablizing document from txt to html
Beta 1 (2008-04-01): Initial release
Won't launch
When I try to launch WinAmp Portable, I get an error stating that it can't find winamp.exe and to try and re-install. The only variance from the directions is the file path I copied the WinAmp files into from my c: drive. Instead of g:\winampportable\app it was put into g:\PortableApps\WinampPortable\App\. Can you think of a way to correct this in the launcher? Thanks.
Path
Is winamp.exe located at g:\PortableApps\WinampPortable\App\winamp\winamp.exe or is it g:\PortableApps\WinampPortable\App\winamp.exe?
Winamp.exe is located
I moved Winamp files into a Winamp sub directory and now the portable Winamp is working properly. I just have to test it on another computer to make sure my pro registration works.
works well,
but your instructions should be amended, with 5.53 the changes in winamp.ini have to be done after the first start. Perhaps winamp should be configured on the local install and after first run copied over into the launcher. Then the winamp.ini changes respecting needreg=o etc can be done.
"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda
Yeah
Yeah, I think you're right about that. I had already installed winamp and then installed 5.53 over my previous version the instructions said, so I already had the winamp.ini. I go back and edit the directions to reflect this.
one change...
add the winamp folder so people know where to dump the files
Please search before posting. ~Thanks
Update
I've updated the launcher to Beta 3. Changes in the original post.
I am confused
Not quite sure what to do, if someone could make a video tutorial that would be nice.
What are the gracenotes?
May the force be with you.
Gracenote is a company that
Gracenote is a company that makes some of the features in Winamp. These features write to the registry and therefore make the program not portable. Just make sure you don't install any of these features and you'll be fine.
Yeah, I know
Yeah, I know, but which ones are they.
May the force be with you.
If you open up the help
If you open up the help file, it explains exactly what you need to uncheck when you're installing winamp. The Gracenote features are: "CDDB for recognizing CD's" "Playlist Generator" and "Auto-Tagger"
OK,
You've done a pretty good job, but there's a few things you need to fix:
C:\Documents and Settings\[user]\Application Data\WinampVIAddVersionKey LegalCopyright "John T. Haller"toVIAddVersionKey LegalCopyright "PortableApps.com and Contributers".Mathematics for King of the Britons:
"It's not a question of where he grips it! It's a simple question of weight ratios! A five ounce bird could not carry a one pound coconut!"
Alright,
I was looking at the Eraser launcher and it looks like eraser stores its settings in HKCU whereas Winamp stores its setting in HKLM, so I don't understand how this helps me. I did see the part of the launcher where it was deleting entries from HKLM.
If you installed Winamp the right way (per the instructions) you should not have a folder in Documents and Settings. All settings are stored in the program directory. This could be from a previously installed version of Winamp. The portable version will not effect anything in that folder.
I thought I included StrRep.nsh. I'll make sure it's in the next release.
look
Look for the label
BackupHCRin Eraser Portable for the section dealing on the HKLM key.Mathematics for King of the Britons:
"It's not a question of where he grips it! It's a simple question of weight ratios! A five ounce bird could not carry a one pound coconut!"
New Code
So I finally got around to redoing the launcher so it handles the HKLM registry entries properly. I've posted the code below. Can somebody take a look at it to make sure it is right before I post a new launcher?
Thanks
OK...
!define VER "5.5.3.0"should be!define VER "1.5.5.0". VER is the launcher version, not the base app version.LegalCopyright "John T. Haller"toLegalCopyright "PortableApps.com and Contributors"Other than that, It looks okay, although I'm not sure until I get home from school this afternoon. Thanks for updating it.
Mathematics for King of the Britons:
"It's not a question of where he grips it! It's a simple question of weight ratios! A five ounce bird could not carry a one pound coconut!"
Version Number
Where does the version number of the actual program go, or is that not necessary?
Not in the launcher
It goes in the appinfo.ini, the readme and the help file but not into the launcher. (I hope I didn't forget a place)
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Got it
Yeah, I think I've got it in all the other places, I just wasn't sure exactly what the version number in the launcher meant
Can somebody please take a
Can somebody please take a look at the code. I wasn't sure how to handle the HKLM registry entries, but I think I got it. Let me know please so I can update the launcher. I also have a couple of features to add if this is right. Thanks.
What's the programing language
sorry for such a stupid question, but I would like to ask, in what language is that code written, cause it has a syntax which I had never saw before :)
thanks
The launcher is written in
The launcher is written in NSIS.
Winamp.reg not working on Win2000 and WinXP
I have created launcher using the new code posted. Everything works fine only issue is that OS registry file is diff for Win2000 and WinXp.
For Windows 2000 the first line is "REGEDIT4" and for WinXP and above OS it is "Windows Registry Editor Version 5.00". Now it seems that if I launch it in win2k registry setting are imported ok but if launched in winxp 2 keys are created HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft-BackupByWinampPortable which has all settings of reg file from settings folder and HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft which is empty.
It would be better if OS check is done like ver 5.0 and below import winamp.reg and 5.1 and above import winampXP.reg
No other issues seen on this launcher.
HKCR\MIME\Database\Content Type\interface/x-winamp-skin
I don't think it has anything to do with REGEDIT4, because XP has no problem working with old style reg files' headers.
But here's a real issue - the portable version does not delete "HKEY_CLASSES_ROOT\MIME\Database\Content Type\interface/x-winamp-skin" (no, I have not installed any skin).
I tried to change that in both winamp.reg files, but this change is just ignored. Please re-release it with this key removed as well.
BTW, there's no need to define a registry key if you also define its sub-key.
In other words, the new winamp.reg should contain:
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\interface/x-winamp-skin]
[HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp]
No need for also
[HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft]
Winamp.reg not working on Win2000 and WinXP
you are right XP has no problem with old registry file the issue arises when you launch once on XP Pc and then close it and try to re-run it on 2000 PC. 2000 PC is unable to read new format and re-creates from default data does losing all settings.
Hooray, it works in v5.54
But why does it leave behind
?HKEY_CURRENT_USER\Software\Winamp
HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft
Also, your instructions never mention whether or not we should run the uninstallation (UninstWA.exe) in the original folder.
Somebody to Take Over Development
I've recently run into a lot of work and haven't been able to continue the development of this. I am looking for someone to take this over. There are a few things I planned to add to the launcher but never got around to doing.
1. Backup Winamp.ini into the Data folder
2. Backup the skins directory into the Data folder
3. Backup the media library into the Data folder
There are also some reg entries that were never backed up/deleted.
If someone would like to take this over, feel free. All the files are included in the launcher at the top (Test 3). Just post a message somewhere letting me know that you will take it over so I know and I can send you any files you would like.
-Devo
Will Development continue??
I really like this launcher since I am a long-time user of WinAmp Pro. If I was familiar with programming and NSIS I would continue development, but I just really like the launcher. Does anyone know what kind of problems I may run into if I try the included instructions with a newer version (to upgrade my portable installation)? Winamp has released a few bug fixes that I am interested in and the new artist now playing window that I would like to have on my portable but I have held off to see if anyone was going to continue development before I started "trying" different things. Any help or information would be greatly appreciated.
Should be ok...
I'm pretty sure the new version will work with this launcher. Not much has changed in the way Winamp handles it's settings and the registry.
As stated above though, some registry entries will be left on the host machine. These do not have any personal information, but they will let anyone know that Winamp has been used on the computer. They are entries for file types. If you are ok with this then the new version should work just like the old version did.
Again, if there is anybody who would like to pick up development for this please feel free to do so.