• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Kelsenellenelvian

WPI 8.6 and beyond bug\bugfix thread

143 posts in this topic

List of updates added for the next version so far.

====================================================

**** Added {CMD} to the list of functions.

**** Add Win2k to the conditions.

**** Fixed a executebefore64bit error.

**** User file written version updated slightly.

**** Fixed a autologoncount error.

**** Fixed a alert sound location error.

**** More info added to the installer log.

**** Removed more old leftover code.

**** Added setfilesystem to the conditions.

**** More fontinstaller improvements.

0

Share this post


Link to post
Share on other sites

Inside installer.js a little typo error: missing i on line 864: SndInstallFinshCB

if (RegKeyValue("HKEY_CURRENT_USER\\Software\\WPI\\SndInstallFinishCB"))

Thanks and regards

0

Share this post


Link to post
Share on other sites

Inside optionswizard.js a little error on line: 1431


// Tools tab
...
document.getElementById("ExecuteAfterbit64").checked=ExecuteBeforebit64;

Change to:


// Tools tab
...
document.getElementById("ExecuteBeforebit64").checked=ExecuteBeforebit64;

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside configwizard.js a little typo error (letter s missing):


function onClickHandlerConditionsMenus(itemId,itemValue)
{
position="configwizard.js";
whatfunc="onClickHandlerConditionsMenu()";

Change to:


function onClickHandlerConditionsMenus(itemId,itemValue)
{
position="configwizard.js";
whatfunc="onClickHandlerConditionsMenus()";

Thanks and regards

0

Share this post


Link to post
Share on other sites

Inside configwizard.js a little error about: function DefaultCatValues()

Letter 's' missing

Change to:


function DefaultCatsValues()
{
position="configwizard.js";
whatfunc="DefaultCatsValues()";

On line 2545, 3062 and 3094:

DefaultCatValues();

Change to:

DefaultCatsValues();

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside check.js missing letter 's' with: function CountChecks() (line 670: whatfunc="CountCheck()")

Change to:


function CountChecks()
{
position="check.js";
whatfunc="CountChecks()";

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside optionswizard.js about functions:

On line 691:


function HandlePlayInstallAudioSelection()
{
position="optionswizard.js";
whatfunc="HandlePlayInstallSelection()";

Change to:


function HandlePlayInstallAudioSelection()
{
position="optionswizard.js";
whatfunc="HandlePlayInstallAudioSelection()";

On line 751:


function AudioDelete()
{
position="optionswizard.js";
whatfunc="CommandDelete()";

Change to:


function AudioDelete()
{
position="optionswizard.js";
whatfunc="AudioDelete()";

Inside main.js function HideManual()


function HideManual()
{
position="main.js";
whatfunc="HideMain()";

Change to:


function HideManual()
{
position="main.js";
whatfunc="HideManual()";

Inside networkwizard.js a little typo error on line: 2053

whatfunc="SaveDefaultNetwrokOptions()";

Change to:

whatfunc="SaveDefaultNetworkOptions()";

Thanks to check if it's OK!

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside themes.js (on line 297) about function HandleSelectMultiDefaults()


function HandleSelectMultiDefaults()
{
position="api.js";
whatfunc="SetupWPI()";

Maybe we can change to:


function HandleSelectMultiDefaults()
{
position="themes.js";
whatfunc="HandleSelectMultiDefaults()";

Thanks to check if it's OK!

Regards

0

Share this post


Link to post
Share on other sites

Changelog so far...


**** Added {CMD} to the list of functions.
**** Add Win2k to the conditions.
**** Fixed a executebefore64bit error.
**** User file written version updated slightly.
**** Fixed a autologoncount error.
**** Fixed a alert sound location error.
**** More info added to the installer log.
**** Removed more old leftover code.
**** Added setfilesystem to the conditions.
**** More fontinstaller improvements.
**** Tons of textual errors fixed.
**** Added {MSI} to the commands for standard msi files.

0

Share this post


Link to post
Share on other sites

Inside program.js

About function CheckCatIfAllChecked():

Change:


function CheckCatIfAllChecked()
{
position="program.js";
whatfunc="CheckCatIfAllSelected()";

To:


function CheckCatIfAllChecked()
{
position="program.js";
whatfunc="CheckCatIfAllChecked()";

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

To solve some trouble about the blue window at startup and to resize this one, we can try to make changes inside wpi.htm.

Browse to: WPI\Common\Themes\Windows\wpi.htm

Add inside wpi.htm (was on some previous versions); below this script:


<div id="TipLayer" style="visibility:hidden; position:absolute; z-index:1000; top:-100;">
</div>


<script type="text/javascript">
sizer();
if (top.status != "")
winheight = top.status;
cols = Math.round((winheight/3*4)/320,0);
if (!maxentries)
{
switch (winheight)
{
case '600':
maxentries=24;
break;

case '768':
maxentries=30;
break;

case '1024':
maxentries=42;
break;

case '1200':
maxentries=48;
break;

default:
maxentries=31;
break;
}
}
</script>

Works fine for me.

Thanks to check if it's OK!

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside themes.js missing (on line 216): return true;

Change to:


function InstallThemeFonts()
{
position="themes.js";
whatfunc="InstallThemeFonts()";

return true;
}

Inside themewizard.js missing (on line 304): return true;

Change to:


function HandleSkinSelection()
{
position="themewizard.js";
whatfunc="HandleSkinSelection()";

return true;
}

Thanks to check if it's OK!

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites
Open your config in notepad and remove all desc lines. Then open wpi and resave the config. After that your issue should be fixed.
Actually that didn't help, but 8.4.6 version works faster and there is no such bug as on the picture. And what about blue background on starting wpi?

To solve this trouble, you can try to make changes inside wpi.htm.

Browse to: WPI\Common\Themes\Windows\wpi.htm

Add inside wpi.htm (was on some previous versions); below this script:


<div id="TipLayer" style="visibility:hidden; position:absolute; z-index:1000; top:-100;">
</div>


<script type="text/javascript">
sizer();
if (top.status != "")
winheight = top.status;
cols = Math.round((winheight/3*4)/320,0);
if (!maxentries)
{
switch (winheight)
{
case '600':
maxentries=24;
break;

case '768':
maxentries=30;
break;

case '1024':
maxentries=42;
break;

case '1200':
maxentries=48;
break;

default:
maxentries=31;
break;
}
}
</script>

Works fine for me.

HTH

I ALSO told him that it may be due to the fact he is using a warez WPI and modified files... <-- We cannot support warez and unless he tells us which files where modded he is out of luck...

0

Share this post


Link to post
Share on other sites

Thanks Kels! Last post updated.

Regards

*Edit:

Inside optionswizard.js, a little error typo (line: 1388):

document.getElementById("InstallerWindowX").value=InstallerWindowY;

Change to:

document.getElementById("InstallerWindowY").value=InstallerWindowY;

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside themewizard.js

We can add some changes to have the Alert window when we change Background SkinZone or Background ProgressBarSkin without saving:

On line 72:


InstallBgsSkinCombo.attachEvent("onSelectionChange",OptionsUpdated);

Change to:


InstallBgsSkinCombo.attachEvent("onSelectionChange",ThemeUpdated);

Add on line 80:


ProgBarsSkinCombo.attachEvent("onSelectionChange",ThemeUpdated);

Thanks and regards

*Edit:

Inside themewizard.js we can also add for: function HandleReadTheme() (line 625)

some code to activate the button Read (for Style and Tooltip)

Changing to:


function HandleReadTheme()
{
position="themewizard.js";
whatfunc="HandleReadTheme()";

if (!isThemeSaved)
{
if (!Alert("",getText(txtDiscardChangesContinue),getText(lblOK)+"|"+getText(lblCancel),"",5,0,0,0))
return;
}

themeClearReadBrowse(); //Added
document.all.themeReadBrowse.click(); //Added

if (document.getElementById("themeReadBrowse").value != "") //Added
{

isThemeSaved=true;
SetThemePath(false);
ReadTheme();
}
}

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside tips.js about: function qdh(t,d,s)

On line 49:


function qdh(t,d,s)
{
position="main.js";
whatfunc="qdh()";

We can change (position) to :


function qdh(t,d,s)
{
position="tips.js";
whatfunc="qdh()";

Inside optionswizardtemplate_window.htm (values also inside api.js):

Errors on lines 199 and 200:


<option value="12802">1280x768</option>
<option value="12803">1280x800</option>

Change to:


<option value="12803">1280x768</option>
<option value="12804">1280x800</option>

Inside WPI.hta

I think we can remove the line 9, because this file doesn't exist.

<script type="text/javascript" src="../WPIScripts/userfunctions.js" application="yes"></script>

Inside themewizard.js

On line 681. We can change: SkinPreset to Theme


function UserThemeDefaults()
{
position="themewizard.js";
whatfunc="UserThemeDefaults()";
SkinPreset='Classic';

Change to:


To:
function UserThemeDefaults()
{
position="themewizard.js";
whatfunc="UserThemeDefaults()";
Theme='Win7';

Tested and works fine for me.

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

I suggest to restore the option AppearanceBehavior Float for Tooltips:

1 - Inside themewizard.js (on line 271):

Change:


with (getElementById("AppearanceBehavior"))
{
options[0].text=getText(optNormal);
options[1].text=getText(optStatic);
options[2].text=getText(optVisible);
options[3].text=getText(optSticky);
options[4].text=getText(optKeep);
}

To:


with (getElementById("AppearanceBehavior"))
{
options[0].text=getText(optNormal);
options[1].text=getText(optStatic);
options[2].text=getText(optVisible);
options[3].text=getText(optSticky);
options[4].text=getText(optFloat);
}

Only optKeep is replaced with optFloat !

2 - Inside lang_en.js:

Remove the line 719: optKeep[lang] = ['Keep'];

Add the line 713: optFloat[lang] = ['Float'];

3 - Inside globals_lang.js:

Remove optKeep=[],

* optFloat=[], is already inside globals_lang.js!

Tested and works fine for me.

Thanks to check if it's OK.

Here is the new lang_fr.js

Thanks and regards

Floating window Image

*Edit: post updated

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside configwizard.js

We can add from line 186, to activate the Alert window if we use Exit without saving the selected options:

1 - function CreateNavigation()


NavGrid.attachEvent("onDrop",ConfigUpdated);
NavGrid.attachEvent("onAfterSorting",ConfigUpdated);

2 - function CreateConfigurations()

Change:

ConfigurationsGrid.enableDragAndDrop(true); 

To:

ConfigurationsGrid.enableDragAndDrop(false); 

3 - function CreateSortOrder()

We can add:

SortOrderGrid.attachEvent("onSelectionChange",ConfigUpdated);

To activate the Alert window when we use the Exit button without saving the changes.

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside themewizardtemplate_tooltips.htm

We can add HandleShowToolTipsSelection()

On lines 42 and 58:

onChange="HandleShowToolTipsSelection(); ThemeUpdated();"

To have the Alert window.

Thanks and regards

0

Share this post


Link to post
Share on other sites

Changelog so far.


**** Added {CMD} to the list of functions.
**** Add Win2k to the conditions.
**** Fixed a executebefore64bit error.
**** User file written version updated slightly.
**** Fixed a autologoncount error.
**** Fixed a alert sound location error.
**** More info added to the installer log.
**** Removed more old leftover code.
**** Added setfilesystem to the conditions.
**** More fontinstaller improvements.
**** Tons of textual errors fixed.
**** Added {MSI} to the commands for standard msi files.
**** Added alerts to themewizard when exiting.
**** Fixed a couple of resolution errors.
**** Restored "Float" for the tooltips.
**** Tons of minor features improved.

0

Share this post


Link to post
Share on other sites

Changelog so far.


**** Added {CMD} to the list of functions.
**** Add Win2k to the conditions.
**** Fixed a executebefore64bit error.
**** User file written version updated slightly.
**** Fixed a autologoncount error.
**** Fixed a alert sound location error.
**** More info added to the installer log.
**** Removed more old leftover code.
**** Added setfilesystem to the conditions.
**** More fontinstaller improvements.
**** Tons of textual errors fixed.
**** Added {MSI} to the commands for standard msi files.
**** Added alerts to themewizard when exiting.
**** Fixed a couple of resolution errors.
**** Restored "Float" for the tooltips.
**** Tons of minor features improved.

Thank you both

0

Share this post


Link to post
Share on other sites

Myselfidem: Search through the ChangeLog.txt as to why I left the userfunctions.js include in there. I don't know if anyone has ever used it, but, just in case.

I would have hoped if someone wrote some new/updated code they would share it with us. Or it could be specific to their custom situation/job/computer system.

I want to thank you for all of the bug fixes and ideas you have posted. It's good to see WPI is still in demand and supported by some good people. Keep up the good work!

0

Share this post


Link to post
Share on other sites

Thank you very much mritter for your kind message.

It is a pleasure to read you.

Now I understand why there is this line inside WPI.hta. I was looking to add variables inside a javascript file .. But it's a hard job to do. This file name can be used for.

I appreciate the WPI program and I use it since version 4. Thank you very much for all the daunting task you provided Kelsenellenelvian and you, mritter, and Francesco and all past developers.

WPI is a powerful and very nice program.

I am not a coder but I do my best to learn and try to give some help.

Thank you very much for the encouragement.

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside themewizardtemplate_tooltips.htm

missing on line 429:

<option value="23"></option>

Thanks and regards

*Edit: Post updated

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside program.js

On line 54 there is an unwanted space at last.

Change:

this.dflt=(dflt[idx]==null) ? ['no'] : [dflt[idx][0]] ;

To:

this.dflt=(dflt[idx]==null) ? ['no'] : [dflt[idx][0]];

On line 199: It seems it's needed to change the value 1 to the letter l:

Change:

textl[i+1]=programs[i].text1;

To:

textl[i+1]=programs[i].textl;

Thanks to check if it's OK.

Regards

Edited by myselfidem
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.