MSFN Forum: Winamp - Selectable Features - 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
  • 10 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Winamp - Selectable Features Rate Topic: -----

#41 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

Posted 18 July 2004 - 11:37 AM

I've put the sleep.exe in my \XP\CD-ROOT\I386\SYSTEM32 directory. But when i run the batch i get the error again. Can't find the sleep file. Do i have to put the sleep.exe in a main.cmd to extract it in the system32 dir?


#42 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 18 July 2004 - 11:46 AM

Marty P, on Jul 18 2004, 08:37 PM, said:

I've put the sleep.exe in my \XP\CD-ROOT\I386\SYSTEM32 directory. But when i run the batch i get the error again. Can't find the sleep file. Do i have to put the sleep.exe in a main.cmd to extract it in the system32 dir?

Here's where to put sleep.exe

C:\XPCD\$OEM$\$$\System32\

#43 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

Posted 18 July 2004 - 12:14 PM

Oke thanx, i'll try that

#44 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

Posted 18 July 2004 - 02:18 PM

I dont understand it. I'm testing the batch on my pc (not a complete unattended cd in vmware), with these settings:

the winamp.js file for winamp 2.91
------------------------------------------------------------------------
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");
while (oExec.Status == 0)
{
WScript.Sleep(4000);
getWin("Winamp Setup", 500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("%{RIGHT}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(900);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{UP}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
}
WScript.quit();
---------------------------------------------------------------------------------------

and this is the winamp.cmd:
---------------------------------------------------------------------------------------
CLS
@echo off
ECHO.

ECHO Installing Winamp 2.91
echo [WinampReg]>c:\Winamp\winamp.ini
echo IsFirstInst=>>c:\Winamp\winamp.ini
echo NeedReg=>>c:\Winamp\winamp.ini
CD c:\Winamp
start c:\Winamp\winamp.js
sleep 5
taskkill /F /IM WINAMP.EXE
copy c:\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"
ECHO.

when the batch begins the winamp.js pops-up and i see the cmd :installing winamp 2.91. That last for 60 sec. and then the cmd stops and nothing happend!!! What am i doing wrong? :)

#45 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 18 July 2004 - 04:44 PM

Well!

I've got v2.91 and I'll test your work and let you know.

#46 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 18 July 2004 - 07:18 PM

Please, do the following to make a real test:

0- Put sleep.exe in C:\Windows\System32\

1- Uninstall Winamp 2.91 if it's already installed on your computer.

2- Go to C:\Windows\ and delete the file "winamp.ini".

3- Go to C:\Program Files\ and delete the folder "Winamp" if it's still there.

4- Create a folder in the root of drive C and name it "Install".

5- Inside "Install", create a folder and name it "Winamp".

6- Put these files inside the folder "Winamp":

- Winamp.exe (renamed from winamp291_full.exe to winamp.exe)
- winamp.js (posted below, according to your customized installation)
- winamp.ini (not needed by installation itself, but to have Winamp pre-configured)

This means that the three files are in this path:

C:\Install\Winamp\Winamp.exe
C:\Install\Winamp\Winamp.js
C:\Install\Winamp\Winamp.ini

7- Create a CMD file to contain the following:

your batch said:

CLS
@echo off
ECHO.
ECHO Installing Winamp 2.91
CD %systemdrive%\Install\Winamp\
start %systemdrive%\Install\Winamp\winamp.js
sleep 20
taskkill /F /IM WINAMP.EXE
copy %systemdrive%\Install\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"
EXIT

Name it "main.cmd" or whatever you want. Put it inside the folder "Install". This means that the path to it is:

C:\Install\main.cmd

8- Close any open Windows, so that you see your desktop. Go to Start --> Run and type the following, then press Enter:

C:\Install\main.cmd

Stay tuned! :)

winamp.js said:

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");
while (oExec.Status == 0)
{
WScript.Sleep(2000);
getWin("Winamp Setup", 500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB 3}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(5000);
WshShell.SendKeys ("{TAB 2}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN 2}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{UP}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
}
WScript.quit();


#47 User is offline   piechdibi 

  • Group: Members
  • Posts: 7
  • Joined: 16-July 04

Posted 19 July 2004 - 04:43 AM

HI! I've got a problem downloading the pdf file on the first post, apparently, it is corrupted...
Can anyone re-post it, please?
Thanks a lot
PH

#48 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 19 July 2004 - 04:58 AM

Right-click and Save Target As... from the shortcut menu.

#49 User is offline   piechdibi 

  • Group: Members
  • Posts: 7
  • Joined: 16-July 04

Posted 19 July 2004 - 05:02 AM

I was using Firefox, but with IE it works. Weird !!! :)

#50 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 19 July 2004 - 05:16 AM

piechdibi, on Jul 19 2004, 02:02 PM, said:

I was using Firefox, but with IE it works. Weird !!!  :)

NP! You're welcome.

#51 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 19 July 2004 - 11:15 AM

mazin, on Jul 19 2004, 04:18 AM, said:

Please, do the following to make a real test:

0- Put sleep.exe in C:\Windows\System32\

....

.....

Still, you can simplify the installation process much more, by using this batch instead:

your batch said:

CLS
@echo off
ECHO.
ECHO Installing Winamp 2.91
CD %systemdrive%\Install\Winamp\
start /wait %systemdrive%\Install\Winamp\winamp.js
copy %systemdrive%\Install\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"
EXIT


Yes! No sleep and no taskkill!

Then, add these two lines at the end of your script:

WScript.Sleep(2000);
WshShell.SendKeys ("%{F4}");


This means that the last part in your script looks like this:

WScript.Sleep(2000);
WshShell.SendKeys ("%{F4}");
}
WScript.quit();


