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
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
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