Kelsenellenelvian

Languages, Themes, Manuals & Mods

185 posts in this topic

Hello Everybody!

This thread is for posting updated lang files, full translations, themes, custom images and any mods you may come up with.

I have added as attachments to this post the most current (And fully optimized\cleaned) Lang_en and the most current manual!

lang_en.js

de.rar

fr.rar

Manual.rar

ua.rar

Edited by Kelsenellenelvian
0

Share this post


Link to post
Share on other sites

Here is the new french manual updated with corrections in Chapter 6 and some few words:

Thanks and regards

*Edit: New French manual updated

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside the new manual, I see it's now possible to remove the line:

On Chapter-1.html (line 9)

<style type="text/css"></style>

On Chapter- 9.html (line 36)

Replace:

v8.6.0 Updates - Released September 4th, 2012

With:

v8.6.1 Updates  - Released September 4th, 2012

On Chapter-10.html (line 42 to 48 to Center the image)

</ol>

<center>

<img alt="" src="../images/layout.gif">

</center>

<ol>

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Hey Kel,

here you go with up to date german translation and MANUAL! :D

Greetings,

Dyna

Edited by Kelsenellenelvian
0

Share this post


Link to post
Share on other sites

hi,

here is lang file for Turkish WPI 8.6.x

Edited by Kelsenellenelvian
0

Share this post


Link to post
Share on other sites

French manual updated with the new line added inside Chapter-10.html (line 58):

File\Folder structure = Win7\sources\$oem$\$$\setup\scripts

Compressed images to save space.

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

I suggest to add inside WPI more informations about the processor(s).

Changes applied to give more infos:

wmi.js (and getArch changed)


function getArch()
{
position="wmi.js";
whatfunc="getArch()";

sysArch=WshShell.RegRead("HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\PROCESSOR_ARCHITECTURE");

return sysArch;
}

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

try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);

enumItems=new Enumerator(colItems);
for (; !enumItems.atEnd(); enumItems.moveNext())
{
objItem=enumItems.item();
NumberOfProcessors=objItem.NumberOfProcessors;
break;
}
}
catch(ex)
{
NumberOfProcessors="n/a";
}

return NumberOfProcessors;
}

function getArchNumOfCores()
{
position="wmi.js";
whatfunc="getArchNumOfCores()";

try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_Processor", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);

enumItems=new Enumerator(colItems);
for (; !enumItems.atEnd(); enumItems.moveNext())
{
objItem=enumItems.item();
NumberOfCores=objItem.NumberOfCores;
break;
}
}
catch(ex)
{
NumberOfCores="n/a";
}

return NumberOfCores;
}

function getArchNumLogicalProcs()
{
position="wmi.js";
whatfunc="getArchNumLogicalProcs()";

try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);

enumItems=new Enumerator(colItems);
for (; !enumItems.atEnd(); enumItems.moveNext())
{
objItem=enumItems.item();
NumberOfLogicalProcessors=objItem.NumberOfLogicalProcessors;
break;
}
}
catch(ex)
{
NumberOfLogicalProcessors="n/a";
}

return NumberOfLogicalProcessors;
}

informations.js


ArchitectureGrid.addRow(gId++,getText(lblNumberOfCores)+','+getArchNumOfCores()+'');
ArchitectureGrid.addRow(gId++,getText(lblNumberOfLogicalProcessors)+','+getArchNumLogicalProcs()+'');

global_lang.js


var lblNumberOfCores=[], lblNumberOfLogicalProcessors=[];

lang_en.js


lblNumberOfCores[lang] = ['Number Of Cores'];
lblNumberOfLogicalProcessors[lang] = ['Number Of Logical Processors'];

We can add these features inside: installer_log.js and also inside the Manual Chapter-6.html

A little more time is needed to have the informations displayed!

Regards

*Edit: works for Windows XP, Windows Vista and Windows 7

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Maybe it would be useful to return back and write inside global.js:

global.js


// wmi.js

var OSProps, winMgts;

Because WPI_DiscChanger.hta use:


