IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> 6.5.1 under XP x64: Reboot hangs & Abort hangs.
johnhc
post Jun 21 2008, 12:46 PM
Post #1


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


I am running WPI 6.5 .1 under XP Pro x64 Edition. When testing under VMware Server the first several installs go fine but the last one, Reboot hangs. When I click Abort and answer the prompt, nothing happens.
I attach my install log.
Thanks in advance for your help.
Enjoy, John.
Attached File(s)
Attached File  WPI_Log.txt ( 2.68K ) Number of downloads: 5
 
Go to the top of the page
 
+Quote Post
johnhc
post Jun 21 2008, 03:28 PM
Post #2


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


I built a Batch file with the following:
CODE
Shutdown /r /f /t 10

WPI indicated it worked saying a code of 1 was returned, but my system did not restart. I tried this command in a command prompt and it worked.
Obviously, I need some assistance.
Thanks.
Enjoy, John.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jun 21 2008, 03:32 PM
Post #3


WPI Guru
Group Icon

Group: Software Developers
Posts: 6077
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


Is UAC enabled or disabled?
Go to the top of the page
 
+Quote Post
johnhc
post Jun 21 2008, 07:18 PM
Post #4


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


Kelsenellenelvian,
Thanks for your reply, but sorry, I cannot figure out what UAC is?
John.
Go to the top of the page
 
+Quote Post
johnhc
post Jun 22 2008, 12:31 PM
Post #5


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


I tried using the Restart function on the Tools tab of the Options menu and received the attached error.
I seem to be blocked from all directions.
Enjoy, John.
Attached File(s)
Attached File  WPI_Restart.JPG ( 17.47K ) Number of downloads: 9
 
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jun 22 2008, 01:36 PM
Post #6


WPI Guru
Group Icon

Group: Software Developers
Posts: 6077
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


http://www.petri.co.il/disable_uac_in_windows_vista.htm

I suggest method 4.

User account control is being a pain in the a** again!
Go to the top of the page
 
+Quote Post
johnhc
post Jun 22 2008, 01:44 PM
Post #7


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


Kelsenellenelvian,
No wonder I did not know what UAC is! I am not running Vista. I am running Win XP Pro x64 Edition.
Thanks.
Enjoy, John.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jun 22 2008, 02:02 PM
Post #8


WPI Guru
Group Icon

Group: Software Developers
Posts: 6077
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


DER!!! OK I am being stopid!

OK 64 bit huh? Well mritter is runnin more test on 64x so when he gets on next we will see what he has to say..
Go to the top of the page
 
+Quote Post
johnhc
post Jun 24 2008, 06:04 PM
Post #9


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


mritter,
I hope you can take a look and give me some suggestions.
Thanks, John.
Go to the top of the page
 
+Quote Post
mritter
post Jun 24 2008, 08:55 PM
Post #10


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 654
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


I just got Vista64 installed tonight and doing all the updates and such. I hope to be back up to speed in the next couple of days. I forgot how much work it can be to............I need to get my WPI back up to date!
Go to the top of the page
 
+Quote Post
johnhc
post Jun 25 2008, 08:48 AM
Post #11


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


mritter and Kelsenellenelvian,
I have determined what the problem is. WPI must be looking in the wrong place for shutdown.exe. I placed a copy (from C:\WINDOWS\system32) into the WPI folder and the Restart Option on the Tools tab then worked. Please note, mritter, I am running XP x64, not Vista.

I was surprised when the Restart happened so quickly. The text on the Tools tab of the Option menu says 'Restart computer after installation is complete', but very shortly after the one installation started, a red x appeared next to it and the timer window for the Restart showed up.

Is there any way to have the Restart really begin after all the installs are truly complete?

Thanks much.
Enjoy, John.
Go to the top of the page
 
+Quote Post
mritter
post Jun 29 2008, 01:23 PM
Post #12


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 654
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


The reboot works fine for me, with the delay. Do you have "Restart delay" set to something other than 0? Obvious, I know, but you never know sometimes........Once the install process is done, it should open the shutdown window for X seconds, then reboot. Unchek "Do NOT load desktop" since that reboots immediately. That is a hard forced reboot.

