MSFN Forum: Languages, Themes, Manuals & Mods - MSFN Forum

Jump to content


  • 7 Pages +
  • « First
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

Languages, Themes, Manuals & Mods The place for translations... Rate Topic: -----

#121 User is offline   myselfidem 

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

Posted 28 May 2013 - 12:32 AM

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.

This post has been edited by myselfidem: 28 May 2013 - 12:41 AM



#122 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 185
  • Joined: 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 June 2013 - 12:09 PM

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?

This post has been edited by ZEUS__: 02 June 2013 - 12:09 PM


#123 User is offline   myselfidem 

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

Posted 08 June 2013 - 04:29 AM

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

This post has been edited by myselfidem: 08 June 2013 - 03:04 PM


#124 User is offline   myselfidem 

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

Posted 11 June 2013 - 09:49 PM

View PostZEUS__, on 02 June 2013 - 12:09 PM, said:

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

#125 User is offline   myselfidem 

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

Posted 14 June 2013 - 03:21 AM

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

This post has been edited by myselfidem: 14 June 2013 - 03:28 AM


#126 User is offline   myselfidem 

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

Posted 14 June 2013 - 11:09 PM

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

This post has been edited by myselfidem: 15 June 2013 - 12:12 AM


#127 User is offline   myselfidem 

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

Posted 16 June 2013 - 11:11 AM

Inside information.js

Maybe we can add

On line 145:
VariablesGrid.addRow(gId++,'COMSPEC,'+ReplacePath("%comspec%")+'');


Thanks and regards

Share this topic:


  • 7 Pages +
  • « First
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

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



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