Jump to content

WPI 5.1 Bug Reports


Recommended Posts


@ Solid as a Rock = 5.1 is very safe and stable...

eorrro8dz.th.jpg

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 by Kelsenellenelvian
Link to comment
Share on other sites

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.html

Logfile:

http://rapidshare.de/files/25920824/WPI_Log.txt.html

As you can see in the logfile .Net Framework returns many times for attempting to install, but the logfile says all installs are oke.

Edited by Pliek
Link to comment
Share on other sites

Hmm, to be honest I never tried 5.0 on a real install. lmfao

But 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.js

Search for

function 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 with

function 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 by sadicq
Link to comment
Share on other sites

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 by sadicq
Link to comment
Share on other sites

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

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 installation

The 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 by sadicq
Link to comment
Share on other sites

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.js

Rapidshare

Edited by Pliek
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...