Help - Search - Members - Calendar
Full Version: Winamp 5.0.8 Msi Release
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5

   
Google Internet Forums Unattended CD/DVD Guide
Alanoll
Alrighty, here it is.

Background:
This MSI is meant as a complete replacement for the NSIS installer for Winamp. It is a complete recreation of the installer in the Windows Installer format. This conversion allows for command-line switches to be used.

NOTE: This installer is not SILENT by default. You must still use /qb or /qn like you normally would.

For more information, if you don't understand anything here (besides the INI part) refer to here: http://www.msfn.org/board/index.php?showtopic=17412 and http://www.msfn.org/board/index.php?showtopic=26923

Switches:
I'm lazy, and don't want to type up ALL the switches individually, so I believe I'll use an image.

The switches are in the colum just to the RIGHT of all the components. They match up with the components they're in line with.

Additional switches are
CODE
Xfull = Install ALL components.
XName = Username for Pro registration
XKey = Product Key for Pro registration
XDesktop = Creates the Desktop shortcut; Default is 1
XQuicklaunch = Creates the Quicklaunch shortcut; Default is 0
XStartmenu = Creates the Startmenu shortcuts; Default is 1
XAllShort = Creates all shortcuts; Default is 0
XSkinsetting = Specify the SKIN to use in Winamp.
XINET = Specifies what internet connection you want. 0 = Always; 1 = Modem; 2 = Not Connect. Default is 2
XREGAUD = Associate Audio extensions. Default = 1; Any other will disable
XREGVID = Associate Video extensions. Default = 1; Any other will disable


Usage:
To install a component, you MUST tell the installer to install it. By DEFAULT only the main executable (winamp.exe) is installed. All switches are =0. To signal to the installer to install a component, add the switch to the command line with =1.

Examples:
To install Audio and Video
CODE
winamp.msi Xaudio=1 Xvideo=1

To install Agent
CODE
winamp.msi Xagent=1

If you wanted EVERYTHING then use
CODE
winamp.msi Xfull=1

and everything will be installed.


The ONLY ones this does not apply to are XUser,XKey, and XSkinsetting. They are all strings, so use whatever you're supposed. If you used "Joe User" to register Winamp, then use
CODE
winamp.msi Xuser="Joe User" XKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"



INI Usage:
Now for the fun part. New in this release is the ability to use an INI file rather then type it all out at the command line. This file can be called anything, and can be anywhere, because you specify where it is. If the path is not correct and it can't find the file, then the installer may perhaps error out on you.

INI Syntax:
CODE
[SETUP]
XAUDIO=1
XVIDEO=1
XNAME=Joe User
XKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX


I only included a set of the of arguments you could use. They are the exact same names and usage as from command line from above.
Save this file ANYWHERE you want, and call it [b]ANYTHING[/] you want. As long as you know where and what it's called.

After you have create your INI file, start the install with
CODE
winamp.msi INI="%CDROM%\Unattend\winamp5.ini"

