Help - Search - Members - Calendar
Full Version: Winamp
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
mazin
Winamp 5.03a - in two minutes

Well!

So far, this is the only way I can share my MSI for Winamp. If you are interested in getting Winamp this way, then make your own CAB file as mentioned below. Next, you download my MSI and use both MSI+CAB to install Winamp silently.

All features of Winamp are available on the command line as well as in attended mode. Registration is also available on command line.

1- Creating the CAB

1- Download Winamp 5.03a from here, if you haven't already done so.

2- Install Winamp with all of its features and sub-features,i.e., in "Full" mode.
Go to C:\Program Files\Winamp\ and open the file "winamp.m3u" in notepad, then delete its contents except the first line "#EXTM3U". Save changes and close "winamp.m3u".

3- Copy the whole folder of installed Winamp into drive C, so it looks this way: C:\Winamp.

4- At the bottom of this post, download the file prepare.rar (93 KB), then extract it into drive C, too. You should have these files extracted:

1- C:\precab.cmd ----> run this file first
2- C:\ren.cmd ----> run this file second
3- C:\cab.cmd ----> run this file third
4- C:\winamp.ddf ----> this file is needed by cab.cmd
5- C:\MSI2.cab ----> keep this file as we'll need it later

After you finish running the first three cmd files, a folder named "disk1" (C:\disk1) is created.
Open "disk1" folder, take out "Winamp1.cab", and store it wherever you want.

Please be informed that each cmd file ends with PAUSE and EXIT commands. So, you need to "press any key to continue..." before running the next cmd file.

Now that you have had Winamp1.cab, continue reading the next post for how to get Winamp.msi, too.
mazin
2- Getting the MSI

At the bottom of this post, download MSI1.cab (125 KB) and put it in one place with MSI2.cab you've downloaded from above.

Right-click MSI1.cab and "Extract Here" with WinRAR. You should have Winamp.rar file.
Right-click Winamp.rar and "Extract Here" with WinRAR. You should have Winamp.msi extracted into the same directory. Store Winamp.msi along with Winamp1.cab from above as they're both needed for installing Winamp5.03a.

Delete all objects you've used, other than Winamp1.cab and Winamp.msi, as they are no longer needed.

>> Command line switches

I built command line switches on the assumption that most users need the most features. So, we use fewer switches if we want to exclude fewer features.

To exclude a feature or a sub-feature, type ?=0 or ??=0 according to its assigned symbol (switch).

Example 1: (exclude Video File Support feature and its sub-features)
start /wait %systemdrive%\Install\Winamp\Winamp.msi V=0 /qn
Example 2: (exclude Nullsoft Video sub-feature only)
start /wait %systemdrive%\Install\Winamp\Winamp.msi VN=0 /qn
Example 3: (exclude Winamp Agent + Modern Skin Support + Video File Support)
start /wait %systemdrive%\Install\Winamp\Winamp.msi G=0 M=0 V=0 /qn
Example 4: (exclude nothing)
start /wait %systemdrive%\Install\Winamp\Winamp.msi /qn

To register for the Pro version, add K and N switches to your command line:
K=XXXXX-XXXXX-XXXXX-XXXXX N=YourName OR N="Your Name"

>> Assigned Symbols

Audio File Support A
- Windows Media Audio (WMA) AA
- MIDI AM
- MOD/XM/S3M/IT AD
- OGG Vorbis Playback AG
- AAC encoding AC
- MP3 encoding A3
- MP4 support A4
- CD playback and extraction AP
- CDDB for recognizing CDs AB
- Sonic Ripping/Burning support AS
- WAV/VOC/AU/AIFF AW

Extra Audio Output/Effect Support E
- Signal Processor Studio ES
- Support for writing WAV files EW
- DirectSound output support ED

Modern Skin Support M

User Interface Extensions U
- Golbal Hotkeys UK
- Jump to file UJ

Video File Support V
- Nullsoft Video (NSV) VN
- AVI/MPG/ASF VA

