Alanoll Posted December 11, 2004 Posted December 11, 2004 (edited) 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=26923Switches: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 2XREGAUD = Associate Audio extensions. Default = 1; Any other will disableXREGVID = Associate Video extensions. Default = 1; Any other will disableUsage: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\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 winamp.msi INI="%systemdrive%\install\winamp\winamp5.ini"NOTE: IF you want to use CDDB functionality, you MUST set XINET to 0 or 1.UpdatesUpdated 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 FilesLast Update: 1/29 03:25 GMT Edited February 21, 2005 by Alanoll
bonedaddy Posted December 11, 2004 Posted December 11, 2004 seems the same as previous ver. (version)thanks Alanoll
Sneakyghost Posted December 11, 2004 Posted December 11, 2004 Hey man that looks bloody brilliant to me! 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 Posted December 11, 2004 Posted December 11, 2004 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 Posted December 12, 2004 Author Posted December 12, 2004 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 Posted December 12, 2004 Posted December 12, 2004 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 Posted December 12, 2004 Posted December 12, 2004 Thanks as always Alanoll, definately one less thing to worry about on my uA CD! B)CheersCee-Kay
MAVERICKS CHOICE Posted December 12, 2004 Posted December 12, 2004 Thanks Mr Alanoll youre the best again son.
Alanoll Posted December 12, 2004 Author Posted December 12, 2004 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 )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
Sneakyghost Posted December 12, 2004 Posted December 12, 2004 @alanoll:good morning.just had my coffee, checked again and found the same. 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? 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=ywere does the /qb or /qn sit? first or last?sorry for being a pain!if u think this is annoying just say so.... sneakyghost
ZileXa Posted December 12, 2004 Posted December 12, 2004 Nice job! I'll be waiting for the 'associate file extensions' version... thats really great!
cino Posted December 12, 2004 Posted December 12, 2004 of course i have seen the examples, watcha think? 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=ywere does the /qb or /qn sit? first or last?sorry for being a pain!if u think this is annoying just say so.... sneakyghostSneakyghost, try this with winamp.ini works ok for me REG ADD %KEY%\1014 /VE /D "WinAmp 5.07" /fREG ADD %KEY%\1014 /V 1 /D "%systemdrive%\install\winamp.msi /qn INI="%systemdrive%\install\winamp.ini"" /f
a06lp Posted December 12, 2004 Posted December 12, 2004 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!!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now