MSFN Forum: Errors After Installation - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Errors After Installation Rate Topic: -----

#1 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 22 March 2006 - 10:28 AM

I have set the WPI batch file to restart the computer after the installations are done,

I noticed there are some errors coming up that I guess are due to shutdown,

one of them complaining about Rundll32.exe:

Posted Image


I remeber some errors about "advpack.dll" too,

How can I avoid those.

Edit:
they disappear immediately because windows restarts and there is no side effects , I could catch this screeb by taking a movie of the screen.

This post has been edited by Shahram: 22 March 2006 - 10:37 AM



#2 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 22 March 2006 - 11:33 AM

Got the two other errors ,

Posted Image

and

Posted Image


These are after the installation, and there is nothing to be installed at that time.
I have no Idea where these came from.

I guess the first one might be related to IE7 that I am installing.

#3 User is offline   Avneet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 12-July 05

Posted 22 March 2006 - 05:26 PM

wat command are u sing to retsart the computer

#4 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 25 March 2006 - 05:00 PM

simple "shutdown -r -f -t 0"

#5 User is offline   Avneet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 12-July 05

Posted 25 March 2006 - 09:19 PM

ok
shutdown.exe -r -f -t 30 -c


i think the problem is that windows starts loading sum applications.. so u need to give it some time ..maybe 30 seconds

example is given above

#6 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 25 March 2006 - 11:01 PM

I don't want the windows to start anyways,
cause I have applications that I do not want them to run on the first start, infact their first start is important which should be after a restart,

30sec? isn't that almost windows starts running completely, and then you are looking at the windows loaded and waiting for the restart?

or does it wait for the shutdown?

hmmm...

#7 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 26 March 2006 - 05:52 PM

Ok,

I guess all the problems were related to ADVPACK.DLL

the ADVPACK.DLL which was in the System32 folder was :
6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)

But the ADVPACK that "Internet Explorer 7" contained and needed and many other programs also needed was:
7.00.5296.0 (winmain(wmbla).060125-1505)

I just compressed the new version to ADVPACK.DL_ and replaced the original in I386 folder.

This post has been edited by Shahram: 26 March 2006 - 05:53 PM


#8 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 26 March 2006 - 07:04 PM

the same about , WININET.DLL

#9 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 27 March 2006 - 02:15 AM

You should still give windows some time to load, reboot/shutdown with no delay are likely to cause problems.

#10 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 27 March 2006 - 07:17 PM

Since runonce is before starting of windows, it should not cause any problems,
Thise DDL problems were happening even if there was no restart,
First I was thinking silently unlock those old DLL files and copy the new ones at the end of WPI,
But Now, I am thinking of starting the shutdown process from the WPI batch file and waiting for it, that means, the installation never gets finished to start the windows files,

And the DLL erros does not show up again, cause the first time windows loads up, they are not registered, but a restart fixes the problem without the need of manually putting the DLLs there,

Infact I think, giving time for windows to start could cause problems, as there will be programs like IE7, that if installed from RunOnce, their files are not in place (registered) untill a restart.
and starting of windows without a restart can be problematic.

#11 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 28 March 2006 - 02:11 AM

After RunOnceEX ends it will start launching Windows, you abort this operation when you call your restart. personally I would recommend letting Windows fully load before you call that system reboot...

#12 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 29 March 2006 - 04:38 PM

Ok
I think the best is to restart the windows without letting the windows to finish with RunOnceEx and start initializing windows components, with this command at the end of WPI.CMD

start /w shutdown -r -f -t 00,

(waiting for shutdown)



There should be No Errors, No side Effects, No event logs, No early intialization of the programs specially if they need a restart to function properly.

This post has been edited by Shahram: 29 March 2006 - 10:08 PM


#13 User is offline   Shahram 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 10-April 05

Posted 30 March 2006 - 01:12 AM

or this autoscript should take care of it, making sure the shutdown doesn't close the original process causing starting of the windows in slower computers,
$run= @ComSpec & " /c " & @ScriptDir & "\WPI.CMD"
RunWait($run,"",@SW_HIDE)
Shutdown(6)


only the exe remians, that I am thinking of moving to windows folder for execuation.

#14 User is offline   Avneet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 12-July 05

Posted 05 April 2006 - 01:30 AM

where do u put that script

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