Visualization Z
- Advanced Visualization Studio ZA
- MilkDrop ZM
- Nullsoft Tiny Fullscreen ZT

Winamp Agent G

Winamp Library L

Hoping my share is of any help, please feel free to comment or report what you want.
XtremeMaC
ahha competition smile.gif
although it looks nice I can't help it but say how is this done in 2 min? even reading and understanding is kind of hard and u have plenty of files to deal with

why not go with my + alanoll's msi? u just need to put the switches?

I mean I know i'm critisizing u a lot but I just don't get why u'd want to move away from just 1 file to several files??

I do appriciate the time & effort...

u probably knew that I was going to do this right biggrin.gif
sorry I couldn't help it
r0sWell
hi,

I have tried to make my Winamp 5.03 Pro silent install with your recommandations, but using my own Winamp503pro.exe file.
And it seems that the 7 files nammed "metXXXX.vmd" are always differents for each installation.
(i notice that cause i have installed Winamp many times to avoid this error, no success).


for example, this time mine are nammed :
metAB10.vmd
metAB20.vmd
metAB2F.vmd
metAB3F.vmd
metAB4E.vmd
metBAE2.vmd
metBB11.vmd
+
default.vmd


can you help me please ?

i just want to install my Winamp 5.03 Pro without the Agent & the AVI support, but i don't know how to make it work.

Perhaps i could modify your Winamp.msi in order to find & rename the 7 *.vmd but i don't know how.



