MSFN Forum: script error - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

script error Rate Topic: -----

#1 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 09 September 2012 - 01:38 PM

Hello

I have install internet explore silent and then i want to reboot.
but in the same moment the reboot comes up that my pc
will reboot i get a script error

Line : 451
Sign: 2
Error : WScript is not defined
Code : 0
File : core.js

in the core.js stands thins

WScript.Sleep(duration);

prog[pn]=['Internet Explore 9'];
shortdesc[pn]=['Internet Explore 9'];
uid[pn]=['INTERNETEXPLORE9'];
ordr[pn]=[111];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['System'];
pfro[pn]=['no'];
cmds[pn]=['"%wpipath%\\Install\\ie9\\IE9-Windows7-x64-dan.exe" /passive /no-default /closeprograms /norestart','{REBOOT} 10'];
desc[pn]=['Internet Explore 9'];
pn++;



#2 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 September 2012 - 02:14 PM

You last 2 threads lead me to think there is something wrong with your source image or your WPI folder...

#3 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 09 September 2012 - 02:30 PM

Hello

I have try to download wpi from new and only put explore in and another program
i get the error on USB and on CD rom and on image mount.

I could read something on the net about the wscript cannot be use in sleep mode or something
i dont know if this says anything or something with the error.

If you are trying to use WScript.Sleep in a CA. You are out of luck. I don't know any alternative method in VBScript either. Sorry.
 
It appears only CreateObject method in WScript object is supported in a VBScript CA.

example: the variable "WScript" is undefined, thus "WScript.Sleep 100"
 won't work! there's no way to call the Sleep function, directly.


#4 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 10 September 2012 - 08:06 AM

Hello

i Really need yours help....

no matter what i do i get that error when i use reboot in WPI script.

I have try with only one item and then see if it reboot.
at the moment i try to use a USB stik to test, i am little tired
to burn out and out and so on....

here you can see the wpi log. i try to install updates for windows i cant
slipstream into windows. when all is run trough i get the Error you can see in
top post and the my pc restart but the wpi stop to working after restart
and not run the next items on the list. i must CTRL+ALT+Delete to stop the
wpi.exe

10. september 2012 15:48:24
   Program: Windows 7 Updates
   Unique ID: WINDOWS7UPDATES
   Order: 000002
   Category: updates
   10. september 2012 15:51:12 - cmd1 Success (returned code 0): "G:\WPI\Install\updates\not_reboot\Windows6.1-KB947821-v22-x64.msu" /quiet /norestart
   10. september 2012 15:51:16 - cmd2 Success (returned code 0): "G:\WPI\Install\updates\not_reboot\windows6.1-kb976002-x64.msu" /quiet /norestart
   10. september 2012 15:51:26 - cmd3 Success (returned code 0): "G:\WPI\Install\updates\not_reboot\Windows6.1-KB2533552-x64.msu" /quiet /norestart
   10. september 2012 15:51:37 - cmd4 Success (returned code 0): "G:\WPI\Install\updates\not_reboot\Windows6.1-KB2695962-x64.msu" /quiet /norestart
   10. september 2012 15:51:49 - cmd5 Success (returned code 0): "G:\WPI\Install\updates\not_reboot\Windows-KB890830-x64-V4.11.exe" /Q
   10. september 2012 15:51:57 - cmd6 Success (returned code 0): "G:\WPI\Install\updates\not_reboot\IE9-Windows6.1-LanguagePack-x64-dan.msu" /quiet /norestart
   10. september 2012 15:52:12 - cmd7 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB982018-v3-x64.msu" /quiet /norestart
   10. september 2012 15:52:22 - cmd8 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB2507618-x64.msu" /quiet /norestart
   10. september 2012 15:52:33 - cmd9 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB2529073-x64.msu" /quiet /norestart
   10. september 2012 15:52:44 - cmd10 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB2552343-x64.msu" /quiet /norestart
   10. september 2012 15:53:02 - cmd11 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB2677070-x64.msu" /quiet /norestart
   10. september 2012 15:53:17 - cmd12 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB2709981-v2-x64.msu" /quiet /norestart
   10. september 2012 15:53:32 - cmd13 ** Warning ** (returned code 3010): "G:\WPI\Install\updates\reboot\Windows6.1-KB2732487-x64.msu" /quiet /norestart
   10. september 2012 15:53:32 - cmd14 Success (returned code undefined): TerminateProcess("wuaudt.exe")
   10. september 2012 15:53:33 - cmd15 Success (returned code 0): "C:\Windows\System32\shutdown.exe" /r /f /t 10


