Jump to content

Recommended Posts

Posted (edited)

The idea was to add the function {MSI}, because if a msi file is customized USSFStrings can't detect the silent switches:

msiexec.exe /i "%Path_To_Program%" /qb

If we want use other switches, I suggest to add those manually!

But I think it's possible...Maybe for an other release?

Thanks and cheers.

Edited by myselfidem

Posted (edited)

Hi @Kel,

finally I translated the manual and fixed a few lines of lang file for better meaning and sync with the manual.. I want to be a supporter as a translator. would I put files here or PM you?

Edited by ZEUS__
Posted (edited)

About selecting Operating System: {OS=Win8,Win7,Vista,XP}

I suggest to change the comma (',') = (%comma%) to ('||')

Inside configwizard.js

We can change on line 796:


case 'cmd_cond_operatingsystem':
HandleCommandsSelectionMenu("{OS=Win8,Win7,Vista,XP} ");
break;

To:


case 'cmd_cond_operatingsystem':
HandleCommandsSelectionMenu("{OS=Win8 || Win7 || Vista || XP || 2K} ");
break;

And inside installer.js

We can change on line 1029:

Change:


switch(statement)
{
case 'OS':
var supportedOSes = statementArguments.split(',');

To:


switch(statement)
{
case 'OS':
var supportedOSes = statementArguments.split('||');

Tested and works fine for me.

WPI_Log.txt results on Windows 7 OS:

config.js


prog[pn]=['Ashampoo'];
uid[pn]=['ASHAMPOO'];
ordr[pn]=[2];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['{SLEEP} 10','{OS=Win8 || Win7 || XP} "%wpipath%\\Install\\abs6_free.exe"'];
cond[pn]=['getOSlang()=="FRS"'];
pn++;

WPI_Log.txt result (success):


samedi 8 juin 2013 11:58:50
Programme: Ashampoo
ID unique: ASHAMPOO
Ordre: 000002
Catégorie: Applications
samedi 8 juin 2013 11:59:01 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.6.6\Tools\Sleep.exe" 10
samedi 8 juin 2013 11:59:22 - cmd2 Succès (Code de retour 0): "C:\WPI_v8.6.6\Install\abs6_free.exe"
samedi 8 juin 2013 11:59:22 - Installation terminée.

config.js:


prog[pn]=['Ashampoo'];
uid[pn]=['ASHAMPOO'];
ordr[pn]=[2];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['{SLEEP} 10','{OS=Win8 || Vista || XP} "%wpipath%\\Install\\abs6_free.exe"'];
cond[pn]=['getOSlang()=="FRS"'];
pn++;

WPI_Log.txt warning (Fail):


samedi 8 juin 2013 11:56:01
Programme: Ashampoo
ID unique: ASHAMPOO
Ordre: 000002
Catégorie: Applications
samedi 8 juin 2013 11:56:11 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.6.6\Tools\Sleep.exe" 10
samedi 8 juin 2013 11:56:11 - cmd2 *** Abandonné *** (Architecture incorrecte): {OS=Win8 || Vista || XP} "%wpipath%\Install\abs6_free.exe"
samedi 8 juin 2013 11:56:12 - Installation terminée.

Tested and works fine for me.

Thanks to check if it's OK.

Regards

Edited by myselfidem
Posted

Hi @Kel,

finally I translated the manual and fixed a few lines of lang file for better meaning and sync with the manual.. I want to be a supporter as a translator. would I put files here or PM you?

Thanks ZEUS_ for your help and work! ;)

I think the best way is to past your files on the forum.

Cheers and regards

Posted (edited)

Maybe we can add PowerSchemes for Windows 8.

1 - We can add inside configwizard_wizards.js

from line 1439


var opt=document.getElementById("PowerSchemes").getElementsByTagName("OPTGROUP");
opt[3].label=getText(lblWindows8);
options[12].text=getText(optBalanced);
options[13].text=getText(optPowerSaver);
options[14].text=getText(optHighPerformance);

options[15].text=getText(optCustom);

2 - Inside configwizardtemplate_poweroptions_powerschemes.htm

from line 34:


<optgroup label="Windows8">
<option value="381b4222-f694-41f0-9685-ff5bb260df2e"></option>
<option value="a1841308-3541-4fab-bc81-f71556f20b4a"></option>
<option value="8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"></option>
</optgroup>

3 - Add inside lang_en.js:

On line 585:

lblWindows8[lang]               = ['Windows 8']

4 - Add inside globals_lang.js:

On line 144:

lblWindows8=[];

Thanks and regards

Edited by myselfidem
Posted (edited)

Maybe we can add inside core.js

position and whatfunc

Add to:


function SetNotExitingFlag()
{
position="core.js";
whatfunc="SetNotExitingFlag()";

Add to:


function RefreshWPI()
{
position="core.js";
whatfunc="RefreshWPI()";

Add to:


function WPIUnloading()
{
position="core.js";
whatfunc="WPIUnloading()";

Add to:


function handleErrors(msg,url,line)
{
position="core.js";
whatfunc="handleErrors()";

Thanks and regards

Edited by myselfidem
  • 2 weeks later...
Posted

Hi @Kel,

finally I translated the manual and fixed a few lines of lang file for better meaning and sync with the manual.. I want to be a supporter as a translator. would I put files here or PM you?

Thanks ZEUS_ for your help and work! ;)

I think the best way is to past your files on the forum.

Cheers and regards

hello,

I saw this now. I already sent files to @Kel from wincert, when this forum was closed for maintenance. anyway, thanks for your efforts.

regards.

  • 4 weeks later...
Posted (edited)

Here is the new lang_fr.js for WPI_v8.6.7

Because the line 238 is removed:

lblEnable64BitProcessing[lang]  = ['Enable 64bit processing'];

Thanks and regards

"Edit: file given

Edited by myselfidem
  • 1 month later...
  • 2 months later...
Posted

To those that have provided lang files:

I have all of the ones provided in the previous posts. Thank you . If you make any changes add them into new posts so I don't get lost please.

The updated files are in the 8.7.0 and will be in there on dec 8th when it is released.

Posted (edited)

Hi Kelsenellenelvian..

Here the Dutch Updated lang file..
The error I get here was:

optKeep[lang]                     = ['Blijft zichtbaar.Beweegt met muis mee'];

So I removed that line..
And OC translate new line's.
All is fine now!!!..

Thx alot..

Grt Whatsup

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

Here is the new lang_fr.js for WPI_v8.6.7

Because the line 238 is removed:

lblEnable64BitProcessing[lang] = ['Enable 64bit processing'];

http://www.mediafire.com/download/9kukrbmgrxyxrwj/lang_fr.rar

Thanks and regards

I'll also removed this line!!..Correct??

lang_nl.js

Edited by Whatsup
  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...