the quotes ( " ) are only neccesary when there are spaces, and when used MUST enclose the whole argument. %CDROM% does NOT have to be %CDROM%. If you're files are in %systemdrive%\install\winamp, then use
CODE
winamp.msi INI="%systemdrive%\install\winamp\winamp5.ini"


NOTE: IF you want to use CDDB functionality, you MUST set XINET to 0 or 1.

Updates
Updated MSI to 5.0.8d.
Shortcut problem appears solved, as does the burning thing.
CDDB may require to you change the internet connection type, prior to it working.


Download Link: MSI File | CAB Files
Last Update: 1/29 03:25 GMT
Mr_Mo
Great Work!
bonedaddy
seems the same as previous ver. (version)

thanks Alanoll
Sneakyghost
Hey man that looks bloody brilliant to me! thumbup.gif
an msi for winamp. quite new to me (but on the other hand the whole mfsn-world is new to me).
quite curious how it works. i'll find out soon...
thanks allanoll!
sneakyghost
Sneakyghost
f***ing double-posts...
thx god there'S something like an edit button...
hey-stupid question, but: b4 i download 5.07 from nullsoft, does the msifile cotain winamp already?
file looks kinda big to me...
Alanoll
I can't get the compression down to the same level as NullSoft's original, but the MSI is rebuild of the original (as close to it as possible) installer. EVERYTHING the original installer has this should have.
Sneakyghost
yeah allright i found out already anyway.just wasn't quite sure wether u dare releasing a msi installer version including winamp cuz i think the EULA doesn't quite permit that....
but in the end, they will tell u if they don't like it.
i was just surprised to find it.
something else:
cant get the winamp specific switches to work. only /qn,/qb etc. work. how's the exact syntax? i can just line the switches up with spaces inbetween, can't i?
and the name and serial box don't take copy&paste.
but brilliant job so far. i love it!
Cee-Kay
Thanks as always Alanoll, definately one less thing to worry about on my uA CD! cool.gif

Cheers

Cee-Kay
MAVERICKS CHOICE
Thanks Mr Alanoll youre the best again son.
Alanoll
QUOTE (Sneakyghost @ Dec 11 2004, 06:55 PM)
yeah allright i found out already anyway.just wasn't quite sure wether u dare releasing a msi installer version including winamp cuz i think the EULA doesn't quite permit that....
but in the end, they will tell u if they don't like it.
i was just surprised to find it.
something else:
cant get the winamp specific switches to work. only /qn,/qb etc. work. how's the exact syntax? i can just line the switches up with spaces inbetween, can't i?
and the name and serial box don't take copy&paste.
but brilliant job so far. i love it!

i believe there are examplse of COMMAND-LINE usage in the first post.
The original Winamp switch (/S) doesn't work as well....this is an MSI. ALL Windows Installer command line commands should work (with the exception of /a which bring up a help; which isn't updated tongue.gif )

As for teh copy paste issue....I'll look into. You're the first to notice. lol. Probally just a check box I forgot to click whistling.gif
lilweirddude
oh yay!
thanks Alanoll!
Sneakyghost
@alanoll:
good morning.just had my coffee, checked again and found the same.
QUOTE
i believe there are examplse of COMMAND-LINE usage in the first post.
The original Winamp switch (/S) doesn't work as well....this is an MSI. ALL Windows Installer command line commands should work (with the exception of /a which bring up a help; which isn't updated  )

of course i have seen the examples, watcha think? rolleyes.gif
didn't help though. is there anything i should know about the way i'm applying them:
my way looks like this:
....\winamp5.0.7.msi /qb /Xswitch1=x /Xswitchlast=y
were does the /qb or /qn sit? first or last?
sorry for being a pain!
if u think this is annoying just say so.... biggrin.gif
sneakyghost
ZileXa
Nice job! I'll be waiting for the 'associate file extensions' version... thats really great!
cino
QUOTE (Sneakyghost @ Dec 12 2004, 04:25 AM)
of course i have seen the examples, watcha think? rolleyes.gif
didn't help though. is there anything i should know about the way i'm applying them:
my way looks like this:
....\winamp5.0.7.msi /qb /Xswitch1=x /Xswitchlast=y
were does the /qb or /qn sit? first or last?
sorry for being a pain!
if u think this is annoying just say so.... biggrin.gif
sneakyghost

Sneakyghost, try this with winamp.ini works ok for me

QUOTE
REG ADD %KEY%\1014 /VE /D "WinAmp 5.07" /f
REG ADD %KEY%\1014 /V 1 /D "%systemdrive%\install\winamp.msi /qn INI="%systemdrive%\install\winamp.ini"" /f
a06lp
am i correct in assuming we can use the same INI file we used for the 5.05 release?

also, not to be a pest, but whats the approximate release schedule for the updated MSI (with associations)

thanks!!
Sneakyghost
@chino:
thanx mate. was just about trying that. just didn't want to cuz don't really know how to setup the ini. guess i just have look round the board, but usually i'm to lazy to that...
nevermind.thx for the help. smile.gif
Alanoll
QUOTE (a06lp @ Dec 12 2004, 08:18 AM)
am i correct in assuming we can use the same INI file we used for the 5.05 release?

also, not to be a pest, but whats the approximate release schedule for the updated MSI (with associations)

thanks!!

I was thinking of starting it Wednesday. I'm sure there are gonna be bugs, so just giving a few days for people to find those.

Also, the registering associations works, just as in the same release. What doesn't work is the "User can install the audio components, but still not have Winamp associated to it". That's what's gonna be changed next update.

The INI file is the SAME form the last release, it's good to go.

@Sneakyghost
Guess you're still not seeing the examples tongue.gif
There are NO "/" for the switches. the ONLY "/" you should have is for the /qb or the /qn. All the others are just XFULL=1 or XAUDIO=1 and you just list them out.
midiboy
Hi Alanoll,