#5 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 September 2012 - 09:02 AM

View PostMitsuMan, on 10 September 2012 - 08:06 AM, said:

... i try to install updates for windows i cant slipstream into windows


Why you can't slipstream updates into Windows ?

#6 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 10 September 2012 - 09:43 AM

Hello

First i have put Services pack 1 and 74 others updates
and that works fine....

Then i would like to have the last ones in and try with DISMTOOL and RT 7 Seven lite x64
but when windows is install. then i can go to windows update and updated the same again.
like they cannot be applied to windows 7.

This is windows 7 ultimate 64bit danish. with licens key.
therefore i thought i could do it this way

#7 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 September 2012 - 10:00 AM

The trouble is to integrate IE9 when others updates for Windows 7 are already integrated!

The best way is to download a clean Windows 7 SP1:

http://www.msfn.org/...post__p__973012

At first integrate IE9 and updates needed for IE:
http://www.msfn.org/...ost__p__1007070

At last you can integrate all others updates.

Cheers

#8 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 10 September 2012 - 10:07 AM

Hello

I wil try one more time. and follow what you says.

I have a retail of windows ultimate with out service pack 1.

1: unpack windows 7 DK

2: use RT 7 lite to import service pack 1 DK into windows 7 DK (chose ofcourse Ultimate) Apply and finish

3: Then start RT 7 Seven up again and Import IE9win7_ENG.MSU and Windows6.1-KB2484033-x64.msu, Windows6.1-KB2488113-x64.msu, Windows6.1-KB2505438-x64.msu
Apply and finish

4: Then start RT 7 Seven up again and Import The rest of the updates. and apply and finish.

Is this way correct.

P.S all updates is in danish, only IE9 is in english. but then i would later import the langauge pack

This post has been edited by MitsuMan: 10 September 2012 - 10:31 AM


#9 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 September 2012 - 10:25 AM

Well, you try a new time but without some updates given trouble:

Windows6.1-KB947821-v22-x64.msu (System Update Readiness Tool)

Windows6.1-kb976002-x64.msu (Browser Choice)

IE9-Windows6.1-LanguagePack-x64-dan.msu (IE9)

HTH





#10 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 10 September 2012 - 10:34 AM

View Postmyselfidem, on 10 September 2012 - 10:25 AM, said:

Well, you try a new time but without some updates given trouble:

Windows6.1-KB947821-v22-x64.msu (System Update Readiness Tool)

Windows6.1-kb976002-x64.msu (Browser Choice)

IE9-Windows6.1-LanguagePack-x64-dan.msu (IE9)

HTH


Check. maybe there is my error

#11 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 September 2012 - 11:09 AM

View PostMitsuMan, on 10 September 2012 - 10:07 AM, said:

Hello

I wil try one more time. and follow what you says.

I have a retail of windows ultimate with out service pack 1.

1: unpack windows 7 DK

2: use RT 7 lite to import service pack 1 DK into windows 7 DK (chose ofcourse Ultimate) Apply and finish

3: Then start RT 7 Seven up again and Import IE9win7_ENG.MSU and Windows6.1-KB2484033-x64.msu, Windows6.1-KB2488113-x64.msu, Windows6.1-KB2505438-x64.msu
Apply and finish

