Jump to content

Languages, Themes, Manuals & Mods


Recommended Posts

How to keep the installation order number?:

http://www.msfn.org/...-install-order/

1 - Inside program.js , changing (on line 213):

{return x - y;} 

2 - Inside program.js (on line 322) adding:

progspercat.sort(byOrder);  // Sort by ascending numerical order

if (SortWithinCats)
progspercat.sort(SortByProg); // Sort by alphabetical order

Thanks to make tests and check if it's OK!

Tested and works fine for me!

Regards

Edited by myselfidem
Link to comment
Share on other sites

  • 1 month later...

Is needed italian translation update form 8.6.5 to 8.6.6?

Yes, jinkazama

Because there is new functions added, and two new lines translated needed.

End of WPI_v8.6.6 lang_en.js:


// v8.6+
lblNumberOfCores[lang] = ['Number Of Cores'];
lblNumberOfLogicalProcessors[lang] = ['Number Of Logical Processors'];
lblProductKey[lang] = ['Product Key'];
lblKeyboardLayout[lang] = ['Keyboard Layout'];
//------------------------------------------------------------------------------

Cheers and regards

*Edit: Oops...Sorry missing some new words inside lang_fr.js (line 972)

French language file updated:

Regards

*Edit: lang_fr.js given

Edited by myselfidem
Link to comment
Share on other sites

@Kels

Could you add inside WPI_v8.6.6 the French Manual updated with: [Comparison operator ===] added on Chapter 7, please!

French Manual and lang_fr.js updated for WPI_v8.6.6:

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

Thanks and regards.

Link to comment
Share on other sites

  • 1 month later...

Hello!

WPI typically used for installation of programs not only legal, but also programs of paid-compromised.

In connection with this I propose to do the switch defaults to WPI legal software and illegal

So it will be more convenient for the users, well and accordingly the color difference programs legal from illegal.

For example I came to anybody home install programs, change to the illegal and installed.

And if I go in or what kind of organization or the office, then set the switch on legally.

Perhaps You have there in the USA use only legal software, but we have in Russia use the programs that are comfortable and pay for them or who do not want to.

According to statistics, in Russia, 90% of the users use illegal software including OS.

Edited by CWTeaM
Link to comment
Share on other sites

  • 2 weeks later...

I suggest to add a new command inside installer.js (line 1209) using: msiexec.exe /i %WPIPath%\Program.msi /qn


case 'MSI':
var src, splits;

src=cmd;
if (cmd.indexOf('" "') != -1)
{
splits=cmd.split('" "');
src=splits[0];
}
else
{
if (src.substr(0,1)=='"')
{
splits=cmd.split('" ');
src=splits[0];
}
else
{
splits=cmd.split(' ');
src=splits[0];
}
}

src=src.replace(/\"/g,"");
cmd='msiexec.exe /i "'+src+'" /qn';
fsoCmd=true;
break;
}

Adding inside configwizard.js

On line 372:

CommandsMenuBar.addNewChild("cmd_system", 5, "dos_msi", "Msi", false, "", "");

On line 643:


case 'dos_msi':
HandleCommandsSelectionMenu("{MSI} ");
break;

Tested and works fine for me. Example with SkypeSetup.msi:

config.js


prog[pn]=['Skype'];
uid[pn]=['SKYPE'];
ordr[pn]=[5];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['{MSI} "%wpipath%\\Install\\SkypeSetup.msi"'];
desc[pn]=['Skype'];
pn++;

Result inside WPI_Log.txt:

dimanche 26 mai 2013 07:36:44

Programme: Skype

ID unique: SKYPE

Ordre: 000005

Catégorie: Applications

dimanche 26 mai 2013 07:36:54 - cmd1 Succès (Code de retour 0): msiexec.exe /i "C:\WPI_v8.6.6\Install\SkypeSetup.msi" /qn

dimanche 26 mai 2013 07:36:55 - Installation terminée.

Thanks and regards

*Edit: post updated

Thanks to check if it's OK

*Edit2: However I see this option already exists using USSFStrings:

"Switches" : 'msiexec.exe /i %s /qb',

Edited by myselfidem
Link to comment
Share on other sites

Inside WPI.hta

Maybe we can change the lines 432 and 446:

strFile=ReplacePath('"%sysdir%\\mshta.exe" "'+wpipath+'\\Common\\Installer.hta"');

Changing to:

strFile=ReplacePath('"'+sysdir+'\\mshta.exe" "'+wpipath+'\\Common\\Installer.hta"');

Thanks to check if it's OK!

Regards

Link to comment
Share on other sites

I suggest to add a new command inside installer.js (line 1209) using: msiexec.exe /i %WPIPath%\Program.msi /qn
and what about Properties of .msi? I met some programs, which you could set the default language, destination directory and so on using Properties of MSI package, how would it be done with a new part of code?
Link to comment
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.
×
×
  • Create New...