Jump to content

Recommended Posts

Posted (edited)

Thanks gilles_gros !

Inside configwizard.js we can add OS 2K:


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

Cheers and regards

Edited by myselfidem
  • 2 weeks later...

Posted (edited)

It seems there is a little typo error inside optionswizard.js (on line: 1966)

tf.WriteLine("ExecuteBeforebit4="+ExecuteBeforebit64+";");

Change to:

tf.WriteLine("ExecuteBeforebit64="+ExecuteBeforebit64+";");

Regards

*Edit: Maybe we can change also inside optionswizard.js (lines: 1895 and 2038)

tf.WriteLine("// WPI Options 8.0.0");

Change to:

tf.WriteLine("// WPI Options 8.1.0");

*Edit2: We can change also inside configwizard.js (on line: 3118)

Change to:

tf.WriteLine("// WPI Config 8.1.0");

Inside networkwizard.js (on line: 2087)

Change to:

tf.WriteLine("// WPI Config 8.1.0");

Edited by myselfidem
Posted (edited)

Thanks Kels!

Inside installer.js (on line: 1382)

The registry value need to be changed:

WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount",Count,"REG_SZ");

Change to:

WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount",Count,"REG_DWORD");

Thanks and regards

Edited by myselfidem
Posted (edited)

Inside globals.js we can read (on line 444):

// alert.js

var alertSound="%wpipath%\\Audio\\SoundsScheme\\Windows Exclamation.wav";

But the sound is missing inside WPI_v8.6.6, and we can find this one on previous WPI_v7.5.0

Or we can change the path to an existing sound inside globals.js:

var alertSound="%wpipath%\\Audio\\SoundsScheme\\Warning.wav";

Thanks and regards

Edited by myselfidem
Posted

Inside jscript.js little typo errors on lines: 350 to 353; 370 and 371:

HKEY_LOCAL_MACHIBE

Key for AutoAdminLogon on line 353 and line 371:

WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",1,"REG_SZ");

WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",0,"REG_SZ");

Thanks and regards

Posted (edited)

Inside installer.js it seems it's missing some values:

Line 1252:

function ClearProgressBar()
{
position="installer.js";
whatfunc="ClearProgressBar()";

Line 1265:

function UpdateProgressBar(value)
{
position="installer.js";
whatfunc="UpdateProgressBar()";

Thanks to check if it's OK.

Thanks and regards

Edited by myselfidem
Posted (edited)

Inside installer.js it seems is missing this function (like written on previous WPI_v8.2.0):

function CheckPendingFileRenameOperations()

Thanks and regards

*Edit: Oops...Sorry, I see this function is already in wmi.js ! :)

Edited by myselfidem
Posted (edited)

Inside core.js, I think we can remove: function getProductKey()

Because this one is already inside wmi.js

Thanks to check if it's OK.

Regards

*Edit: Inside WPI.hta (on line: 117), a little typo error

.cmd is witten twice:

WriteRegKey("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\\LowRiskFileTypes", .....

Edited by myselfidem
Posted (edited)

Inside installer_log.js are missing :

// Sounds tab


WriteLogLinePlain(" SndInstallWarningCB=" + SndInstallWarningCB);
WriteLogLinePlain(" SndInstallWarning=['" + SndInstallWarning + "'];");
WriteLogLinePlain(" SndWPIExitCB=" + SndWPIExitCB);
WriteLogLinePlain(" SndWPIExit=['" + SndWPIExit + "'];");

Inside globals.js we can remove the lines; because the file update.js no longer exits:


// update.js
var UpdateVersion, UpdateLink, UpdateMD5, UpdateTitle, UpdateNotes;
var UpdateAvailable;

Thanks and regards

Edited by myselfidem
Posted

Inside configwizard.js

To display this option, is missing line 453:

ConditionsMenuBar.addNewChild(WhichCond + "_filesystem", 5, "filesystem_setEnvVar", "setEnvVar()", false, "", ""); 

Thanks and regards

Posted (edited)

Thanks Kels!

Inside installer.js (on line: 1382)

The registry value need to be changed:

WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount",Count,"REG_SZ");

Change to:

WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount",Count,"REG_DWORD");

Inside wmi.js it's also needed to change the registry key on line: 1640 to:

WriteRegKey("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount",count,"REG_DWORD");

Thanks to check if it's OK!

Regards

Edited by myselfidem
Posted (edited)

About Fonts, I think we can remove this function inside registry_dos.js:

function installFontsFromFile(filename)

And remove the line 594:

if (thisFile.name != fontList)

And inside globals.js change the line (188) to:


// registry_dos.js
...
var fontDir;

Works fine for me!

Thanks to check if it's OK!

Regards

*Edit: It seems that solved a strange creation file on: C:\Windows.

See the image here:

Image Strange File Created

Edited by myselfidem
Posted (edited)

I think we can change inside updatewizard.js on line 47:

tf.WriteLine("// WPI Config 8.1.0");

Thanks and regards

Edited by myselfidem
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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