Jump to content

Winamp - Selectable Features


mazin

Recommended Posts

uninstalled Norton AV. restart. winamp.cmd... same problem!!! Maybe i have a service disabled dat i need for the process? :rolleyes:

I think this method is not made for me.  I'll try the winamp.msi method. This one is taking too much time!!!! Sorry Mazin  :)

I don't like to surrender unless died.

One of my friends found that his notepad.exe was renamed to notpad.exe, and that was the cause.

Why? Because he was using an alternate text editor which renamed his notepad.exe upon installation.

When he restored the name, the problem was solved.

Link to comment
Share on other sites


I found my notepad.exe in C:\WINDOWS. It is not renamed so i think that is not the problem.

edit:

How do you open a js file? I click on it and it opens in notepad. I think i've chosen to open a js file always with notepad. Is that the problem? And if it is, how do a solve it?

edit2: i think it should open with cmd.

Link to comment
Share on other sites

@ Marty P

if I may ask what ver of nLite were you using? My problem before

thought to be an anti virus ended up being a nLite problem.......

bonedaddy

well, i'm testing the batch in my normal xp machine. Not unattended! So that can't be the problem :)

Link to comment
Share on other sites

I click on it and it opens in notepad.

hmmm... This is why you said that JS popped up!

This is how to re-associate JS extension with wscript.exe:

Go to: Control Panel --> Folder Options --> File Types

Scroll inside the list box till you find the extension "JS". Highlight it, then press the button "Change". The "Open With" dialog biox appears. Scroll inside the list box till you find "Microsoft ® Windows Based Script Host". Highlight it and check the box "Always use the sele...", then press "OK". Press "Apply" on the other dialog box and you're done.

If "Microsoft ® Windows Based Script Host" isn't listed, then press the button "Browse".

Browse to C:\Windows\system32\ and click the file "wscript.exe" found there.

Check the box "Always use the sele...", then press "OK". Press "Apply" on the other dialog box and you're done.

Link to comment
Share on other sites

MAN that was the whole problem....Finaly solved it  :)  Thanks a lot!

Is that all?

NO!

I won't accept anything less than a MacDonald's Big Mac, hot and with a PEPSI mug. :rolleyes:

Link to comment
Share on other sites

aMazin WOW good job mazin, good catch

bonedaddy

Thanks, bonedaddy.

I don't know wether I should modify the first post to reflect Marty P's problem.

I don't think someone else might face the same problem. Do you?

Link to comment
Share on other sites

Here's a simpler instance for the batch and JScript of Winamp v5.03a. Follow the same instructions in the first post. In this instance, you won't need sleep.exe nor taskkill.

cls

@echo off

ECHO.

ECHO Installing Winamp 5.03a

CD %systemdrive%\Install\Winamp\

Start /wait %systemdrive%\Install\Winamp\winamp.js

copy %systemdrive%\Install\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"

ECHO.

ECHO Registering for the Pro Version

REG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regname /d YourName /f

REG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regkey /d xxxxx-xxxxx-xxxxx-xxxxx /f

exit

function getWin(win, inc)

{

var cntr = 0;

while (!WshShell.AppActivate(win))

{

if (cntr==12) return true;

cntr++;

WScript.Sleep(inc);

}

return true;

}

var WshShell = new ActiveXObject("WScript.Shell");

var oExec = WshShell.Exec("winamp.exe");//name of your installer

while (oExec.Status == 0)

{

WScript.Sleep(2000);//time needed by installer to extract its files

getWin("Winamp Setup", 500);//name of setup screen and time to hold it

WshShell.SendKeys ("{ENTER}");//hitting Agree button

WScript.Sleep(500);//time to wait before executing next keystroke

WshShell.SendKeys ("{TAB}");//moving tabstop to the features pane

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Winamp Agent

WScript.Sleep(500);

WshShell.SendKeys (" ");//deselecting Winamp Agent

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Winamp Library

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Modern Skin Support

WScript.Sleep(500);

WshShell.SendKeys (" ");//deselecting Modern Skin Support

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting User Interface Extensions

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Audio File Support

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Video File Support

WScript.Sleep(500);

WshShell.SendKeys ("%{RIGHT}");//expanding Video File Support

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Nullsoft Video

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting AVI/MPG/ASF

WScript.Sleep(500);

WshShell.SendKeys (" ");//deselecting AVI/MPG/ASF

WScript.Sleep(500);

WshShell.SendKeys ("{ENTER}");//hitting Next button

WScript.Sleep(500);

WshShell.SendKeys ("{ENTER}");//hitting Next button

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN}");//highlighting Desktop Icon

WScript.Sleep(500);

WshShell.SendKeys (" ");//deselecting Desktop Icon

WScript.Sleep(500);

WshShell.SendKeys ("{ENTER}");//hitting Next button

WScript.Sleep(500);

WshShell.SendKeys ("{DOWN 2}");//setting Internet Connection to Not connected...

WScript.Sleep(500);

WshShell.SendKeys ("{ENTER}");//hitting Next button

WScript.Sleep(500);

WshShell.SendKeys ("{ENTER}");//hitting Install button

WScript.Sleep(45000);//time to install Winamp, so no need to sleep.exe NEW

WshShell.SendKeys ("%{F4}");//Closing Winamp, so no need to taskkill NEW

}

WScript.quit();

Link to comment
Share on other sites

no IE popups with this? I ended up putting taskkilll on both

sides of js file to prevent IE from coming up.

bonedaddy

I found that adding this line prevents Winamp from connecting to the Internet.

This is because it sets Internet Connection to "Not connected...".

WshShell.SendKeys ("{DOWN 2}");//setting Internet Connection to Not connected...

Have you tried it, yet?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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