MSFN Forum: Winamp 5.0.4 MSI release - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 9 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Winamp 5.0.4 MSI release Rate Topic: -----

#1 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 29 July 2004 - 01:20 PM

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/...showtopic=17412

Switches:
I'm lazy, and don't want to type up ALL the switches individually, so I believe I'll use an image.
Posted 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
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


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 [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
winamp.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"



I think that's all.....ohyeah.....this screen was added to the installer.....
Posted Image


Download Link: Linkage
Last Update: 8/13 16:48 GMT


#2 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 29 July 2004 - 01:54 PM

there are a mistyped part in your example:

[SETUP]
XAUDIO=1
XVIDO=1


i have download it and i dont have the time to test it but you will be the first to hear what my experience is with the msi

#3 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 29 July 2004 - 01:59 PM

blast it all. I was hoping people read the whole thing :rolleyes:

There isn't a typo in the MSI though :) There are other typos in the post, but hopefully people understand colum is column :D

#4 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 29 July 2004 - 02:49 PM

@Alanoll good work dude! specially the .ini part :) , but tell me if this would work:

Quote

winamp.msi Xfull=1 Xagent=0 Xuser="Me" XKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"


ps: the skin screenshots during installation rules!!

#5 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 29 July 2004 - 03:03 PM

hate to tell you, but no that line won't work. I didn't want to get into complex boolean expressions, so it's simple OR's (if that meant anything to ya :))

Xfull=1 overrides Xagent=0 basically.


One reason INI is good.....don't need that really long commandline to accomplish that. If there are enough bugs in this installer, I'll see about adding in more checking for switches or if I get bored tonight (which is what this installer is, I was bored last night)....

#6 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 29 July 2004 - 07:12 PM

Alanoll, on Jul 29 2004, 11:03 PM, said:

hate to tell you, but no that line won't work. I didn't want to get into complex boolean expressions, so it's simple OR's (if that meant anything to ya :))

Xfull=1 overrides Xagent=0 basically.


One reason INI is good.....don't need that really long commandline to accomplish that. If there are enough bugs in this installer, I'll see about adding in more checking for switches or if I get bored tonight (which is what this installer is, I was bored last night)....

ok... i want to check if i understand it all good. the msi u have created is 5.04 and i can remove my own winamp? and i can choose between 2 ways to install winamp. with ini i can more specify my wishes?

i create a winamp.ini with inside:
[setup]
Xintex=1
Xmodernskin=1
Xaudio=1
Xvisual=1
Xextra=1
Xdircont=1

and other things are disabled by default? (i dont know what xintex and xdircont are but if i dont like them i remove them the next time...)

and in my cmd come a line with:

Quote

start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb


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

have i understand this all right?

#7 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 29 July 2004 - 07:16 PM

look at the above screen shot. If you tell setup to install something that has child (Audio for example), if you specify xaudio=1 but xwma=0, xwma will still be installed because the parent setting overrides the child.

But yes, ANYTHING you don't set =1 will not get installed, as long as you do not set =1 to the parent with =0 to the child. If you don't want all Audio for example, then just exclude it and select the children you want to install.

you put the slash wrong. it's /qb not \qb :)


The INI and commandline do the same things. INI is just cleaner as there isn't a command that goes over 100 characters in length.

But you must specify the path to the INI file to use with INI="PATHTOINI\winamp.ini" when calling the msi.

#8 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 29 July 2004 - 07:21 PM

Alanoll, on Jul 30 2004, 03:16 AM, said:

look at the above screen shot. If you tell setup to install something that has child (Audio for example), if you specify xaudio=1 but xwma=0, xwma will still be installed because the parent setting overrides the child.

But yes, ANYTHING you don't set =1 will not get installed, as long as you do not set =1 to the parent with =0 to the child. If you don't want all Audio for example, then just exclude it and select the children you want to install.

you put the slash wrong. it's /qb not \qb :rolleyes:


The INI and commandline do the same things. INI is just cleaner as there isn't a command that goes over 100 characters in length.

But you must specify the path to the INI file to use with INI="PATHTOINI\winamp.ini" when calling the msi.

ok i have understanding it all good.... i knew that about the switches who overides the smaller switches. so i go build the msi now in....

after that i go to sleep. tommorow i will be back :)

edit: i dont noticed your last line

so it must be:
start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb /INI="install\applications\winamp.ini"
?

edit: ahhh i am sorry. it is 3.31 in the night here and i am a bit sleepy but i mean ofcourse this
start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb /INI="%systemdrive%\install\applications\winamp\winamp.ini"