If you want, try this, too:

installer.js
CODE
        if (!RestartType)
            cmdLine='shutdown.exe -r -f -t '+RestartSeconds+' -c "'+getText(ComputerWillRestart)+'"';
        else
            cmdLine='shutdown.exe -s -f -t '+RestartSeconds+' -c "'+getText(ComputerWillShutdown)+'"';

change to
CODE
        if (!RestartType)
            cmdLine=sysdir+'\\shutdown.exe -r -f -t '+RestartSeconds+' -c "'+getText(ComputerWillRestart)+'"';
        else
            cmdLine=sysdir+'\\shutdown.exe -s -f -t '+RestartSeconds+' -c "'+getText(ComputerWillShutdown)+'"';

That will make it the full command path C:\Windows\system32\shutdown.exe
It shouldn't need it, but let me know if it helps.
Go to the top of the page
 
+Quote Post
johnhc
post Jun 29 2008, 02:17 PM
Post #13


Friend of MSFN
*****

Group: Members
Posts: 710
Joined: 2-March 08
Member No.: 179953
OS: XP Pro x64
Country Flag


mritter,
Thanks for your reply.
I think I am OK right now. I'll reply again if further testing reveals a problem.

Thanks, John.
Go to the top of the page
 
+Quote Post
icnocop
post Jul 28 2008, 02:51 PM
Post #14


Newbie


Group: Members
Posts: 31
Joined: 10-June 08
Member No.: 196160
OS: XP Pro x64
Country Flag


I am running into these issues and could not figure out a solution yet.

I tried using cmdLine=sysdir+'\\shutdown.exe
but wpi still hangs on cmd2[pn]=['%reboot%'];
and I get a javascript error at the end of the wpi installation if RestartComputer=true

I also tried copying C:\WINDOWS\system32\shutdown.exe to the wpi folder but I get the same issues.

Any ideas?

Thank you.

QUOTE (johnhc @ Jun 29 2008, 01:17 PM) *
mritter,
Thanks for your reply.
I think I am OK right now. I'll reply again if further testing reveals a problem.

Thanks, John.

Go to the top of the page
 
+Quote Post
DJPro
post Jul 28 2008, 04:29 PM
Post #15


Junior
*

Group: Members
Posts: 64
Joined: 15-June 05
From: Belgium
Member No.: 60591
Country Flag


QUOTE (johnhc @ Jun 21 2008, 11:28 PM) *
I built a Batch file with the following:
CODE
Shutdown /r /f /t 10

WPI indicated it worked saying a code of 1 was returned, but my system did not restart. I tried this command in a command prompt and it worked.
Obviously, I need some assistance.
Thanks.
Enjoy, John.


The way I use the reboot command is in a 'Reboot.cmd' file.
I put an extra catagorie called 'Extra' at the end of all my software catagories.
(This is only the final reboot when everything is installed)
Attached File  extra.JPG ( 5.74K ) Number of downloads: 6


Reboot.cmd=

@ECHO OFF
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WXP.ico set CDROM=%%i:
shutdown.exe -r -f -t 20 -c
exit

config.js=

prog[pn]=['Reboot XP'];
ordr[pn]=[200];
desc[pn]=['];
uid[pn]=['REBOOTXP'];
dflt[pn]=['yes'];
cat[pn]=['Extra'];
forc[pn]=['no'];
configs[pn]=['yes'];
gcond[pn]=['FileExists(\'%programfiles%\\\')'];
cmd1[pn]=['%cdrom%\\install\\Progs\\Reboot\\Reboot.cmd'];
pn++;

This way you can also choose easy to restart windows or not.
Since I do it this way I had never issues with the reboot command.
(I use the %cdrom% variable because I use WPI in a standalone disc for software installations, so my paths are maybe a little bit different)

Hope this is usefull, DJPro

This post has been edited by DJPro: Jul 28 2008, 04:32 PM
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 8th January 2009 - 03:13 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy