Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×


  • Content Count

  • Joined

  • Last visited

  • Donations


Everything posted by Francesco

  1. This is how I install it: "%wpipath%\Install\Multimedia\Codec Packs\K-Lite Codec Pack v10.6.0 Full.exe" /verysilent /norestart /LoadInf="%wpipath%\Install\Multimedia\Codec Packs\K-Lite Codec Pack v10.6.0 Full - Unattended Settings.ini"As you can see I just put the full path for the INI file. No need for an SFX archive.
  2. Can't those two lines simply be removed from all languages files?
  3. WPI has a bug that when an alert is issued before DHTMLx has been initialized it throws a javascript error. That's why error catching in conditions and other places doesn't work properly.
  4. if (Caption.indexOf("Windows 2012") != -1) szOSVerCache="12"; else if (Caption.indexOf("Windows 8") != -1) szOSVerCache="Win8"; else if (Caption.indexOf("Windows 7") != -1) szOSVerCache="Win7"; else if (Caption.indexOf("2008") != -1) szOSVerCache="08"; else if (Caption.indexOf("Vista") != -1) szOSVerCache="Vista"; else if (Caption.indexOf("2003") != -1) szOSVerCache="03"; else if (Caption.indexOf("XP") != -1) szOSVerCache="XP
  5. It happened to me too but now it no longer shows, maybe they pulled the update?
  6. Francesco


    I don't know if this classifies as a bug but when I remove every keyboard except the one for my language the following keys and files for extra US-based keyboards are not removed: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010409""HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00020409""HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00030409""HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00040409""C:\Windows\System32\KBDDV.DLL""C:\Windows\System32\KBDUSX.DLL""C:\Windows\System32\KBDUSL.DLL""C:\Windo
  7. Francesco


    "upd: Direct integration support for many more hotfixes, mainly XP (including x64)" Some details, please
  8. Remove from jscript.js: function TimedWaitForProgram(ImageName,HowLong){ position="jscript.js";whatfunc="TimedWaitForProgram()";var Elapsed=3;Pause(3,0);while (Elapsed<=HowLong*60){ var oExec = WshShell.Exec('tasklist.exe'); while (oExec.Status == 0) Pause(0,100); var Output = oExec.StdOut.ReadAll() + oExec.StdErr.ReadAll(); if (Output.search(ImageName)==-1) return; Pause(3,0); Elapsed += 3;}}At the bottom of WMI.js add: function TimedWaitForProgram(ImageName,HowLong){ position="wmi.js";whatfunc="TimedWaitForProgram()";try{ objWMIService=GetObject("winmgmts:\\\\" + "." + "\\roo
  9. In configwizard.js after CommandsMenuBar.addNewChild("jscript_system", 10, "jscript_ErrorReporting", "ErrorReporting()", false, "", "");add CommandsMenuBar.addNewChild("jscript_system", 11, "jscript_SetAppAsDefault", "SetAppAsDefault()", false, "", "");and before case 'jscript_SetAutoLogonUser':add case 'jscript_SetAppAsDefault': HandleCommandsSelectionMenu('{JSCRIPT}=SetAppAsDefault("Program ID")'); break;In jscript.js add function SetAppAsDefault(ProgId){ position="jscript.js";whatfunc="SetAppAsDefault()";RunCmd('"' + wpipath + '\\Tools\\WPI Tool.exe" /Action=SetAppAsDefaultAll /ProgId="
  10. enable64bit can be removed since the launcher when possible always run MSHTA in 64bit mode. From configwizard.js remove: document.getElementById("bit64").checked=configList[pos].bit64=="yes" ? 1 : 0;and configList[pos].bit64=document.getElementById("bit64").checked ? "yes" : "no";and entry.bit64="no";and document.getElementById("bit64").disabled=state;and case "bit64": configList[pn-2].bit64=val; break;and WriteConfigValue(tf, "bit64", configList[i].bit64,0);and document.getElementById("lblEnable64BitProcessing").innerHTML=getText(lblEnable64BitProcessing);From globals.js re
  11. I haven't noticed anything that could affect the installer in the changes and I never had any error myself, maybe it's IE10 or something else causing trouble?
  12. Sure, but having the source code still doesn't guarantee the code hasn't been tampered with, you can only be sure it's clean if you read the code line by line and then compile it yourself. As you can see though VirusTotal reports it being completely clean. I didn't bother adding the sources since it's just 3 API calls for setting the default applications (strangely nobody ever bothered to release a similar tool though) but I attached them to this post. WPI Tool.rar
  13. Description I made a little tool (attached to this post) that invokes the SetAppAsDefaultAll application registration API to set an application as default on Vista/7. It does exactly the same registration that is performed when you open "Program defaults" and set an application as default. NOTE: it doesn't work on XP/8 because that registration API is only available on Windows Vista and Windows 7. Windows XP and Windows 8 handle application registrations differently (Win8 blocks applications from changing defaults and XP instead has several different ways of which I can't figure if there is a
  14. Description An alternative to abruptly terminating processes with TASKKILL. Changes In jscript.js before function TimedWaitForProgram(ImageName,HowLong)add function TimedWaitForWindow(WindowName,HowLong){ position="jscript.js"; whatfunc="TimedWaitForWindow()"; RunCmd('"' + wpipath + '\\Tools\\WPI Tool.exe" /Action=WaitForWindow /WindowName="' + WindowName + '" /Timeout=' + HowLong, false, true);}In configwizard.js replace CommandsMenuBar.addNewChild("jscript_dos", 3, "jscript_setEnvVar", "setEnvVar()", false, "", ""); CommandsMenuBar.addNewChild("jscript_dos", 4, "jscript_removeEnvVar", "rem
  15. Sorry, I didn't notice the same files were loaded twice in each HTM file. You also have to replace in WPI.HTA: document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxtabbar.css">'); document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxcombo.css">'); document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxslider.css">'); document.write('<link rel="stylesheet" type="text/css" href="../common/codebase/dhtmlxslider_custom.css">'); document.write('<link rel="style
  16. I compiled dHTMLx (attached in this post) with only the controls WPI uses, it replaces the whole Codebase folder. In WPI.HTA this code block <script type="text/javascript" src="../common/codebase/dhtmlxcommon.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxcontainer.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtabbar.js" application="yes"></script><script type="text/javascript" src="../common/codebase/dhtmlxtabbar_start.js" application="yes"></script><s
  17. You can find the keyboard layout keys here HKEY_CURRENT_USER\Keyboard Layout\Preload Export the one you need to a reg file and add it to WPI.
  18. then use an autoit script to make an automated installer?
  19. Any plan to upgrade DHTMLx? Using a compiled version would remove ~70 files from the WPI archive and also remove 21 files to load in the HTA files. If you also compile the images you can remove 200 additional files.
  20. Is there a reason why <!--[if lt IE 7]> <style type="text/css"> img, div, input, span { behavior: url("../WPIScripts/iepngfix.htc") } </style> <![endif]--> has been removed from WPI.HTA? Without that transparency doesn't work in IE6.
  21. WriteLogLinePlain(" "+getText(lblSysArch6432)+"="+sysArch6432); and WriteLogLinePlain(" "+getText(lblTrue64Bits)+"="+true64bits); had to be removed from installer_log.js but are still there
  22. Fix In globals.js replace var sysArch, sysArch6432; with var sysArch; and var OSBits=32, mshtaBits=32; with var OSBits=32; and remove var true64bits=false, true32bits=false; In globals_lang.js replace var lblArchName=[], lblArchNameString=[], lblArchID=[], lblNumberProcessors=[], lblMHz=[], lblArchType=[], lblSysArch6432=[], lblArchBits=[], lblTrue64Bits=[]; with var lblArchName=[], lblArchNameString=[], lblArchID=[], lblNumberProcessors=[], lblMHz=[], lblArchType=[], lblArchBits=[]; and remove the lblSysArch6432 and lblTrue64Bits lines from all langfiles. In information
  23. Fix In API.js replace function moveCaretToStart(control) { position="api.js"; whatfunc="moveCaretToStart()"; if (control.createTextRange) { var range=control.createTextRange(); range.collapse(true); range.select(); } else if (control.setSelectionRange) { control.focus(); control.setSelectionRange(0,0); } } with function insertAtCaret(control, text) { position="api.js"; whatfunc="insertAtCaret()"; if (control.setSelectionRange) control.value = control.value.substring(0,control.selectionStart) + text + control.value.substring(control.selectionStart,control.selectio
  24. I made 32x32 icons for teamviewer and photogallery Teamviewer and Photogallery.zip
  • Create New...