![]() ![]() |
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
|
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)
|
|
|
|
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
|
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. |
|
|
|
Jun 21 2008, 03:32 PM
Post
#3
|
|
|
WPI Guru Group: Software Developers Posts: 6077 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Vista Ultimate x86
|
Is UAC enabled or disabled?
|
|
|
|
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
|
Kelsenellenelvian,
Thanks for your reply, but sorry, I cannot figure out what UAC is? John. |
|
|
|
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
|
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)
|
|
|
|
Jun 22 2008, 01:36 PM
Post
#6
|
|
|
WPI Guru Group: Software Developers Posts: 6077 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Vista Ultimate x86
|
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! |
|
|
|
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
|
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. |
|
|
|
Jun 22 2008, 02:02 PM
Post
#8
|
|
|
WPI Guru Group: Software Developers Posts: 6077 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Vista Ultimate x86
|
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.. |
|
|
|
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
|
mritter,
I hope you can take a look and give me some suggestions. Thanks, John. |
|
|
|
Jun 24 2008, 08:55 PM
Post
#10
|
|
|
WPI Co-Developer Group: Software Developers Posts: 654 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
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!
|
|
|
|
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
|
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. |
|
|
|
Jun 29 2008, 01:23 PM
Post
#12
|
|
|
WPI Co-Developer Group: Software Developers Posts: 654 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
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. |
|
|
|
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
|
mritter,
Thanks for your reply. I think I am OK right now. I'll reply again if further testing reveals a problem. Thanks, John. |
|
|
|
Jul 28 2008, 02:51 PM
Post
#14
|
|
|
Newbie Group: Members Posts: 31 Joined: 10-June 08 Member No.: 196160 OS: XP Pro x64
|
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. mritter, Thanks for your reply. I think I am OK right now. I'll reply again if further testing reveals a problem. Thanks, John. |
|
|
|
Jul 28 2008, 04:29 PM
Post
#15
|
|
|
Junior ![]() Group: Members Posts: 64 Joined: 15-June 05 From: Belgium Member No.: 60591
|
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)
extra.JPG ( 5.74K )
Number of downloads: 6Reboot.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 |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 8th January 2009 - 03:13 AM |