4: Then start RT 7 Seven up again and Import The rest of the updates. and apply and finish.

Is this way correct.

P.S all updates is in danish, only IE9 is in english. but then i would later import the langauge pack


Please, don't edit your post after my answer!

Windows updates are language neutral!

Don't integrate IE9win7.msu, because some updates are already integrated and the installation will fails!

Cheers

#12 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 10 September 2012 - 11:20 AM

Hello


Sorry. just want to fast show how i would do it...

I thought the same thing after second time i had write.
i have now follow the link and make cab out of the Danish IE9 and put the 3 KB update
in also.

Now i am on the way to put the rest of the updates in. and i have delete these 3 you say could
be trouble

Else i have follow the way i wrote to you... :) this time i am just tro to
put the rest updates in with the way of DISM.

#13 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 10 September 2012 - 02:10 PM

Hello



First i will say thank you very much for all the help.



I have manage to do all now, also with explore danish and all the updates.

these here i use in WPI because they dont need to reboot.

Windows6.1-KB947821-v22-x64
windows6.1-kb976002-x64
Windows6.1-KB2533552-x64
Windows-KB890830-x64-V4.11


Now i have search for update and these what update found.

can i now slipstream them into windows or dont it go....

Microsoft Visual C++ 2005 Service Pack 1 : KB2538242
Cumulative Security Update for Internet Explorer9 : KB2722913
security update for Visual C++ 2008 : KB2538243
Update for Microsoft Silverlight : KB2690729

#14 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 September 2012 - 02:32 PM

You can customize and add [AIO] Microsoft Visual B/C++/F#/J# Redistributable x86/x64

http://www.wincert.n...butable-x86x64/

About Silverlight I use this one:
Get Silverlight 5

Silent switch: Silverlight.exe /q

This post has been edited by myselfidem: 10 September 2012 - 02:35 PM


#15 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 11 September 2012 - 01:59 AM

Hello

i have download the software but i dont complete understand how to make the AIO file. or how you do it.
no guiedes on the link

sorry if i ask stupid.

#16 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 September 2012 - 02:27 AM

I used Visual AIO SFX Maker v3.6 (installer repacker).

Look at on the first post: Some tools and resources for (re)creating your own installer.


#17 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 11 September 2012 - 03:55 AM

Hello

Thank you very much for All the help. you have really learn me alot
and thank for the patience, Because i am testing still i have not put the licens key in
but so far i have only one update and that is this one

Windows Defender Definitions update KB15597 but that is jut to update trough
windows update....

I have these few here in WPi and that works fine.
but is there not a way to make a SFX file so
all run in one time and not in WPI where it show
updates that is a little little long list..


KB947821v2264.msu /quiet norestart
kb97600264.msu /quiet norestart
KB253355264.msu /quiet norestart
KB89083064V411.exe /Q
Silverlightx64.exe /q

I know how to make it like this so it unpack to a folder..
but how to make 5 program run in one i dont know


;The comment below contains SFX script commands

Path=C:\Users\Default\Desktop\
SavePath
Silent=1
Overwrite=1


#18 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 September 2012 - 06:52 AM

I think there is various methods and you can, for example, create a batch file and use {BATCH} with WPI to execute the file. Or using Options Features with "Execute after" to install these updates with your customized batch file at the end of your silent installation (or at first if you want)!

Silent switches for some updates: /quiet /norestart

I think it's not really useful to integrate this update, because waste time and this one is updated each month: KB89083064V411.exe
Let WU install this update!

However if you want some help about creating an SFX file you can ask at this topic:
http://www.msfn.org/...post__p__675721

This post has been edited by myselfidem: 11 September 2012 - 07:11 AM


#19 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 12 September 2012 - 02:24 AM

Hello

Again thank you very much. I think i have mange all now.

one last question. is it possbile for wpi to run a .vbs script like with install.bat.

%wpipath%\Install\test\start.vbs

#20 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 September 2012 - 02:26 AM

Yes! :)

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy