Kelsenellenelvian

WPI 8.6 and beyond bug\bugfix thread

143 posts in this topic

Thanks Watsup! ;)

No, it's not needed to change those values. They are correct !

However, I think we can change inside installer.js:

From line 1096:


if (programs[item].bit64=="yes" && OSBits==64)
cmd='"'+sysPath64+'RegEdt32" /S ' + cmd;

To:


if (programs[item].bit64=="yes" && OSBits==64)
cmd='"'+windir+'\\RegEdit" /S ' + cmd;

To use regedit.exe 64bit version.

Inside globals.js, we can add:

On line 205:

// wmi.js


var NumberOfProcessors, NumberOfCores, NumberOfLogicalProcessors;

Thanks and regards

0

Share this post


Link to post
Share on other sites

Thx myselfidem to check this. ;)

I just had to know it for sure.

nicely solution with regedit.exe 64bit.

Thx men^^

0

Share this post


Link to post
Share on other sites

Inside themes.js

It seems useful to add about: case "exitbuttonL":

From line 567:


if (FileExists(wpipath+"//Themes//"+Theme+"//"+image))
{
document.getElementById(id).src="../Themes/"+Theme+"/"+image;
}
else
{
document.getElementById("exitbuttonLspacer").style.width="2px";
document.getElementById(id).src="../Common/imgs/spacer.gif";
isExitImage=false;
}
break;

Because we can see also "exitbuttonL" inside wpi.htm !

Thanks and regards

0

Share this post


Link to post
Share on other sites

Inside themewizard.js

I think we can change on line 846:

function ReadTheme()

SaveDefaultUserTheme();

To:

SaveDefaultThemeOptions();

Because, a new name was given to this function and we can see this new name inside WPI.hta

On line 513:

SaveDefaultThemeOptions();

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

I compiled dHTMLx (attached in this post) with only the controls WPI uses, it replaces the whole Codebase folder.

In WPI.HTA this code block

<script type="text/javascript" src="../common/codebase/dhtmlxcommon.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcontainer.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtabbar.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtabbar_start.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxslider.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxslider_start.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtree.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxmenu.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxmenu_ext.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtoolbar.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxgrid.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxgridcell.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxgrid_drag.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxwindows.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcombo.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxcombo_extra.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxcombo_whp.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxaccordion.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxeditor.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxeditor_ext.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcolorpicker.js" application="yes"></script>

must be replaced with

<script type="text/javascript" src="../common/codebase/dhtmlx.js" application="yes"></script>

and in Installer.HTA

<script type="text/javascript" src="../common/codebase/dhtmlxcommon.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcontainer.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxwindows.js" application="yes"></script>

must be replaced with

<script type="text/javascript" src="../common/codebase/dhtmlx.js" application="yes"></script>

Codebase.rar

post-16245-0-13370800-1373613174_thumb.p

Edited by Francesco
0

Share this post


Link to post
Share on other sites

I am having issues with msfn. I might need to find a different forum home for it as the senior staff can't seem to be bothered that I have needs of them.

http://www.msfn.org/board/topic/162548-multiple-messenger-recipients/

I have messaged xper and cluberti with the issues and the request for myselfidem to be added to the devs members and they just blatantly ignore me. EVEN though WPI has been a part of this forum for 10 years....

0

Share this post


Link to post
Share on other sites

I compiled dHTMLx (attached in this post) with only the controls WPI uses, it replaces the whole Codebase folder.

In WPI.HTA this code block

<script type="text/javascript" src="../common/codebase/dhtmlxcommon.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcontainer.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtabbar.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtabbar_start.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxslider.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxslider_start.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtree.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxmenu.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxmenu_ext.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtoolbar.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxgrid.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxgridcell.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxgrid_drag.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxwindows.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcombo.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxcombo_extra.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxcombo_whp.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxaccordion.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxeditor.js" application="yes"></script><script type="text/javascript" src="../common/codebase/ext/dhtmlxeditor_ext.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcolorpicker.js" application="yes"></script>

must be replaced with

<script type="text/javascript" src="../common/codebase/dhtmlx.js" application="yes"></script>

and in Installer.HTA

<script type="text/javascript" src="../common/codebase/dhtmlxcommon.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcontainer.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxwindows.js" application="yes"></script>

must be replaced with

<script type="text/javascript" src="../common/codebase/dhtmlx.js" application="yes"></script>

This won't let WPI render the boxes for the wizards. Any ideas?

0

Share this post


Link to post
Share on other sites

Works fine for me Kels!

Could you give us more details about your trouble, please?

Regards

*Edit: Maybe we can also add inside WPI.hta

On line 448:

document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlx.css">');
Edited by myselfidem
0

Share this post


Link to post
Share on other sites
This won't let WPI render the boxes for the wizards. Any ideas?

Sorry, I didn't notice the same files were loaded twice in each HTM file.

You also have to replace in WPI.HTA:

    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxtabbar.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxcombo.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxslider.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxslider_custom.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxtree.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxgrid.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxgrid_skins.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxwindows.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxcolorpicker.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxmenu_dhx_skyblue.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxtoolbar_dhx_skyblue.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxaccordion_dhx_skyblue.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxgrid_dhx_skyblue.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxwindows_dhx_skyblue.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxeditor_dhx_skyblue.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlx_custom.css">');

with

document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlx.css">');

and in Installer.HTA:

    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxwindows.css">');    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/skins/dhtmlxwindows_dhx_skyblue.css">');

with

    document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlx.css">');
Edited by Francesco
0

Share this post


Link to post
Share on other sites

Many thanks Francesco! Works fine and it's very nice.

Regards

0

Share this post


Link to post
Share on other sites

@ myselfidem and francesco:

8.6.6 introduced a bug I am trying to track down.

One of the changes has made the installer lock up on (Seemingly) installers that have sub routines.

The installer is having a issue continuing when so installers run. It just locks up completely...

Please assist me in checking the changes introduced in the last release.

0

Share this post


Link to post
Share on other sites

I haven't noticed anything that could affect the installer in the changes and I never had any error myself, maybe it's IE10 or something else causing trouble?

0

Share this post


Link to post
Share on other sites

Does this problem exist also after adding the proposed changes?

I haven't noticed anything also, and now I use WPI with all the changes and works fine for me!

Regards

0

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.