MSFN Forum: WPI 8.6 and beyond bug\bugfix thread - MSFN Forum

Jump to content


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

WPI 8.6 and beyond bug\bugfix thread Rate Topic: -----

#1 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 05 September 2012 - 03:31 AM

Last couple of versions this issue kinda bleed all over the place!

Lets please keep the bugs and fixes here please!

This post has been edited by Kelsenellenelvian: 05 September 2012 - 05:42 AM



#2 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 September 2012 - 06:18 AM

Thanks Kelsenellenelvian for the new release!

Could you add with WPI_v8.6.1, inside information.js:

MyComputerGrid.addRow(gId++,getText(lblOSBuild)+','+getOSBuildID()+'');


Thanks and regards

#3 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 September 2012 - 06:20 AM

Added for next version.

#4 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 September 2012 - 08:54 AM

Could you also change inside installer_log.js (line 99):

Replace:
WriteLogLinePlain("   "+getText(lblArchType)+"="+sysArch);


With:
WriteLogLinePlain("   "+getText(lblArchType)+"="+getArch());


Regards

#5 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2012 - 09:13 AM

Got it.

#6 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 September 2012 - 12:45 PM

Inside WPI_v8.6.2 it's needed to remove (function getArchNumProcs() is writed twice and give a wrong result):

wmi.js (line 461)

Remove:
function getArchNumProcs()
{
 position="wmi.js";
 whatfunc="getArchNumProcs()";

 return WshShell.ExpandEnvironmentStrings("%NUMBER_OF_PROCESSORS%");
}


Because this function is already changed!

Regards

This post has been edited by myselfidem: 12 September 2012 - 12:47 PM


#7 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 September 2012 - 12:48 PM

Yeah I was just looking at that.

#8 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 September 2012 - 01:24 PM

Also missing inside information.js (line 135):

VariablesGrid.addRow(gId++,'USB,'+usbdrv+'');



Regards

This post has been edited by myselfidem: 12 September 2012 - 01:25 PM


#9 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 September 2012 - 01:28 PM

That was added. (look further down)

#10 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 September 2012 - 01:32 PM

Oh, sorry...You are right! Thanks :)
Regards

#11 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 September 2012 - 01:39 PM

You seem to have the wmi crap figured out.

Please look at the following screen shot.

I do have a dvd burner and a keyboard.

Is there some missing code for this too?

Attached File(s)



#12 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 September 2012 - 01:44 PM

I have no wmi crap figured out!!

The result on my computer amd64 HP is:
Audio, Keyboard and mouse not detected!

This post has been edited by myselfidem: 18 September 2012 - 05:49 AM


#13 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 September 2012 - 01:56 PM

Then I obviously have some checking to do.

#14 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 September 2012 - 02:32 PM

On my computer x86 I have all the result with wmi.

WMI may not work the same way on a amd64 computer based!

Requesting WMI Data on a 64-bit Platform

Maybe that can help to use WMI Diagnosis Utility:

WMI Diagnosis Utility

I hope that can help!

Regards

This post has been edited by myselfidem: 18 September 2012 - 05:49 AM


#15 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 13 September 2012 - 01:47 AM

However, I can see only one CD\DVD is detected and I have two CD\DVD Burner on each computer (HP x86 and HP amd64):

On HP amd64 only this one is detected:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\CdRomHL-DT-ST_DVDRAM_GH24NS50________________XP01____\4&2a750ea6&0&0.2.0\Device Parameters]


And this one isn't detected:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\CdRomhp_CDDVDW_TS-H653R______________________0E00____\4&2a750ea6&0&0.1.0]


Same result with one CD\DVD not detected inside HP x86 computer (two CD\DVD installed)!

Note: Each time we install a new CD\DVD we must update the firmware to have a CD\DVD to run properly!

Regards

#16 User is offline   SunLion 

  • Newbie
  • Group: Members
  • Posts: 45
  • Joined: 22-October 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 17 September 2012 - 03:43 PM

Hi all,
I upgraded the WPI following guidelines of Kel and, in the test, appears this message below:
http://www.mediafire...9orv1ix9hpdoqdi

What is missing?

Thanks for your excelent work

#17 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 September 2012 - 04:08 PM

The error is in your lang file it has ALOT of old entries and missing entries.

I have updated the file and attached it here.

PLEASE when you get a few translate it and upload it in the lang section.

Attached File(s)



#18 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 September 2012 - 04:40 PM

About Keyboard and PointingDevice. Making some changes inside wmi.js works fine for me on Computers x86 and amd64.

function getKeyboardID()

Line 886:
if (objItem.PNPDeviceID.indexOf("ACPI\\PNP")==0 || objItem.PNPDeviceID.indexOf("HID\\VID_")==0)


Replace with:
if (objItem.PNPDeviceID.indexOf("ACPI\\PNP") != 0 || objItem.PNPDeviceID.indexOf("HID\\VID_") != 0)


function getPointingDeviceID()

Line 920:
if (objItem.PNPDeviceID.indexOf("ACPI\\PNP")==0 || objItem.PNPDeviceID.indexOf("HID\\VID_")==0)


Replace with:
if (objItem.PNPDeviceID.indexOf("ACPI\\PNP") != 0 || objItem.PNPDeviceID.indexOf("HID\\VID_") != 0)


Thanks to check if it's OK.

Regards

This post has been edited by myselfidem: 18 September 2012 - 05:49 AM


#19 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 September 2012 - 04:44 PM

Yup works fine now, thanks

#20 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,397
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 September 2012 - 05:15 AM

Inside informations.js (return= true or false):

Replace:
ConditionsGrid.addRow(gId++,'ConnectedToInternet()');


With:
ConditionsGrid.addRow(gId++,'ConnectedToInternet('+ConnToNet+')');


Replace:
ConditionsGrid.addRow(gId++,'isDesktopLoaded()');


With:
ConditionsGrid.addRow(gId++,'isDesktopLoaded('+DesktopLoaded+')');


Replace:
ConditionsGrid.addRow(gId++,'hasDVDROM()');
ConditionsGrid.addRow(gId++,'hasDVDBurner()');
ConditionsGrid.addRow(gId++,'hasDVDDrive()');



With:
ConditionsGrid.addRow(gId++,'hasDVDBurner('+hasDVDBurnerDrive+')');
ConditionsGrid.addRow(gId++,'hasDVDDrive('+hasDVDROMDrive+')');



However, I think we can remove this line because it's a duplicated value:
ConditionsGrid.addRow(gId++,'hasDVDROM()');


Thanks to check if it's OK!

Regards

This post has been edited by myselfidem: 18 September 2012 - 06:03 AM


Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

5 User(s) are reading this topic
0 members, 5 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy