Help - Search - Members - Calendar
Full Version: winamp 5.0.3
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
XtremeMaC
Hi there
I've been working on making a msi installer for winamp 5.0.3 even with px.dll biggrin.gif
there will be a config.ini file where things like
video_support=1
audio_support=0 will exist.
i've done the msi, working on the ini system.
I'll hopefully be done latest on the weekend

if nullsoft decides to release another build by then i'll mass email them saying get rid of the stupid nullsoft installer and use windows installer! (i'm pretty sure someone did this but anyways biggrin.gif )

also there must be some nice switches out there for the components.
anyone check the nullsoft forum? my internet is so slow i can barely open msfn. thank god its on the cache biggrin.gif

would anyone be interested in this? i mean if no one wants it, i use the very basic winamp without the new modern skin and other junk stuff, so this would be very pointless for me in no one wants it.

Thanks.
(short live nullsoft installer :/ )
Climbing
:/, well, What's wrong with the nullsoft installer?
hajj_3
i certainly want this, i want to be able to change most if not all the install options that you get when you manually do it.

i dont want modern skin support (as it takes 15mb compared to the old look 3mb.

i dont want winamp agent installed

i dont want winamp library installed.

just those 3 checkboxes from the installer i want unchecked, install everything else as default.

i would be extremely grateful, hopefully will have finished my unattended xp sp2 slipstreamed cd by the weekend, just trying to get these switches sorted then i think its done.

there are alot of bug fixes since the 5.0 version, whch people made .msi's for, 5.03 would be great !
JPamplin
XtremeMaC,

I think it would be helpful to include all components in the installer, but then provide an external ini file that the user could turn off or on all the various components they want. That way, we won't have a hundred different combinations of Winamp 5.03 exe's floating around.

JP
hajj_3
i think thats what he means mate, where we choose either 0 or 1 to either not install or install each of the components! correct me if im wrong !
Alanoll
woot! guess he liked my idea i gave him tongue.gif

though the ini wasn't my idea. I was all for the ALL CAP properties that you can change upon runtime. Then I'd only have one file....
XtremeMaC
@hajj_3 yes everthing is going to be optional

@JPamplin that's what i'm doing smile.gif

@alanoll i couldn't find any info on how to create msi's with all cap properties stuff. I'm still trying to find good info for them if u have it pls share biggrin.gif

@all and i'm dissapointed only 3 ppl want it?
XtremeMaC
if U ppl want to see what it looks like now i can post it.
but doesn't work silently, i mean it works but it fully installs........
goodbye.
hajj_3
there is a new version 5.03a which fixes a few bugs and asks you to register it at the end of the installation, maybe you could possibly make it for this new version if its not too much trouble.
lauredd
You can just archive your winamp 5.03 folder and make a full silent exe install . ( with winrar ) . And for best results ( without the "can't find file px.dll " ) put your px.dll file in the archive .
Run in your .cmd file
Alanoll
if MAC doesn't get one working or whatever in a few days, I'll start making one trying to do what he's done/doing.

The worst part of MSI is updating.....
Alanoll
Mac got in touch with me, and we're working on the MSI together. I didn't bother testing the install as of yet, but I'm working on the conditions and optional component install from commandline.


so far it's working like this...

winamp.msi AUDIO=1 VIDEO=0 AGENT=0 /QB

and Audio will be installed, Video and Agent won't be.
hajj_3
great job mate, cant wait till its finished !!!
Weed
i need the Nullsoft Video (NSV) Video Support for Internet TV...
is it possible with the MSI File to install this but not AVI/MPG/ASF support?
XtremeMaC
well i've included every optional component in the msi file
that's what i've been working on. alanoll i think just wants audio video component.
in my original msi u're very much have the ability to install it/or not install it.
(and yes I've an option in there for just installing nsv, without avi/mpg etc..)
Alanoll
i was just doing prelim testing of the variables, I'll make all of X's components conditional so you have the most control. That does mean more commandline options, but I think i have an idea to reduce it.
XtremeMaC
hey because there are lots of options I was thinking of the ini method
u know this way ppl will set up the ini and from then on they won't have to change it... and they won't have to put quotations or make spelling errors or stuff like that.
it would be like
visualization = 1;
videosupport = 0;
this that =1;
when u put these on to the cmdline it looks UGLY! and long
i'm still trying to find good stuff on it.
i'm reading lots of stuff but i don't yet have the time to do it.....

well if u have an idea to reduce it without losing the components thats cool smile.gif
Alanoll
hmm...

ini would be quite easy with Inno Setup.......like K-Lite uses, but i dunno about MSI.

I'll read up on it too, i agree it would be neater then all on the commandline.


just browsing alittle, shouldn't be too hard to implement...
all we need is a bootstrap setup.exe file to go with the msi.
hajj_3
keep up the hard-work guys are you trying to do this on winamp 5.03 or 5.03a ?

5.03a is supposed to fix a bug with repeating or something, the download size has now changed by 1lkb within the past few days as a result.

an ini file sounds great and a command to run the installer!
Alanoll
5.03
i think he made most of it before 5.03a came out. In anycase, the ONLY file that i found that has changed is winamp.exe and that should be simple to replace.

a better question would be whether he used basic or full to make the msi?
XtremeMaC
i made it from the full 5.0.3

i'll change it to 5.0.3a and i'll add individual /switches thing to it as alanoll's been doing......
Alanoll
i think I've almost got the INI thing figured out. I got a hold of the Windows Installer SDK (it be nice.....) and there is a bootstrap in there.

basically it will go like such...

SETUP.EXE /settings=setup.ini /QB

and then in the ini, it specifies the MSI to use, and then it has the property things like before, but not all on the command line.

Just gotta install VS again to compile a few things
XtremeMaC
QUOTE (AGM65D)
You can use system search to get information from existing INI files. I've tried it and it worked. If you don't want to use system search (which will be performed very early in the installaton) you can also define some custom actions to read INI files. Use the API function GetPrivateProfileStringA to read any value in any INI file.

Look here for more info.

Important: You'd better use a property as a placeholder for that INI file's name.

Good luck !


this was posted to me in installshield forums... that seemed confusing...
Alanoll
he's describing InstallScript in cunjunction with MSI, as well as using a Custom Action to read the INI file.
XtremeMaC
well i knew that smile.gif
anyways i cannot find the 5.0.3a can someone point it at me?
big_gie
Wow can't wait for this finaly smile.gif

Thanks Allanol and Xtreme!!!! I'm sure it will be greatly appreciated from everyone!!!
Alanoll
Mac, the frontpage links on winamp.com point to 5.0.3a

also, i can't find the right bootstrap. So right now, the only way to do it easily is via commandline.
XtremeMaC
ow crap dumb stupid id*** me, i was trying to get the pro thinking it was full blushing.gif
ok i got it now. will be working on it..............


ok as long as we've a working one smile.gif
maybe someday we'll put ini stuff in there as well smile.gif
as a matter of fact u know what i'm gonna do
i'll get an msi that has a ini for it for example adobe reader or something and try to work it out from there
though i should get something other than reader since it doesn't have components to choose from
any basic one's u've in mind that uses an ini?
Alanoll
as we need is a bootstrap the supports the /settings switch

then in the ini you can define properties, like i have already setup. But it's that bootstrap that's a problem.

the SDK one is an internet download one and doesn't support it.

I'll see if Adobe's does.
Alanoll
i still say go witht eh commandline option, it's definately easier tongue.gif
XtremeMaC
i'm almost done with 5.0.3a
its actually done there are like 10-15 updated files
but i did some stupid stuff with path variables
it gets so hard like this to update
so i'm fixing all of them now to easyly update in the future..

cmdline is a go smile.gif thumbup.gif!!
XtremeMaC
BUMP
Alanoll
gooood
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.