bober Posted July 14, 2006 Share Posted July 14, 2006 i have the same problem as azaze1.it looks like a program "hangs" or doesn't finish installing and another program starts too soon. adobe 6 ,in my case ,doesn't finish. Link to comment Share on other sites More sharing options...
larciel Posted July 14, 2006 Share Posted July 14, 2006 (edited) this after i import config.js from my wpi lite 1.2 . any steps I should take? Edited July 15, 2006 by larciel Link to comment Share on other sites More sharing options...
Solid as a rock Posted July 15, 2006 Share Posted July 15, 2006 Is it save to use 5.1 or could i better wait to 5.2 ? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 15, 2006 Share Posted July 15, 2006 (edited) @ Solid as a Rock = 5.1 is very safe and stable...this after i import config.js from my wpi lite 1.2 . any steps I should take?Did you copy over you useroptions file from the old version also?If you did there is your issue.please if you did not copy that over post your config.js file as an attachment and I will look at it Edited July 15, 2006 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
Pliek Posted July 15, 2006 Share Posted July 15, 2006 (edited) I've got the same kind of problem like azaze1, Stalkie, 5861king and bober, my install goes on till program 8 with no problems at all.But then it retry's my second install. (.Net Framework) and hangs there ... then all my first 8 programs get a Red (they where green before) cross exept program 1 that one stays Green??? But the first 8 did install on my comp.( i've started every program and it works fine ).So this problem is not the same, but lets say its in the same categorie.I will post my log file and screenshot later.Hope this helps to solve it.Pictures:http://rapidshare.de/files/25920759/WPI_loops.doc.htmlLogfile:http://rapidshare.de/files/25920824/WPI_Log.txt.htmlAs you can see in the logfile .Net Framework returns many times for attempting to install, but the logfile says all installs are oke. Edited July 15, 2006 by Pliek Link to comment Share on other sites More sharing options...
sadicq Posted July 15, 2006 Share Posted July 15, 2006 (edited) Hmm, to be honest I never tried 5.0 on a real install. lmfaoBut I looked over the code for a minute or so and I think I found something that may interact if a program starts before the other one ends.So, you people who are encountering the problem, can you please try the following?Open installer.jsSearch forfunction InstallOne(item,cmdName){ position="installer.js"; whatfunc="InstallOne()"; var cmd, ReturnCode, result; CheckInstaller(); cmd=eval('programs['+item+'].'+cmdName); if (cmd==null || (cmdLine=ReplacePath(cmd[0]))=='') return; if (cmdName=='regb' || cmdName=='rega') { if (!FileExists(cmdLine)) { programs[i].fail=true; cmdName=(cmdName=='regb') ? 'Reg Before' : (cmdName=='rega') ? 'Reg After' : cmdName; WriteLogLine(cmdName+' *** Fail *** (File does not exist): RegEdit /S "'+cmdLine+'"'); return; } if (cmdLine.indexOf(" ") != -1 && cmdLine.substr(0,1) != '"') cmdLine='"'+cmdLine+'"'; cmdLine="RegEdit /S "+cmdLine; } else cmdLine=handleCommand(cmdLine); try { ReturnCode=WshShell.Run(cmdLine,1,true); result='Success'; programs[i].success=true; } catch(ex) { result='*** Fail ***'; programs[i].fail=true; } cmdName=(cmdName=='regb') ? 'Reg Before' : (cmdName=='rega') ? 'Reg After' : cmdName; WriteLogLine(cmdName+' '+result+' (returned code '+ReturnCode+'): "'+cmdLine+'"');}and replace it withfunction InstallOne(item,cmdName){ position="installer.js"; whatfunc="InstallOne()"; var cmd, ReturnCode, result; CheckInstaller(); cmd=eval('programs['+item+'].'+cmdName); if (cmd==null || (cmdLine=ReplacePath(cmd[0]))=='') return; if (cmdName=='regb' || cmdName=='rega') { if (!FileExists(cmdLine)) { programs[item].fail=true; cmdName=(cmdName=='regb') ? 'Reg Before' : (cmdName=='rega') ? 'Reg After' : cmdName; WriteLogLine(cmdName+' *** Fail *** (File does not exist): RegEdit /S "'+cmdLine+'"'); return; } if (cmdLine.indexOf(" ") != -1 && cmdLine.substr(0,1) != '"') cmdLine='"'+cmdLine+'"'; cmdLine="RegEdit /S "+cmdLine; } else cmdLine=handleCommand(cmdLine); try { ReturnCode=WshShell.Run(cmdLine,1,true); result='Success'; programs[item].success=true; } catch(ex) { result='*** Fail ***'; programs[item].fail=true; } cmdName=(cmdName=='regb') ? 'Reg Before' : (cmdName=='rega') ? 'Reg After' : cmdName; WriteLogLine(cmdName+' '+result+' (returned code '+ReturnCode+'): "'+cmdLine+'"');} Edited July 15, 2006 by sadicq Link to comment Share on other sites More sharing options...
Pliek Posted July 15, 2006 Share Posted July 15, 2006 Thanks for your fast reply sadicq ( you always do).I will test tonight after supper.Let you know quick. Link to comment Share on other sites More sharing options...
ICANIT Posted July 15, 2006 Share Posted July 15, 2006 I have just tested Sadicq's solution, unfortunately it didnt help.log file attached.WPI_Log.txt Link to comment Share on other sites More sharing options...
sadicq Posted July 15, 2006 Share Posted July 15, 2006 (edited) well, I didn't look at your logs when I posted it and I looked just a few minutes over the code ... I think the modification I made is right, but not the one that solves the problem. Anyway, can you guys (kel or mritter) take a look at the code? I think item is replaced by the i variable in the InstallOne() function. Edited July 15, 2006 by sadicq Link to comment Share on other sites More sharing options...
ICANIT Posted July 15, 2006 Share Posted July 15, 2006 I apreciate your effort Sadicq, i hope someone can solve this isue soon. 5.01 didnt have this problem, so i must settle with this until further.Thanks Link to comment Share on other sites More sharing options...
sadicq Posted July 15, 2006 Share Posted July 15, 2006 Hehe, here's me spamming this thread again.I have an observation for Pliek: Although this is not solving the problem, you should adapt you config file to remove the double backslashes.I see L:\WPI\\Install\Apps\ ... which should be L:\WPI\Install\Apps\.Just open you config.js file and replace all \\\\ with \\ if you have any. If not ... look at the variable you're using ... It's something you should do just to be sure ... I'm now looking into the installer problem. Link to comment Share on other sites More sharing options...
ICANIT Posted July 15, 2006 Share Posted July 15, 2006 I have noticed that this line gets automatically inserted in my config file :gcond[pn]=['FileExists(\'%programfiles%\')'];maybe its harmless, but why does my config file get modified ? is it soposed to do so ?anyway, i post my log and my configs. Kel, asked for this earlier.WPI_Log.txtIcanIT_config.jsuseroptions.js Link to comment Share on other sites More sharing options...
sadicq Posted July 15, 2006 Share Posted July 15, 2006 (edited) No need to worry about that condition inserted. WPI automatically evaluates it so it has to be something always true ... So, it's harmless and you should leave it alone. Also notice that WPI rewrites completely all your config.js every time you choose to save your config in WPI.And to be on=topic regarding the previously described bug, I can give you a hint ...Look at this:15. juli 2006 19:18:50 Program: K-Lite Codec Pack 2.72 Full UID: Codec Order: 000050 Category: Multimedia 15. juli 2006 19:19:05 cmd1 Success (returned code 0): "C:\Install\Multimedia\Codec\WM9Codecs.exe /Q" 15. juli 2006 19:19:25 cmd2 Success (returned code 0): "C:\Install\Office\Nero66\WMAPlugin20933.exe /Silent /noreboot /no_ui" 15. juli 2006 19:19:26 cmd3 Success (returned code 0): "C:\Install\Office\Nero66\Plugin.cmd" 15. juli 2006 19:19:37 cmd4 Success (returned code 0): "C:\Install\Office\Nero66\NeroBurnRightsInstaller.exe /silent /nocancel /nolicense /burnrights:all /noreboot /no_ui" 15. juli 2006 19:19:37 Finished installation-----15. juli 2006 19:19:37 Program: Adobe Acrobat Reader 7.08 UID: Adobe7 Order: 900004 Category: Office 15. juli 2006 19:19:43 cmd1 Success (returned code 0): "Msiexec.exe /i "C:\Install\Office\Adobe7\Adobe Reader 7.0.8.msi" /qb" 15. juli 2006 19:19:57 cmd2 Success (returned code 0): "C:\Install\Office\Nero66\WMAPlugin20933.exe /Silent /noreboot /no_ui" 15. juli 2006 19:19:57 cmd3 Success (returned code 0): "C:\Install\Office\Nero66\Plugin.cmd" 15. juli 2006 19:20:05 cmd4 Success (returned code 0): "C:\Install\Office\Nero66\NeroBurnRightsInstaller.exe /silent /nocancel /nolicense /burnrights:all /noreboot /no_ui" 15. juli 2006 19:20:05 Finished installationThe cmd2, 3 and 4 are the same for different programs .. they are inserted wrong so I can say I'm closer to a fix. Edited July 15, 2006 by sadicq Link to comment Share on other sites More sharing options...
larciel Posted July 15, 2006 Share Posted July 15, 2006 no kel, I read instructions and saw useroption.js is not compatible from old version in 5.x so I just copied config.js onlyhere it is. it's quiet long, so I'm putting it as attach.thanks againconfig.js Link to comment Share on other sites More sharing options...
Pliek Posted July 15, 2006 Share Posted July 15, 2006 (edited) Hehe, here's me spamming this thread again.I have an observation for Pliek: Although this is not solving the problem, you should adapt you config file to remove the double backslashes.I see L:\WPI\\Install\Apps\ ... which should be L:\WPI\Install\Apps\.Just open you config.js file and replace all \\\\ with \\ if you have any. If not ... look at the variable you're using ... It's something you should do just to be sure ... I'm now looking into the installer problem.Just looked in my config.js but there are no \\\\ onely\\ like it has to be.now testing , although I've heard it won't work ( just trying to be sure).Here is my config.jsRapidshare Edited July 15, 2006 by Pliek 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