function DoSetup()
{
try
{
OSProps=GetObject("winmgmts:").InstancesOf("Win32_OperatingSystem");
winMgts=new Enumerator(OSProps).item();
Lang=winMgts.OSLanguage;
}

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside information.js it's possible to add:

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

Regards

0

Share this post


Link to post
Share on other sites

I made some changes inside wmi.js to try to solve an issue with Laptops not detected:

http://www.msfn.org/...ost__p__1010883

Works fine for me but detecting my "Desktop". Thanks to share if it's available for Laptops!

Function getSystemEnclosureType() replaced with:

wmi.js


function getSystemEnclosureType()
{
position="wmi.js";
whatfunc="getSystemEnclosureType()";

var Chassis=0;

try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_SystemEnclosure", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);

enumItems=new Enumerator(colItems);
for (; !enumItems.atEnd(); enumItems.moveNext())
{
objItem=enumItems.item();
Chassis=objItem.ChassisTypes(0);

try
{
Chassis=objItem.ChassisTypes(0);

}
catch(ex)
{
SystemEnclosureType:"null";
}

if (Chassis==null)
Chassis=0;
switch(Chassis)
{
case 'undefined':
case 0:
SystemEnclosureType="Unspecified";
break;

case 1:
SystemEnclosureType="Other";
break;

case 2:
SystemEnclosureType="Unknown";
break;

case 3:
SystemEnclosureType="Desktop";
break;

case 4:
SystemEnclosureType="Low Profile Desktop";
break;

case 5:
SystemEnclosureType="Pizza Box";
break;

case 6:
SystemEnclosureType="Mini Tower";
break;

case 7:
SystemEnclosureType="Tower";
break;

case 8:
SystemEnclosureType="Portable";
break;

case 9:
SystemEnclosureType="Laptop";
break;

case 10:
SystemEnclosureType="Notebook";
break;

case 11:
SystemEnclosureType="Handheld"; // WPI is not available for Handheld
break;

case 12:
SystemEnclosureType="Docking Station";
break;
}
break;
}
}
catch(ex)
{
SystemEnclosureType="Unspecified";
}

return SystemEnclosureType;
}

Not all SystemEnclosureTypes are writed! It's just for testing now.

Regards

*Edit: tested with the laptop from a neighbor and works fine: Notebook detected!

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Changes so for for the NEXT version:

v8.6.2 Updates - Released ?????????, 2012

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

*** Fixed ArchType in the installerlog.

*** Fixed OSBuild in the information section.

*** More information tweaks.

*** Added Number of cores to information.

*** Added Number of logical Processors to infomation.

*** Added USB to the information section.

*** Function get system enclosure has been greatly enhanced.

0

Share this post


Link to post
Share on other sites

All changes added.

myselfidem read through the docs page at the forum...

0

Share this post


Link to post
Share on other sites

Many thanks! :)

I've read the doc on the Main WPIW page, and I also made a new License.txt (French) inside French manual about this question:

And here is the new lang_fr.js for WPI_v8.6.2

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Hey Kel, here you go with updated german translation and manual for 8.6.2.

Cheers

Edited by Kelsenellenelvian
0

Share this post


Link to post
Share on other sites

Here are the wmi.js changes for recognition of Windows 8 & Internet Explorer 10 that we discussed in the AntiVirus thread:

Line 53, Change

if (Caption.indexOf("Windows 8") != -1)

into

if (Caption.indexOf("8") != -1)

In the function getOSsku(sku), add the following case, we need some people with Enterprise or non-Pro version to get the other IDs:

		case 48:
OSSKU="Pro";
break;

Change getIEver() to the following:

function getIEver()
{
position="wmi.js";
whatfunc="getIEver()";

IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\svcVersion");

if (IEver.substr(1,1) == ".")
{
IEver=IEver.substr(0,3);
}
else
{
IEver=IEver.substr(0,4);
}

return IEver;
}

Cheers

Edited by Dynaletik
0

Share this post


Link to post
Share on other sites

Yes, it's better to use sku: "Pro" for Windows 8 Pro or sku: "Pro Edition".

Windows 8 editions

Windows 8 Pro succeeds Windows 7 Professional and Ultimate and is targeted towards enthusiasts and business users; it includes all the features of Windows 8.

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

After testing Windows 8 Enterprise (eval) on Oracle VM VirtualBox the sku is 72:

wmi.js


case 72:
OSSKU="Enterprise Edition";
break;

Regards

0

Share this post


Link to post
Share on other sites

On the WPIW Home page (Home tab) , thanks to remove also: sample config (word and link 404)

For any questions about configuration see [the sample config] and read the FAQ.

Thanks and regards.

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Attached lang_es.js with little corrections...

Regards... ;-)

lang_es.rar

Edited by alfreire
0

Share this post


Link to post
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.