mazin Posted July 20, 2004 Author Share Posted July 20, 2004 uninstalled Norton AV. restart. winamp.cmd... same problem!!! Maybe i have a service disabled dat i need for the process? 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 More sharing options...
Marty P Posted July 20, 2004 Share Posted July 20, 2004 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 More sharing options...
bonedaddy Posted July 20, 2004 Share Posted July 20, 2004 @ Marty Pif I may ask what ver of nLite were you using? My problem beforethought to be an anti virus ended up being a nLite problem.......bonedaddy Link to comment Share on other sites More sharing options...
Marty P Posted July 20, 2004 Share Posted July 20, 2004 @ Marty Pif I may ask what ver of nLite were you using? My problem beforethought to be an anti virus ended up being a nLite problem.......bonedaddywell, 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 More sharing options...
mazin Posted July 20, 2004 Author Share Posted July 20, 2004 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 TypesScroll 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 More sharing options...
Marty P Posted July 20, 2004 Share Posted July 20, 2004 MAN that was the whole problem....Finaly solved it Thanks a lot! Link to comment Share on other sites More sharing options...
mazin Posted July 20, 2004 Author Share Posted July 20, 2004 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. Link to comment Share on other sites More sharing options...
bonedaddy Posted July 20, 2004 Share Posted July 20, 2004 aMazin WOW good job mazin, good catchbonedaddy Link to comment Share on other sites More sharing options...
mazin Posted July 20, 2004 Author Share Posted July 20, 2004 aMazin WOW good job mazin, good catchbonedaddyThanks, 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 More sharing options...
bonedaddy Posted July 20, 2004 Share Posted July 20, 2004 oh yes post it..........bonedaddy Link to comment Share on other sites More sharing options...
ZoSTeR Posted July 21, 2004 Share Posted July 21, 2004 Just change Start %systemdrive%\Install\Winamp\winamp.jsintowscript %systemdrive%\Install\Winamp\winamp.jsand you shouldn't have any problems. Link to comment Share on other sites More sharing options...
mazin Posted July 21, 2004 Author Share Posted July 21, 2004 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 offECHO.ECHO Installing Winamp 5.03aCD %systemdrive%\Install\Winamp\Start /wait %systemdrive%\Install\Winamp\winamp.jscopy %systemdrive%\Install\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"ECHO.ECHO Registering for the Pro VersionREG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regname /d YourName /fREG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regkey /d xxxxx-xxxxx-xxxxx-xxxxx /fexitfunction 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 installerwhile (oExec.Status == 0){WScript.Sleep(2000);//time needed by installer to extract its filesgetWin("Winamp Setup", 500);//name of setup screen and time to hold itWshShell.SendKeys ("{ENTER}");//hitting Agree buttonWScript.Sleep(500);//time to wait before executing next keystrokeWshShell.SendKeys ("{TAB}");//moving tabstop to the features paneWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Winamp AgentWScript.Sleep(500);WshShell.SendKeys (" ");//deselecting Winamp AgentWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Winamp LibraryWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Modern Skin SupportWScript.Sleep(500);WshShell.SendKeys (" ");//deselecting Modern Skin SupportWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting User Interface ExtensionsWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Audio File SupportWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Video File SupportWScript.Sleep(500);WshShell.SendKeys ("%{RIGHT}");//expanding Video File SupportWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Nullsoft VideoWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting AVI/MPG/ASFWScript.Sleep(500);WshShell.SendKeys (" ");//deselecting AVI/MPG/ASFWScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Next buttonWScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Next buttonWScript.Sleep(500);WshShell.SendKeys ("{DOWN}");//highlighting Desktop IconWScript.Sleep(500);WshShell.SendKeys (" ");//deselecting Desktop IconWScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Next buttonWScript.Sleep(500);WshShell.SendKeys ("{DOWN 2}");//setting Internet Connection to Not connected...WScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Next buttonWScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Install buttonWScript.Sleep(45000);//time to install Winamp, so no need to sleep.exe NEWWshShell.SendKeys ("%{F4}");//Closing Winamp, so no need to taskkill NEW}WScript.quit(); Link to comment Share on other sites More sharing options...
bonedaddy Posted July 21, 2004 Share Posted July 21, 2004 no IE popups with this? I ended up putting taskkilll on bothsides of js file to prevent IE from coming up.bonedaddy Link to comment Share on other sites More sharing options...
mazin Posted July 21, 2004 Author Share Posted July 21, 2004 no IE popups with this? I ended up putting taskkilll on bothsides of js file to prevent IE from coming up.bonedaddyI 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 More sharing options...
bonedaddy Posted July 21, 2004 Share Posted July 21, 2004 no but I'm preping a new install will add it. thanks bonedaddy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now