johnhc Posted June 21, 2008 Share Posted June 21, 2008 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. Link to comment Share on other sites More sharing options...
johnhc Posted June 21, 2008 Author Share Posted June 21, 2008 I built a Batch file with the following:Shutdown /r /f /t 10WPI 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. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 21, 2008 Share Posted June 21, 2008 Is UAC enabled or disabled? Link to comment Share on other sites More sharing options...
johnhc Posted June 22, 2008 Author Share Posted June 22, 2008 Kelsenellenelvian,Thanks for your reply, but sorry, I cannot figure out what UAC is?John. Link to comment Share on other sites More sharing options...
johnhc Posted June 22, 2008 Author Share Posted June 22, 2008 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. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 22, 2008 Share Posted June 22, 2008 http://www.petri.co.il/disable_uac_in_windows_vista.htmI suggest method 4.User account control is being a pain in the a** again! Link to comment Share on other sites More sharing options...
johnhc Posted June 22, 2008 Author Share Posted June 22, 2008 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. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 22, 2008 Share Posted June 22, 2008 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.. Link to comment Share on other sites More sharing options...
johnhc Posted June 25, 2008 Author Share Posted June 25, 2008 mritter,I hope you can take a look and give me some suggestions.Thanks, John. Link to comment Share on other sites More sharing options...
mritter Posted June 25, 2008 Share Posted June 25, 2008 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! Link to comment Share on other sites More sharing options...
johnhc Posted June 25, 2008 Author Share Posted June 25, 2008 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. Link to comment Share on other sites More sharing options...
mritter Posted June 29, 2008 Share Posted June 29, 2008 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 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 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.exeIt shouldn't need it, but let me know if it helps. Link to comment Share on other sites More sharing options...
johnhc Posted June 29, 2008 Author Share Posted June 29, 2008 mritter,Thanks for your reply.I think I am OK right now. I'll reply again if further testing reveals a problem.Thanks, John. Link to comment Share on other sites More sharing options...
icnocop Posted July 28, 2008 Share Posted July 28, 2008 I am running into these issues and could not figure out a solution yet.I tried using cmdLine=sysdir+'\\shutdown.exebut wpi still hangs on cmd2[pn]=['%reboot%'];and I get a javascript error at the end of the wpi installation if RestartComputer=trueI 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. Link to comment Share on other sites More sharing options...
DJPro Posted July 28, 2008 Share Posted July 28, 2008 (edited) I built a Batch file with the following:Shutdown /r /f /t 10WPI 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)Reboot.cmd=@ECHO OFFfor %%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 exitconfig.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 Edited July 28, 2008 by DJPro 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