Other things remain unchanged.
______________________________________________________________

Well!

Because some setup screens of v2.91 are different from v5.0x, here's another PDF tutorial for v2.91 and similar versions. Right-click and "Save Target As...".

#52 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

  Posted 19 July 2004 - 02:33 PM

well i tried it your way and still no succes. The winamp.ini is still needed? When the batch runs i see installing winamp 2.91 en the winamp.js pops-up. then nothing happens :)

#53 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 19 July 2004 - 02:43 PM

Marty P, on Jul 19 2004, 11:33 PM, said:

well i tried it your way and still no succes. The winamp.ini is still needed? When the batch runs i see  installing winamp 2.91 en the winamp.js pops-up. then nothing happens  :)

Pardon! I doubt it!

Probably, you didn't follow the instructions well.

Both methods were tested on my PC, with and without sleep & taskkill.

And, what do you mean by "winamp.js pops-up"? Do you have some antivirus program running at the time of installation?

winamp.js does not show itself up in any way.

EDIT:

Also, you might have installed the lite version of WinXP, so some components are missing from your system.
Look in C:\Windows\system32\ for the file "wscript.exe". This file is needed if you're going to run scripts.

#54 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

  Posted 19 July 2004 - 08:04 PM

mazin, on Jul 19 2004, 02:43 PM, said:

[QUOTE= And, what do you mean by "winamp.js pops-up"? Do you have some antivirus program running at the time of installation? winamp.js does not show itself up in any way.

Also, you might have installed the lite version of WinXP, so some components are missing from your system.
Look in C:\Windows\system32\ for the file "wscript.exe". This file is needed if you're going to run scripts.


Yes i think i had norton running at the time of testing. I will shut it down the next time. wscript.exe i have in my xp version. But i used nlite. but i think wscript is still in it.

but my winamp.ini ..... first instal winamp and then get the winamp.ine file and after that copy it to c:\instal\winamp.. and after that delete the file from c:\windows. thats the wright way to do it hu

#55 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 20 July 2004 - 02:50 AM

Some antivirus programs disallow running scripts. This is not limited to JScripts only, but any scripts.

If you follow instructions on the last page, you'll have no problem at all. And you'll be pleased with the results.

After you do it successfully, we'll talk about your XPCD afterwards. It looks like you're new to this issue.

#56 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

Posted 20 July 2004 - 05:27 AM

This is my winamp.js. Is this one wrong? no I don't think so.

Quote

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");
while (oExec.Status == 0)
{
WScript.Sleep(2000);
getWin("Winamp Setup", 500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB 3}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(5000);
WshShell.SendKeys ("{TAB 2}");
WScript.Sleep(500);
WshShell.SendKeys ("{DOWN 2}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(500);
WshShell.SendKeys ("{UP}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(2000);
WshShell.SendKeys ("%{F4}");
}
WScript.quit();
This is my batch

Quote

CLS
@echo off
ECHO.
ECHO Installing Winamp 2.91
CD %systemdrive%\Install\Winamp\
start /wait %systemdrive%\Install\Winamp\winamp.js
copy %systemdrive%\Install\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\"
EXIT


This batch is in dir: C:\Install
the .js/.exe/.ini is in dir C:\Install\Winamp

I disabled norton av.
the .ini file contains only this:

Quote

[WinampReg]NeedReg=0
ID=096A2E6EAECD64469F774014838B5A76
RegDataLen=452
RegData2=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007761322
E393100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000A2
Stats=00000001,00000018,00000018,00000005,00000003,00000005,00000000,


Well what the ... is my problem?

:)

#57 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 20 July 2004 - 05:44 AM

Marty P, on Jul 20 2004, 02:27 PM, said:

I disabled norton av.
the .ini file contains only this:

Quote

[WinampReg]
NeedReg=0
ID=096A2E6EAECD64469F774014838B5A76
RegDataLen=452
RegData2=0000000000........
............................................


Well what the ... is my problem?

:)

You'll drive me crazy! :rolleyes:

This is not the correct winamp.ini, winamp.ini is meant to be that one from C:\Program Files\Winamp\winamp.ini! This is mentioned in the first post.

However, this can't cause the installation to be stopped. Still, I think ScriptBlocking is enabled by your AV.

Listen! Uninstall your AV, then try again.

#58 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

Posted 20 July 2004 - 05:58 AM

Quote

You'll drive me crazy!

Arrggh I'll drive MYSELF cracy :rolleyes:

Well i tried it in safe modes. Same problem
disabled script blocking in Norton. Same problem.
Has windows itself a scriptblocker? If that doesn work i'll uninstall the AV. (but i don't like that option

I have sun java on my system. Should i adjust some preferences there? :)

#59 User is offline   Solid as a rock 

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

Posted 20 July 2004 - 06:49 AM

Marty P, on Jul 20 2004, 01:58 PM, said:

Quote

You'll drive me crazy!

Arrggh I'll drive MYSELF cracy :rolleyes:

Well i tried it in safe modes. Same problem
disabled script blocking in Norton. Same problem.
Has windows itself a scriptblocker? If that doesn work i'll uninstall the AV. (but i don't like that option

I have sun java on my system. Should i adjust some preferences there? :)

i think you both need a pause before drive each crazy....

no SUN java dont give that trouble... its more probally norton. mazin already say. uninstall norton. you can disable norton but some services cant disabled, so norton is still do his work....

after the test install norton again and you know it if mazin was right.... but please, give it the time before driving yourself crazy....

#60 User is offline   Marty P 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 04-July 04

Posted 20 July 2004 - 07:09 AM

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

Share this topic:


  • 10 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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