#9 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 29 July 2004 - 07:27 PM

start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb /INI="%systemdrive%\install\applications\winamp.ini"  


Full path must be specified in INI file. I couldn't quite get the code write to use an INI file in MSI directory or anything.

#10 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 29 July 2004 - 07:57 PM

Quote

hate to tell you, but no that line won't work. I didn't want to get into complex boolean expressions, so it's simple OR's (if that meant anything to ya tongue.gif)

Xfull=1 overrides Xagent=0 basically.


of course :) , that was what i thought but i want to full install winamp without winamp agent and i don't wanted to set all the others switches to 1 :rolleyes:
ok thanks Alanoll [...] downloading and building the .ini file...

#11 User is offline   1chaoticadult 

  • A Part of a Dying Breed...
  • PipPipPipPip
  • Group: Members
  • Posts: 669
  • Joined: 31-August 03

Posted 30 July 2004 - 12:30 AM

the switches don't work for me in VMware or otherwise. Maybe its nLite fault. Oh well I will keep trying. nevermind i got it. Alanoll good work with msi. It works great.

#12 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 30 July 2004 - 12:38 AM

//deleted

#13 User is offline   1chaoticadult 

  • A Part of a Dying Breed...
  • PipPipPipPip
  • Group: Members
  • Posts: 669
  • Joined: 31-August 03

Posted 30 July 2004 - 12:43 AM

*Update* Xuser doesnt put my name in registry instead there is a 0 in its place. I tried with and without the ini. It puts the Xkey value in the registry but thats it.

This post has been edited by drthawhizkid: 30 July 2004 - 01:02 AM


#14 User is offline   1chaoticadult 

  • A Part of a Dying Breed...
  • PipPipPipPip
  • Group: Members
  • Posts: 669
  • Joined: 31-August 03

Posted 30 July 2004 - 02:23 AM

Installs quicklaunch in systemroot which has this directory structure C:\C:\Application Data\Microsoft\Internet Explorer\Quick Launch\Winamp.lnk
Another error I found. Still its not serious just a minor quirk. Again Alanoll thanks for your efforts.

#15 User is offline   Echolomax 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 13-July 04

Posted 30 July 2004 - 03:00 AM

Good job!!! :)

#16 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 30 July 2004 - 04:05 AM

Alanoll, on Jul 30 2004, 03:27 AM, said:

start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb /INI="%systemdrive%\install\applications\winamp.ini"  


Full path must be specified in INI file. I couldn't quite get the code write to use an INI file in MSI directory or anything.

you was wrong with this:
start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb /INI="%systemdrive%\install\applications\winamp.ini"


the backslash before INI must be deleted, also mapped in winamp, otherwise i get errors.

start /wait %systemdrive%\Install\Applications\Winamp\winamp.msi /qb INI="%systemdrive%\install\applications\winamp\winamp.ini"


but thanks, it works, but i havent tested it unattend. i do now test it.

#17 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 July 2004 - 04:17 AM

If I specify an INI to be used, does the setup become automated by implication (or does it only take its values from the INI for a manual setup, like office does from an MST) ?
Or do neither of the above happen when you specify an INI?

Does it become silenced *ONLY* when I use the /QB switch?

#18 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 30 July 2004 - 04:20 AM

@alanoll, i see the switch Xquicklaunch=1 dont work for me...

#19 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 July 2004 - 04:26 AM

This is what I've got to say to Alanoll:
I hadn't used your MSI until now. But the above screen-shots literally psyched me, and I'm hooked. I suppose I'll use your MSI if it turns out to be smaller than the original installer - still downloading, let me see.

EDIT:
4.5 MB? Maybe it could touch down to ~3MB before it would interest me. BTW, the component selection screen could do with a scroller (OfficeXP doesn't scroll the entire window, it only scrolls the "Components" box). I suppose listing the component names is what prevents you from doing that, but I figure it won't be long before your boredom gets the better of you :)
Also, congratulations on such a well-done package.

#20 User is offline   rh-phoenix 

  • Group: Members
  • Posts: 6
  • Joined: 30-June 04

Posted 30 July 2004 - 06:24 AM

Okay, some few remarks:
If you want to use a other Directory than default use this:

winamp_5.0.4.msi INI=%TEMP%\winamp_setup.ini INSTALLDIR="C:\WINAMP_DIR" /qn


If you don't know where your Ini is, just copy it to %TEMP% and delete it afterwards. That always works.

Share this topic:


  • 9 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy