Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Languages, Themes, Manuals & Mods

- - - - -

  • Please log in to reply
183 replies to this topic

#76
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Many thanks Kels! :)
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).


How to remove advertisement from MSFN

#77
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Coul you add inside globals.js (was on previous version):

// wmi.js
var OSProps, winMgts;

Because these variables are inside WPI_DiscChanger.htm (line 78)

Regards

*Edit: And could also change inside WPI_DiscChanger.htm the lines like Installer.hta and WPI.hta on top ?

from line 13
<script type="text/javascript">
    document.write('<HTA:APPLICATION ID="oWPIDiscChanger"' +
     ' application="yes"' +
     ' singleInstance="yes"' +
     ' applicationName="Windows Post-Install Wizard Disc Changer"' +
     ' version="1.0"' +
     ' icon=""' +
     ' border="dialog"' +
     ' borderStyle="normal"' +
     ' innerBorder="no"' +
     ' caption="yes"' +
     ' sysMenu="no"' +
     ' contextMenu="no"' +
     ' minimizeButton="no"' +
     ' maximizeButton="no"' +
     ' navigable="yes"' +
     ' scroll="no"' +
     ' scrollFlat="no"' +
     ' selection="no"' +
     ' showInTaskBar="no"' +
     ' windowState="normal"' +
        ' />');
</script>

Thanks to check if it's OK!

Edited by myselfidem, 18 January 2013 - 06:06 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#78
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
yup got them

#79
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
About Fonts, there was a script inside previous version inside WPI.hta: (example WPI 7.5.0 on line 387)

<script type="text/javascript">
 var args="";
 
 if (InstallFonts)
 {
  installFontsFromFolder(fontDir);
 }
</script>

Regards

Edited by myselfidem, 14 January 2013 - 05:44 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#80
jinkazama

jinkazama

    Member

  • Member
  • PipPip
  • 201 posts
  • Joined 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag
Edited by jinkazama

Edited by jinkazama, 16 January 2013 - 05:30 PM.

ubrezet.png
userbardriverpackteam3nv0.jpg


#81
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
......................

Edited by Kelsenellenelvian, 19 January 2013 - 04:11 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#82
jinkazama

jinkazama

    Member

  • Member
  • PipPip
  • 201 posts
  • Joined 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag
This solution works only on older versions, in 8.6.3 WPI.hta no longer exists...

ubrezet.png
userbardriverpackteam3nv0.jpg


#83
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Look inside .\WPI\Common\WPI.hta ! ;)

The method of execution is different, but there is still wpi.hta !

Edited by myselfidem, 18 January 2013 - 05:21 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#84
jinkazama

jinkazama

    Member

  • Member
  • PipPip
  • 201 posts
  • Joined 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag
Thank you myselfidem :)

ubrezet.png
userbardriverpackteam3nv0.jpg


#85
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Many thanks Kels for the new release WPI v8.6.4

To display properly the slider (on the right of the window) inside the tab changelog, it's needed to change inside ChangeLog.txt (on line 15) <nobr> with 'nobr' (for example).

Also inside aboutwpi_changelog.htm

On line 9 missing: </div>

Inside aboutwpitemplate_links.htm

On line 9 missing: </div>

Inside aboutwpitemplate_version.htm

On lines 35 and 60 are missing: </div>

Inside updatewpi.htm

On line 90 is missing: </a>

Inside informationtemplate_readme.htm

On line 9 missing: </div>

Thanks and regards

*Edit:
Seems missing inside configwizardtemplate_createshortcut.htm
On line 21: </td>

Edited by myselfidem, 18 January 2013 - 03:19 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#86
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Could we add inside the Manual:

Comparison operators

===   Identical (equal and of the same type)

We can see this one inside (for example): json_parse.js (from line 114)

Regards

Edited by myselfidem, 18 January 2013 - 05:20 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#87
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
French Manual updated:

Regards

*Edit: given

Edited by myselfidem, 19 January 2013 - 11:37 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#88
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
I see a strange behaviour using Theme\Tooltips !
This was already the case before and it's not an issue!

Sometimes the right pane move to the left when we select a path to choose an image (or using other options) inside the window.

I think this happens when we make changes using some font size !

Regards

Edited by myselfidem, 18 January 2013 - 01:29 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#89
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Fontinstaller is now fixed and there is a ton of internal fixes for the next release. (Still supporter only)

#90
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Very nice! :)

The trouble about the slight leftward movement of the window seems solved writing all lines inside lang_fr.js like lang_en.js !
(line numbers strictly similar and text corresponding (order))

lang_fr.js file updated:

Thanks and regards

*Edit: given

Edited by myselfidem, 19 January 2013 - 11:37 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#91
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
However, it seems to solve the little slight leftward movement it's needed also to change inside:

themewizardtemplate_tooltips.htm

Move </div> to line 503 and </div> to line 525 like this:

<div id="TextPaddingValue" class="opTxt" style="width:3em;"></div>

<div id="TransparencyValue" class="opTxt" style="width:3em;"></div>

Thanks and regards

*Edit:
Move </div> to line 10 inside aboutwpitemplate_changelog.htm

<div id="ChangeLog" class="opTxt" style="width:100%; height:225px; overflow:auto;"></div>

Edited by myselfidem, 22 January 2013 - 01:42 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#92
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
About icon inside WPI Installer, I suggest as test to try to change inside the file, to display the wpi.ico:

Installer.hta change:
<script type="text/javascript">
 document.write('<script type="text/javascript"' +
 ('<HTA:APPLICATION ID="oWPI_Installer"' + 
  ' application="yes"' +
  ' singleInstance="yes"' +
  ' applicationName="Windows Post-Install Wizard Installer"' +
  ' version="'+ShortVersion+'"' +
  ' icon=""' +
  ' border="dialog"' +
  ' borderStyle="normal"' +
  ' innerBorder="no"' +
  ' caption="yes"' +
  ' sysMenu="no"' +
  ' contextMenu="no"' +
  ' minimizeButton="no"' +
  ' maximizeButton="no"' +
  ' navigable="yes"' +
  ' scroll="no"' +
  ' scrollFlat="no"' +
  ' selection="no"' +
  ' showInTaskBar="yes"' +
  ' windowState="normal"' +
  ' />') +
  ' </' + 'script>'); 
</script>

Icon used downloading the Avatar.png on the web site (changing to WPI.ico with GIMP):

Installer window

Tested and works fine!

The icon will be fixed inside Installer and it seems start is faster !

Thanks to check if it's OK.

Regards

WPI Installer icon

*Edit: french manual updated (added Comparison operator ===)

http://www.mediafire.com/#6696bficr91ar

*Edit: script updated

*Edit2: However, the window Installer can be resized using the script above!

Edited by myselfidem, 03 April 2013 - 01:18 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#93
jinkazama

jinkazama

    Member

  • Member
  • PipPip
  • 201 posts
  • Joined 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag
Italian Language for 8.6.5
Please update it to use 8.6.5 in italian

Attached Files


ubrezet.png
userbardriverpackteam3nv0.jpg


#94
chymax3m

chymax3m

    Newbie

  • Member
  • 42 posts
  • Joined 17-January 12
  • OS:Windows 7 x64
  • Country: Country Flag
Had the language file been updated? Send me please English lang file in PM and i'll update Ukrainian one.

#95
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Here

Attached Files



#96
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
I would suggest to add "function getProductKey" inside WPI to know the Windows key!

I found the code here (at the bottom of the web page):

JS/VB Product Key Viewer (THANK YOU RPGFAN!)

1 - Adding inside wmi.js (from line 349); [or maybe inside core.js and wmi.js ?] :

function getProductKey()
{
    position="wmi.js";
    whatfunc="getProductKey()";  // Thanks to TheTeenScripter
 
    var shell = new ActiveXObject("WScript.shell");
    var DigiProdId = shell.RegRead("HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId");
    DigiProdId = DigiProdId.toArray();

    var binaryKey = new Array();
 for(i=52;i<67;i++)
 {
 binaryKey[binaryKey.length] = DigiProdId[i];
 }
    var digits = new Array('B','C','D','F','G','H','J','K','M','P','Q','R','T','V','W','X','Y','2','3','4','6','7','8','9');
    var decodedKey = new Array(); // Will be 25 characters at the end

    for (var i = 24; i >= 0; i--) {
    var k = 0;
    for (var j = binaryKey.length - 1; j >= 0; j--) {
 k = (k << 8) + binaryKey[j];
 binaryKey[j] = (k / 24) & 255; //The "& 255" converts the
 k %= 24;         //value to a byte.
    }
    decodedKey.unshift(digits[k]);
    }
    var ProductKey = "";
 for(i=0;i<decodedKey.length;i++)
 {
 ProductKey += decodedKey[i];
  if(Math.floor((i+1)/5) == (i+1)/5 && i != decodedKey.length-1)
  {
  ProductKey += "-";
  }
      }
 return ProductKey;
}

2 - Inside information.js (line 119):

MyComputerGrid.addRow(gId++,getText(lblProductKey)+','+getProductKey()+'');

3 - Inside global_lang.js (line 321):

var lblProductKey=[];

4 - Inside global.js (line 198):

var SystemEnclosureType, ProductKey;

5 - Inside lang_en.js (at the bottom: line 1102)

lblProductKey[lang]              = ['Product Key'];


On line 1100 inside lang_en.js (missing ; at last):

lblNumberOfCores[lang]          = ['Number Of Cores'];

Tested and works fine!

Thanks and regards

Edited by myselfidem, 29 January 2013 - 11:28 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#97
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
As previously made by Francesco, we can fix a bug using Dependencies (adding a blank line):

http://www.msfn.org/...mmand-selected/

Adding inside configwizard.js on line 833:


if ((document.getElementById("uid").disabled) || (document.getElementById("cmd1").disabled))
                Alert("",getText(txtMustAddCommand),"",3,-1,0,0);;

The alert box will appear now (and no more text on the top-left window !)

Tested and works fine! Thanks to check if it's OK.

Regards

Alert Box Dependencies Image

Maybe it would be useful to change also the message box and add (for example):

lang_en.js (line 972):
txtMustAddCommand[lang] = ['You must add a program name (UID) and also a command entry through the \'Add\' button before being able to perform this opreation'];

Regards

*Edit: post updated

Edited by myselfidem, 02 February 2013 - 10:14 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#98
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Bug Fix about Downloading files with WPI using Windows 7 or Windows 8:

Manage BITS (Background Intelligent Transfer Service) with Windows PowerShell

Using Windows PowerShell to Create BITS Transfer Jobs (Windows)

Previous versions of Windows provided command-line management of BITS using the BITSAdmin.exe tool. In Windows 7, BITSAdmin.exe is deprecated. Instead, you should use the Windows PowerShell cmdlets.


To download successfully ({DOWNLOAD}) a file from Internet using Windows 7 or Windows 8, we must add some changes inside installer.js:

From line 1338 we can add:
if (getOSver()=="Win7" || getOSver()=="Win8")
    cmdLine='Powershell Start-BitsTransfer -Source '+URL+' -Destination "%TEMP%\\'+Filename+'" -TransferType Download';
 fsoCmd=true;

if (getOSver()=="2K" || getOSver()=="XP" || getOSver()=="Vista")

Tested successfully:

http://www.msfn.org/...ost__p__1028736

Thanks and regards

*Edit: post and command updated!

Edited by myselfidem, 23 February 2013 - 02:03 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#99
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
@Kels

What do you think about adding some useful infos inside wpi.css to customize Theme, like this:

wpi.css (partial infos):

.navTxt  /* text icons on the left: Options, Configuration... */
{
 font-family: tahoma;
 font-weight: bold;
 color: #ffffff;
 font-size: 16pt;
}

.timerHeader  /* text over the counter */
{
 font-family: arial;
 color: #ffffff;
 font-weight: bold;
 font-style: normal;
 font-size: 10pt;
}

.timer  /* digital counter */
{
 font-family: arial;
 color: #ffffff;
 font-weight: bold;
 font-style: normal;
 font-size: 24pt;
}


Thanks and regards

Edited by myselfidem, 02 February 2013 - 08:40 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#100
ZEUS__

ZEUS__

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag
line 173 replaced with its true meaning.. also I began to translate manual for Turkish, hope I translate it as soon as possible.

Attached Files


Champion

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users