thanks for the new msi !

A small bug ...

as with your last msi, the playback of wav etc. files does not work after installation. The wave input module does not have those associated after installation !

Thanks !
Alex
Dynaletik
Hey Alanoll...great work again ! thumbup.gif

Does anyone know what the file PXSDKPLS.dll in the Winamp directory is for?

I'm slimming down my install so I install Winamp with the following INI:

CODE
[SETUP]
XMODERNSKIN=1
XAUDIO=1
XNSV=1
XWRITEWAV=1
XDCOUT=1
XNAME=Dynaletik
XKEY=XXXXX-XXXXX-XXXXX-XXXXX
XDesktop=0
XQuicklaunch=0


and after that I delete some files that I don't need

CODE
DEL "%programfiles%\Winamp\Plugins\milkdrop.html"
DEL "%programfiles%\Winamp\Winamp.m3u"
DEL "%programfiles%\Winamp\demo.mp3"
DEL "%programfiles%\Winamp\whatsnew.txt"
DEL "%programfiles%\Winamp\winampmb.htm"
Sneakyghost
@alanoll:
oh my god i'm so sorry 4 being such a pest!
cause ur right!
that happens quite often when i'm reading stuff. i do see and i don't.just not looking properly.
sorry about that!
sneakyghost no.gif
Alanoll
@Dynaletik
it's part of the Sonic Burning components.

@midiboy
Curses. But I knew there would be atleast one bug. lol. Guess I gotta go try and find a WAV file.
Thauzar
Thanks Allanoll for this new release. What would we do without you? tongue.gif
Lucius Snow
Thank you smile.gif
No_Style
Many kudos to you, Alanoll. Thanks for the update smile.gif
durex
awesome work man...

quick ?... would it be easy to intregrate an additional swicth that would allow to specify the installation path?
Alanoll
there already is one, built into Windows Installer. INSTALLDIR

It should also be usable via INI, if not I'll add it next revision, but it should always be available via command-line
a06lp
QUOTE (Alanoll @ Dec 15 2004, 09:30 PM)
if not I'll add it next revision

speaking of the next revision... whistling.gif
Alanoll
QUOTE (a06lp @ Dec 15 2004, 10:09 PM)
QUOTE (Alanoll @ Dec 15 2004, 09:30 PM)
if not I'll add it next revision

speaking of the next revision... whistling.gif

yeah yeah...
since only one bug was noticed, gotta remember how I fixed that. But expect it tomorrow....

I got alittle tied up doing research on PHP and MySQL for the Unattended Website
a06lp
QUOTE (Alanoll @ Dec 16 2004, 12:29 AM)
yeah yeah...
since only one bug was noticed, gotta remember how I fixed that. But expect it tomorrow....

I got alittle tied up doing research on PHP and MySQL for the Unattended Website

no prob.
i really appreciate you doing this. thanks so much.
durex
QUOTE (Alanoll @ Dec 15 2004, 07:30 PM)
there already is one, built into Windows Installer. INSTALLDIR

It should also be usable via INI, if not I'll add it next revision, but it should always be available via command-line

This works right from the ini file.. thx a bunch Alanoll

btw.. in that screen shot, starting at xjump, all of the parameters are off by 1 and xtray is at there bottom where it should be directly after xjump.. someone may have already pointed this out as I havent read through this entire thread.

thanks again! made this process SO much easier!
Alanoll
Well, I don't even think the screenshot resembles the current build anyways tongue.gif
bmn
iam using wpi to install softawre.i downloaded winamp.msi file from 1st post and used this code to install

prog[pn]=['Winamp 5.0.7']
desc[pn]=['With Winamp Pro,']
cmd1[pn]=['%cdrom%\\Install\\winamp\\winamp.msi INI="%CDROM%\Install\winamp\winamp.ini"']
cmd2[pn]=['pskill.exe winamp.exe']
dflt[pn]=['yes']
pn++

and my winamp.ini consist of
[SETUP]
XAUDIO=1
XVIDEO=0
XNAME=xxxxxxxxx
XKEY=xxxxxxxxxxx

this setting failed when i tested it on virtual machine.
what to do
help pls
Astalavista
QUOTE
cmd1[pn]=['%cdrom%\\Install\\winamp\\winamp.msi INI="%CDROM%\Install\winamp\winamp.ini"']


