Alanoll Posted September 6, 2004 Posted September 6, 2004 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=17412Switches: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 areXfull = Install ALL components.XName = Username for Pro registrationXKey = Product Key for Pro registrationXDesktop = Creates the Desktop shortcut; Default is 1XQuicklaunch = Creates the Quicklaunch shortcut; Default is 0XStartmenu = Creates the Startmenu shortcuts; Default is 1XAllShort = Creates all shortcuts; Default is 0XSkinsetting = Specify the SKIN to use in Winamp.XINET = Specifies what internet connection you want. 0 = Always; 1 = Modem; 2 = Not Connect. Default is 2Usage: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 Videowinamp.msi Xaudio=1 Xvideo=1To install Agentwinamp.msi Xagent=1If you wanted EVERYTHING then usewinamp.msi Xfull=1and 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 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:[SETUP]XAUDIO=1XVIDEO=1XNAME=Joe UserXKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXI 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 ANYTHING[/] you want. As long as you know where and what it's called.After you have create your INI file, start the install withwinamp.msi INI="%CDROM%\Unattend\winamp.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 winamp.msi INI="%systemdrive%\install\winamp\winamp.ini"NOTE: IF you want to use CDDB functionality, you MUST set XINET to 0 or 1.UpdatesNew MSI, fixed a couple of string error (wrong name). Also tried to make smaller, but probally didn't succeed.Also uploaded a RAR file with the MSI broken down into CAB files. Delete the cab's you don't need. There should be ONE cab for each component switch. DON'T DELETE CORE.CAB!!Download Link: MSI File __ CAB File DownloadLast Update: 9/8 05:52 GMT
tewk_dawg Posted September 7, 2004 Posted September 7, 2004 Trying it now using the INI method, will let you know in about an 20 minutes. Here's my command line in the runonce file and the ini is below.REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\WINAMP\winamp505.msi /qb INI="%systemdrive%\install\WINAMP\winamp.ini"" /f[sETUP]XLIBRARY=1XJUMP=1XMODERNSKIN=1XAUDIO=1XNAME="xxxxxxxx xxxxxx"XKEY="xxxxx-xxxxx-xxxxx-xxxxx"XQUICKLAUNCH=1INSTALLDIR=C:\Program files\WinampXSKINSETTING=Winamp Modern
battleangel3222 Posted September 7, 2004 Posted September 7, 2004 hi. if you please could, verify my runonceex line:REG ADD %KEY%\065 /VE /D "Installing Winamp" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\winamp\winamp.msi Xfull=1 Xuser="S0me0nesmind1="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /qb" /f
Alanoll Posted September 7, 2004 Author Posted September 7, 2004 hi. if you please could, verify my runonceex line:REG ADD %KEY%\065 /VE /D "Installing Winamp" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\winamp\winamp.msi Xfull=1 Xuser="S0me0nesmind1="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /qb" /fincorrect. You forgot to specify XKey
pegasus1010 Posted September 7, 2004 Posted September 7, 2004 bottom of first post:Download Link: LinkageLast Update: 8/13 16:48 GMT....
Orsi Posted September 7, 2004 Posted September 7, 2004 Im being able to make it work Something wrong with the INI file?[sETUP]Xfull=1XNAME=xxxxxxxXKEY=xxxxx-xxxxx-xxxxx-xxxxxOr the command?Winamp_5[1].0.5.msi INI=C:\winamp.ini /qb
Alanoll Posted September 7, 2004 Author Posted September 7, 2004 bottom of first post:Download Link: LinkageLast Update: 8/13 16:48 GMT....whooops. the file is new, the date isn't. I copied the first post from teh other thread, and changed the link. My bad, will correct in a minute.@Orsi What doesn't work? Nothing?try encasing the INI argument with quotes. ( INI="C:\winamp.ini" )
Cee-Kay Posted September 8, 2004 Posted September 8, 2004 Great release as always Alanoll! I simply used my old Winamp.ini that I created from use with your Winamp 5.0.4 release.Seems to work no problem.
prathapml Posted September 8, 2004 Posted September 8, 2004 OK, yeah - cool news Alanoll! You finally managed to get the 5.05 out the door.There's one thing I've been thinking all along - since I so badly need to reduce space usage on my install images (and 4.x MB is not a help there ) do you have any plans of a lite version of wa 5.05?That'd be an interesting option - you could maybe put in only the features that the wa 5.05 lite installer (from nullsoft) gives; and what would it size up to? Sufficiently lesser installer size than the current one? (1.x MB would be perfect)Heh...Maybe this is why they say - "don't do something, because then they'll ask you to do everything". Never mind.... enjoy your day.
XtremeMaC Posted September 8, 2004 Posted September 8, 2004 well if u want specific components I'd say go with Mazin's method. a specific lite version I'm sure could be done (I have 1 for myself, pretty lite ) as u said lite as in nullsoft's lite would be more appropiate I've 1 idea though I'm not sure how it'd be accomplishedmaybe alanoll can put every component into a separate cab file and the msi would only install the one's that exist so the folder contents will look like thiswinamp.msi (about 300kb)audio components.cab (1.5mb)video components.cab (1.5mb)and every main component could have its own sub components if alanoll's willing to spend his time on saving few mb's mp3.cabwma.cabmodernskin.cab
Recommended Posts