LePousson Posted August 6, 2009 Share Posted August 6, 2009 (edited) Hi !I am currently building my unattended XP64 DVD and I'm using WPI 7.7 for some post-install things like some non slipstreamable hotfixes.But, after the last command is executed and completed successfully, I get an error window about that there is an error in the script i'm using, and the system asks me if I want to continue using scripts on this page.Can someone help me fixing this error because, to reboot the computer after WPI, I have to launch the TASKMGR and then choose to reboot ?? The file D:\wpi\Common\Installer.hta exists and is there (D is my CDROM Drive)Thanks in advance for your replies !LePousson Edited August 6, 2009 by LePousson Link to comment Share on other sites More sharing options...
mritter Posted August 7, 2009 Share Posted August 7, 2009 It looks like you are modifying IE. Try an install without that last entry and see if it still causes an error. Link to comment Share on other sites More sharing options...
LePousson Posted August 7, 2009 Author Share Posted August 7, 2009 Yes I get the same error even if I do not "modify" IE ... I tried to only install Windows Live Messenger and I got the error ...What should I do ?LePousson Link to comment Share on other sites More sharing options...
mritter Posted August 7, 2009 Share Posted August 7, 2009 Post your log file, please. Link to comment Share on other sites More sharing options...
LePousson Posted August 7, 2009 Author Share Posted August 7, 2009 Here is the log file of my last attempt to install ALL my packages ... I know that all the WLM 2009 lines miss a "/i" ... It was fixed right after this install attempt !Thanks to help !LePoussonWPI_Log_2009.08.06_23.19.49.txt Link to comment Share on other sites More sharing options...
mritter Posted August 7, 2009 Share Posted August 7, 2009 I think I know what the problem is. WPI is trying to launch%sysdir%\shutdown.exeto reboot the computer. Your %sysdir% is: c:\windows\system32But you are on x64, so the path is wrong. Do a search and tell me where your shutdown.exe is located so I can fix the paths. Link to comment Share on other sites More sharing options...
LePousson Posted August 7, 2009 Author Share Posted August 7, 2009 (edited) I do not have any shutdown.exe but I found a shutdown.exe.mui in C:\WINDOWS\mui\FALLBACK\040c (040c is the language code in the MUI pack for XP x64) ...Perhaps you have an idea on where I can pick a "shutdown.exe" that would work under XP x64 ... I'm gonna search for it ...Waiting for your reply !LePoussonEDIT 11.40pm : I found this link to a official MS alternative to shutdown.exe. Some people says that it works great on XP64. I'm trying it now !EDIT 00.12am : The PSShutdown thing works nice under XP X64. But I just thought that I could make a very simple shutdown.exe using the Reboot thing of NSIS. I'm gonna make a try !EDIT 00.19am : The tiny shutdown.exe I just made with NSIS also works great. I'm gonna try to put it in system32 and then launch a WPI instance.EDIT 01.12am : Everything seems to work great if I sue the tiny shutdown.exe I just made. But I don't think it is the best solution. Please tell me howto fix this without my tiny EXE. Edited August 7, 2009 by LePousson Link to comment Share on other sites More sharing options...
johnhc Posted August 8, 2009 Share Posted August 8, 2009 (edited) LePousson, attached is the shutdown.exe from my XP x64 system. If this does not correct your problem, please let us know. Enjoy, John.EDIT:My shutdown.exe file came from my System32 folder and is the only one on my machine. Edited August 8, 2009 by johnhc Link to comment Share on other sites More sharing options...
mritter Posted August 8, 2009 Share Posted August 8, 2009 Another thing John mentioned is to be sure you are using the proper 32/64bit mshta. Look at the main version thread for scripts. John also has one he can give you. And the new launcher from Francesco will use the proper one. Link to comment Share on other sites More sharing options...
LePousson Posted August 8, 2009 Author Share Posted August 8, 2009 Thanks John for the shutdown.exe ... I'm gonna make a try today ...I just checked and when launching WPI.hta, it starts the 32Bits version of mshta.exe, which is not a problem at all. I made another WPI instance just for my software and it works perfectly.I'll be back with theresult of the try with the "John's shutdown.exe" ...LePousson Link to comment Share on other sites More sharing options...
johnhc Posted August 8, 2009 Share Posted August 8, 2009 (edited) LePousson, the larger question is what happened to your shutdown.exe? Have you modified your Windows source? Using nLite? If so, please post in the nLite forum, above, and attach (not paste) your Last Session.ini. If you will search your source, you should find a SHUTDOWN.EX_ (compressed version of shutdown.exe). If it is not on your install CD, search you original Windows CD. If it is not there, you have a bum copy of Windows. Please let us know what you learn. Enjoy, John.EDIT: I always use the 64 bit version of mshta.exe. When I first used the restart feature, I had script errors and the cure was to use the 64 bit mshta.exe. Edited August 8, 2009 by johnhc 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