MSFN Forum: problem installing a script - 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

problem installing a script Rate Topic: -----

#1 User is offline   Lost Soul 

  • Snap ... Crackle ... Pop
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,746
  • Joined: 12-December 03

Posted 30 December 2003 - 03:54 PM

hi im trying to instal windows X 6.1 and im calling my vbs script from a batch file like this

ECHO.
ECHO Installing Windows X 6.1
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WindowsX\wx.vbs

here is my vbs script and it does work fine when i test it regular.

dim WshShell, iLoopTimeWait
Set WshShell = WScript.CreateObject("WScript.Shell")
iLoopTimeWait = 500

Function Connect2Window(iTime, sWindowName)
Do until WshShell.AppActivate (sWindowName)
WScript.Sleep iTime
loop
End function

WshShell.Run app & "msn61-winx.exe"
connect2window ilooptimewait, "MSN Messenger 6.1 - Windows X"
WshShell.SendKeys "{Tab}"

WshShell.SendKeys "{ENTER}"
Connect2Window iLoopTimeWait, "MSN Messenger 6.1 Setup"
WshShell.SendKeys "{ENTER}"
wscript.sleep 5000

WshShell.SendKeys "%a"

WshShell.SendKeys "{ENTER}"
wscript.sleep 60000

WshShell.SendKeys "{Tab}"

WshShell.SendKeys "{DOWN 10}"
wscript.sleep 5000
WshShell.SendKeys "%a"
wscript.sleep 20000
WshShell.SendKeys "{ENTER}"

WScript.Sleep 1000

WScript.Quit


now by calling it like that from my batch file i get this error to pop up can any one tell me what im doing wrong and how to fix my problem ?

look here to see the error in a bmp image

http://www.geocities...gon76/error.bmp


#2 User is offline   Lost Soul 

  • Snap ... Crackle ... Pop
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,746
  • Joined: 12-December 03

Posted 30 December 2003 - 06:20 PM

that link didnt work up above so here is the new link and i know this one will work


http://www.geocities...on76/error.html

pls some one help me out with this problem

#3 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 December 2003 - 10:10 PM

Quote

WshShell.Run app & "msn61-winx.exe"


What is the value of 'APP' and when is it set in this line?

should be set to the path to the executable.

%systemdrive%\install\Applications\WindowsX\

or change line to

WshShell.Run "%systemdrive%\install\Applications\WindowsX\msn61-winx.exe"


should all be on one line.

#4 User is offline   Lost Soul 

  • Snap ... Crackle ... Pop
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,746
  • Joined: 12-December 03

Posted 30 December 2003 - 10:13 PM

thank you im gonna give that a shot i was thinking i needed at complete addy for that .. :)

Share this topic:


Page 1 of 1
  • 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