it should be

cmd1[pn]=['%cdrom%\\Install\\winamp\\winamp.msi INI="%CDROM%\\Install\\winamp\\winamp.ini"']
Alanoll
I really need to put a disclaimer somewhere....
QUOTE
If you use a method other then BATCH SCRIPT, I have NO GUARANTEE that I will be able to get your code to work


@bmn
I believe Astalavista is correct, however I can't confirm as I don't use WPI.
a06lp
actually, this is the correct code, and ive tested it a million times:

cmd1[pn]=['msiexec.exe /qb /i %cdrom%\\Applications\\Winamp\\Winamp505.msi INI="%cdrom%\\Applications\\Winamp\\winamp505.ini"']


now i'm just waiting for the MSI release of 5.07. but the method will be the same.
Alanoll
@a06lp
you do know it's been released right? The only thing missing is the XREGAUD to allow you to say "NO DON'T REGISTER ASSOCAITIONS"
a06lp
i thought there was some kind of problem with .WAV files???
<confused>
Alanoll
oh, you're waiting for that?
It's a slight problem in the INI file created during install. Typed in the wrong number or something, I'll fix that right away. Workaround is to go into the plugins, select the WAV one, and then select the file types.
a06lp
QUOTE (Alanoll @ Dec 18 2004, 09:00 PM)
oh, you're waiting for that?

Yeah, only because I use my UDVD on many computers and don't want to be bothered fixing each one.

Let me know when it's ready. smile.gif
a06lp
[deleted]
a06lp
have you had a chance to fix that wav problem?
Alanoll
QUOTE (a06lp @ Dec 21 2004, 07:25 AM)
have you had a chance to fix that wav problem?

yes, but I've been trying to get the XREGAUD working as well, but my mother has been putting me to work since I came home for hte holidays.... realmad.gif
durex
Quick question.. to use the "XSkinsetting", does the skin need to be in the same directory as the msi or already placed in the winamp skin directory? Also, do you set it to the skin filename or the name of the skin?

Thanks.
Alanoll
the skin must be in the DESTINATION install directory, and use the NAME of the skin, not the filename of it.
larciel
i need help.. here;s my .cmd for winamp

CODE
"winamp.msi INI="c:\winamp.ini" /qb"


and here's my ini file
CODE
[SETUP]
xagent=1
xlibrary=1
xintex=1
xmodernskin=1
xaduio=1
xvideo=0
xvisual=0
xextra=1
xdircont=1
xtypecont=1
xnetscape=0
xtray=0


well, when i click the .cmd file.. nothing happens. no error signs, so i guess the files are in correct place.

any guess?

tia

*edit*

removed the silent switch and clicked 'run' button when windows prompted for it, and INI file was recognized and installed according to it.. so i'm guessing problem w/ silent switch.
Alanoll
put the /qb BEFORE the INI switch, and try again.
a06lp
dare i ask again about the new, fixed MSI release?
larciel
QUOTE (Alanoll @ Dec 22 2004, 10:23 AM)
put the /qb BEFORE the INI switch, and try again.

CODE
C:\>"winamp.msi /qb INI="c:\winamp.ini""
The filename, directory name, or volume label syntax is incorrect.


gives me this error when ran by cmd

hmm.. tried my best.. need help smile.gif


*edit*

tried just silent switch

CODE
%systemdrive%\winamp.msi /qn


and it doesn't work.. so i'm guessing the switch /qn /qb doesn't work in this case.. right? smack me if i'm wrong .
Alanoll
SMACK!

leave out the INI for now.
WINAMP.MSI is in C:\ i take it?
Can you execute it alone? without /qb or /qn?

if it runs, cancel it.

execute it with this line
CODE
msiexec.exe /i C:\Winamp.msi /qb

Leave the quotes out for now, just see if that runs. If it does, try it without msiexec.exe. If it continues to work, add INI= either AFTER /qb or before, I suggest after, but I'm unsure.

FYI - You're the ONLY one with this problem, so it's something you're doing wrong.

Also, redownload the MSI, it's best you do newwink.gif
larciel
the code you posted, works fine.

if i leave out the msiexe.exe /i part , silent install will not work

*redownloaded msi. same thing

hmm.. i know i'm doing something wrong, but i can't quite get a grasp of it tongue.gif
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.