Jump to content

Recommended Posts

Posted (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=26923

Switches:

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

components.png

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

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

winamp.msi Xaudio=1 Xvideo=1

To install Agent

winamp.msi Xagent=1

If you wanted EVERYTHING then use

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

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

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

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

Edited by Alanoll

Posted

Hey man that looks bloody brilliant to me! :thumbup

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

Posted

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

Posted

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.

Posted

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!

Posted
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 :P )

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

Posted

@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? :rolleyes:

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.... :D

sneakyghost

Posted
of course i have seen the examples, watcha think? :rolleyes:

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.... :D

sneakyghost

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

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

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...