myselfidem Posted May 9, 2013 Posted May 9, 2013 (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 May 9, 2013 by myselfidem
myselfidem Posted May 18, 2013 Posted May 18, 2013 (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 May 18, 2013 by myselfidem
Kelsenellenelvian Posted May 18, 2013 Author Posted May 18, 2013 Just a quick bookmark to show I have the changes up to here added in.Thank you guys
myselfidem Posted May 19, 2013 Posted May 19, 2013 (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 May 23, 2013 by myselfidem
myselfidem Posted May 19, 2013 Posted May 19, 2013 (edited) Inside globals.js we can read (on line 444):// alert.jsvar 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.0Or we can change the path to an existing sound inside globals.js:var alertSound="%wpipath%\\Audio\\SoundsScheme\\Warning.wav";Thanks and regards Edited May 19, 2013 by myselfidem
myselfidem Posted May 19, 2013 Posted May 19, 2013 Inside jscript.js little typo errors on lines: 350 to 353; 370 and 371:HKEY_LOCAL_MACHIBEKey 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
myselfidem Posted May 20, 2013 Posted May 20, 2013 (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 May 20, 2013 by myselfidem
myselfidem Posted May 20, 2013 Posted May 20, 2013 (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 May 20, 2013 by myselfidem
myselfidem Posted May 21, 2013 Posted May 21, 2013 (edited) Inside core.js, I think we can remove: function getProductKey()Because this one is already inside wmi.jsThanks 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 May 21, 2013 by myselfidem
myselfidem Posted May 21, 2013 Posted May 21, 2013 (edited) Inside installer_log.js are missing :// Sounds tabWriteLogLinePlain(" 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 May 21, 2013 by myselfidem
myselfidem Posted May 22, 2013 Posted May 22, 2013 Inside configwizard.jsTo display this option, is missing line 453:ConditionsMenuBar.addNewChild(WhichCond + "_filesystem", 5, "filesystem_setEnvVar", "setEnvVar()", false, "", ""); Thanks and regards
myselfidem Posted May 22, 2013 Posted May 22, 2013 (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 May 23, 2013 by myselfidem
myselfidem Posted May 22, 2013 Posted May 22, 2013 (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 June 7, 2013 by myselfidem
myselfidem Posted May 23, 2013 Posted May 23, 2013 (edited) I think we can change inside updatewizard.js on line 47:tf.WriteLine("// WPI Config 8.1.0");Thanks and regards Edited May 24, 2013 by myselfidem
Recommended Posts