thx in advance.
XtremeMaC
those vmd files get created different everytime u install winamp as u said
the records of those files are in the library file which I cannot recall now.
in my + alanoll's msi those files are set to be the same for each computer and the other files are changed accordingly
so look at the *ml* file (I don't remember now)
SiMoNsAyS
@r0sWell the solution to the problem of met files it's simple but i think mazin didn't take note of it.
first edit your winamp.ddf file with notepad and search for met****.vmd files, then look for your C:\winamp1 directory, there will be another 7 met****.vmd, so ren the files in the winamp.ddf list to look the same as yours. and that's all you only have to change 28 digits in your file tongue.gif

@mazin please incluse this in some of your 2 posts. your installation it's not as complicated as useful if you think the switches u can choose in the install process and u don't need pskill or other extra tools. and the problem with the cab files and etc it's because of the space that let u use in the post.
mazin
Thank you all for your feedback.

The problem of VMDs is fixed. Please, download the two files again (prepare.rar+MSI1.cab).

Thanks again for your support.
r0sWell
thx for your support, i don't have time now but i'll try agin tomorrow.
mazin
r0sWell

Both "gen_ml.ini" and the 7 VMDs are not needed to be in the package. Winamp creates them on the first use. So, I deleted all references of them.

And, as SiMoNsAyS said, I didn't take note of them, really.

Sorry for this mess. Your feedback is always welcome.
r0sWell
i'm sure it works now, but in my install i cannot find the "winamp.pic" file !

what is this file ?
when i install my 'normal' version of Winamp 503, this file isn't installed.
i don't find it.


can u help me please ?
XtremeMaC
that file gets created with execution of the modern skin plugin (i think that's right) if not its one other plugin I cannot check right now..
mazin
Fixed. Please, download them again.
r0sWell
thank you very much for your method, it's now OK for me yes.gif

no error. fast install. perfect thumbup.gif
u should ask to publish this method on the 'MSFN unattended guide' on the Winamp section cool.gif


now i will try to auto-set a personal skin on the installation.
Alanoll
considering 4 people have tried it?
mazin
Thank you r0sWell for your effort. I wish I had noticed those problems before uploading the files.

Still, I need your feedback about Winamp itself. I want to be sure it works well on your machine as it does on mine.

Thank you.
r0sWell
i have installed using your method my own Winamp 503 pro edition.


-> i have installed it, then back up the winamp directory in C:\

-> i did exactly what your said in your method => i obtain winamp.msi & winamp1.cab

-> i bring them & put them to C:\Hotfixes\Winamp\ (my test directory, cause i use %systemdrive%\Hotfixe\Winamp\ in my unattended XP)

-> i made an enregistrement.reg file (in english ~ 'recording' : to put in the registry my name & my key for Winamp)

-> i made a batch file to test if the install work silently :
here is the code :

CODE
CLS
@echo off
echo Install of Winamp 5.03 Pro
echo Plz wait...
start /wait %systemdrive%\Hotfixes\Winamp\Winamp.msi VA=0 G=0 /qn
PAUSE
echo ...product key...
REGEDIT /S %systemdrive%\Hotfixes\Winamp\enregistrement.reg
PAUSE
echo ...skins...
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\Act3scene2_-_prototype.wal %systemdrive%\"Program Files"\winamp\Skins\Act3scene2_-_prototype.wal
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\Classix_10k_Modern.wal %systemdrive%\"Program Files"\winamp\Skins\Classix_10k_Modern.wal
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\RemoteSensing.wal %systemdrive%\"Program Files"\winamp\Skins\RemoteSensing.wal
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\The_Punisher.wal %systemdrive%\"Program Files"\winamp\Skins\The_Punisher.wal
PAUSE
echo OK.



After that, i launch Winamp to see how it looks...
Ok it's good yes.gif




There are some 'things' that are not as before, for example i want to set a personal skin instead of the modern default.

+, i will install the MPC plugin & the MAD plugin (for great sound on Audigy 2 ZS sound cards thumbup.gif because it can make MP3s in 24bit audio).

+, the icons are not as i want, so in the options after installation, i go to change them (but i don't really know if these icons in taskbar, systray, files & playlists can be pre-choosen...)


But, instead of these 'things i have to change after', the silent install works perfectly.
One last detail, the Uninstall icon isn't shown in the Winamp directory. To uninstall winamp i have to go in the Add/Suppress menu to uninstall it.

Very good job. cool.gif
XtremeMaC
u can change the icons by editing the winamp.ini
I use these
whichicon=3
whichicon2=9

for the skin u can also use the winamp.ini
skin= (I don't use any biggrin.gif)
mazin
Thanks, r0sWell.

Then you configured Winamp as you usually do after installation. And you preferred using a reg file for registering Winamp instead of the switches K and N.
To uninstall Winamp, you use "Add or Remove Programs" in your Control Panel.

Thank you for feedback.
r0sWell
no problem yes.gif
i have to thank you for your method.

for the reg file, i had already made it before trying your silent install method. So i kept it.




thx XtremeMaC i will try this.
mazin
r0sWell

I have a good suggestion for you and for others who like to install something additional like skins or visualizations.

It works for apps that have no setup routine like the skins you added to your installation.

And you'll have the ability to uninstall what you installed via "Add or Remove Programs" as usual.

Would you like something like this?
r0sWell
QUOTE (mazin @ Jun 14 2004, 08:30 AM)
r0sWell

I have a good suggestion for you and for others who like to install something additional like skins or visualizations.

It works for apps that have no setup routine like the skins you added to your installation.

And you'll have the ability to uninstall what you installed via "Add or Remove Programs" as usual.

Would you like something like this?

what type of file can use it ?
& it can be useful yes.gif



so,
here is my pre-final batch for Winamp :

CODE
echo Installation of WinAMP 5.03 Pro
echo Wait...
start /wait %systemdrive%\Hotfixes\Winamp\Winamp.msi VA=0 G=0 /qn
echo -Done.
echo ...product key...
REGEDIT /S %systemdrive%\Hotfixes\Winamp\enregistrement.reg
echo -Done.
echo ...copying skins...
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\Act3scene2_-_prototype.wal %systemdrive%\"Program Files"\winamp\Skins\Act3scene2_-_prototype.wal
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\Classix_10k_Modern.wal %systemdrive%\"Program Files"\winamp\Skins\Classix_10k_Modern.wal
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\RemoteSensing.wal %systemdrive%\"Program Files"\winamp\Skins\RemoteSensing.wal
copy /Y %systemdrive%\Hotfixes\Winamp\Skins\The_Punisher.wal %systemdrive%\"Program Files"\winamp\Skins\The_Punisher.wal
echo -Done.
echo ...installation of MPC and MAD plugins...
start /wait %systemdrive%\Hotfixes\Winamp\in_mpc_0.99d.exe /S
start /wait %systemdrive%\Hotfixes\Winamp\in_MAD_0.14.2b.exe /S
echo -Done
echo ...parameters...
copy /Y %systemdrive%\Hotfixes\Winamp\Winamp.ini %systemdrive%\"Program Files"\winamp\Winamp.ini
echo OK.



i don't already had the time to do an install with VMware but i tested it (without plugins installation) and it works well.
mazin
Additional skins and visualizations, or any other add-ons and plugins, for Winamp can be packed inside a separate MSI.

This can be done on condition that those add-ons are not EXE files. These skins, for example, can be packed the way I mean:

- Act3scene2_-_prototype.wal
- Classix_10k_Modern.wal
- RemoteSensing.wal
- The_Punisher.wal

If you are interested in packing all your add-ons of that type (not exe) in one MSI file, then consider using the simple utility "msicreate" downloadable from here:

http://www.cornerhouse.ca/download/msicreate.msi


msicreate is free for non-commercial use and 464 KB in size. It needs no experience in MSI editing, at all.

Put the files you need to pack in their intended locations like C:\Program Files\Winamp\Skins\MySkins, for example.
Then, run msicreate and add the files. After you finish adding all your files, click "Build" on the toolbar, and that's it.

The resulting file is "somename.msi" that can be run in silent mode with the switch /qn, installing your files to where you added them from.

You can uninstall those files again from your Control Panel as usual, in case you have a newer version of them that you want to replace.
r0sWell
very interesting, not only for skins smile.gif

thx for the link, i'll try this tool.
XtremeMaC
wow cool!! thanks !!
mazin
There are other simple tools on the same site, too.
XtremeMaC
no i had not known about it... I'm sure there are plenty of tools that I don't know of...
mrcharliebrown
unsure.gif
All I did was add this to my RunOnceEx:
REG ADD %KEY%\050 /VE /D "Winamp 5" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\Winamp\winamp501_full.exe /S /install=RFQ" /f
REG ADD %KEY%\050 /V 2 /D "taskkill.exe /F /IM winamp.exe" /f

Then add this to my clean-up:
RD /S /Q "%systemdrive%\Program Files\Winamp\AOD
DEL "%systemdrive%\Documents and Settings\All Users\Desktop\Internet Service $9.95.lnk
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Internet Service $9.95.lnk"
DEL "%systemdrive%\Documents and Settings\Administrator\Favorites\Internet Service $9.95.lnk
DEL "%systemdrive%\Documents and Settings\Administrator\Favorites\Links\Internet Service $9.95.lnk
mazin
Good work. Winamp can be installed silently in different ways. Sure, you're right.

Still, my MSI provides the possibility of deciding what to install and what to exclude.

You're absolutely free in how to install Winamp. Thanks.
Danswu
hello,

this guide is very interesting!
But I have a question?
Can I create with the help of this guide a Winamp 5.21 Installation?
The guide is very old and so i don`t know it.
Thank you for your help!!!
danswu


---I know, my english is very bad!! rolleyes.gif
Aaron_
Your first post and you bump a 2 years old topic. unsure.gif unsure.gif unsure.gif

There are newer topics about winamp unattended installation. Try the search bar. yes.gif
rickytheanuj
I tried to use your attached file to create msi winamp install for mp winamp5.35. i m not able to create that.



help to create msi installer for winamp5.35
mazin
I'm sorry, man. Each version has different files and reg keys.

There are newer versions of Winamp MSIs on forums. Search for one.

Good Bye!




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.