Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Kelsenellenelvian

Languages, Themes, Manuals & Mods

Recommended Posts

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

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

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

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

Share this post


Link to post
Share on other sites

hi,

here is lang file for Turkish WPI 8.6.x

Edited by Kelsenellenelvian

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

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

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

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

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.

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.

×