Whatsup Posted August 24, 2012 Posted August 24, 2012 @WhatsupTake care with the spaces inside the command you have changed!I did not change it..only copy en past here for info.But Thanks for the info...I'll keep an eye on^^Could you try now changing the command inside installer.js, like this, and let us know the result?:case 'DELDIR': cmd="CMD /C RMDIR /S /Q " + cmd; fsoCmd=true; break; Works fine for me!Yes test succesfull..it work nice men^^.And i see now whats wrong in WPI 8.5.8 installer.js.cmd="CMD /C RMDIR /S /Q "[missing space here]+ cmd; thats why it fail yesterday.
myselfidem Posted August 24, 2012 Posted August 24, 2012 (edited) Thanks Whatsup for the test! Edited August 24, 2012 by myselfidem
myselfidem Posted August 25, 2012 Posted August 25, 2012 (edited) About the sound inside Audio Player.The function to stop the sound or enable it when we want, is to change a value inside: Installer.hta (was inside previous version WPI_v7.6.0)line 579, change the value false to true.document.getElementById("MediaPlayer").settings.autoStart=true;Now works fine!Regards*Edit: However works only for mp3 files and not for mid files !! Maybe the solution is to convert .mid files to .mp3 files !!Tested with Galaga.mid converted to Galaga.mp3 and works fine (Of course, The disadvantage is that the file is larger)! Edited August 29, 2012 by myselfidem
myselfidem Posted August 26, 2012 Posted August 26, 2012 (edited) When I select some applications there is an error on Windows 7 with System event and the system needs time: 4 minutes to start and 4 minutes to restart the first time.If I install all programs, all is fine: 20 seconds to start and 20 seconds to restart. Can you clarify???Not totaly solved!The trouble was a warning message on a popup window at start and restart Windows on VM Oracle VirtualBox, only installing some applications with WPI, but not when installing all.WMI error message insde the Event System log:Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.And Windows needed 4 minutes to start and 4 minutes to restart only the first time. Windows Management InstrumentationThis happens only using VM VirtualBox - not on my Computer - and I made some adjustments inside VM: Configuration | System | Accelerationuncheck the boxes:- Hardware Virtualization: Activate VT-x/AMD-VEnable Paging nestedWPI is more faster than never!Using WMIMaintaining WMI SecurityRegards Edited September 3, 2012 by myselfidem
Whatsup Posted August 31, 2012 Posted August 31, 2012 About the sound inside Audio Player.The function to stop the sound or enable it when we want, is to change a value inside: Installer.hta (was inside previous version WPI_v7.6.0)line 579, change the value false to true.document.getElementById("MediaPlayer").settings.autoStart=true;Aha...so that was the reason that it stops working for me in the past^^...well found myselfidem.
myselfidem Posted September 1, 2012 Posted September 1, 2012 Aha...so that was the reason that it stops working for me in the past^^...well found myselfidem.Yes. Thanks And we can see also that the volume slider works fine!
myselfidem Posted September 2, 2012 Posted September 2, 2012 (edited) Thanks for the new release WPI_v8.6.0 However could you apply the changes needed inside core.js:line 135:Enum=winMgts.OSLanguage;with// %OSLANG% var Enum, DtoH; CreateLocalArray(); try { objWMIService=GetObject("winmgmts:\\\\" + "." + "[url="file://\\root\\CIMV2"]\\root\\CIMV2[/url]"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) objItem=enumItems.item(); OSLanguage=objItem.OSLanguage; // OSLanguage=1033, 1036, .... try { var Enum=objItem.OSLanguage; } catch(ex2) { Enum=1033; }line 331var hD="0123456789ABCDEF";withvar hD="0123456789abcdef";Regards*Edit: post updated ! Edited September 2, 2012 by myselfidem
Whatsup Posted September 2, 2012 Posted September 2, 2012 Thanks for the new release WPI_v8.6.0 However could you apply the changes needed inside core.js:line 135:Enum=winMgts.OSLanguage;withCreateLocalArray(); try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); objItem=enumItems.item(); // OSLanguage=1033, 1036, .... try { var Enum=objItem.OSLanguage; } catch(ex2) { }Are you sure about bottom ---> }I'm just adding.just to be sure.Thx^^
myselfidem Posted September 2, 2012 Posted September 2, 2012 (edited) Thanks Whatsup! Iupdated my last post !Missing some values:catch(ex2) { Enum=1033; }core.js for %OSLANG%// %OSLANG% var Enum, DtoH; CreateLocalArray(); try { objWMIService=GetObject("winmgmts:\\\\" + "." + "[url="file://\\root\\CIMV2"]\\root\\CIMV2[/url]"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) objItem=enumItems.item(); OSLanguage=objItem.OSLanguage; // OSLanguage=1033, 1036, .... try { var Enum=objItem.OSLanguage; } catch(ex2) { Enum=1033; } DtoH=DecToHex(Enum); while (DtoH.length<4) DtoH="0" + DtoH+""; for (var x=0; x<arrOSLang.length; x++) { if (arrOSLang[x].LCID==DtoH) { oslang=arrOSLang[x].TLA; oslocale=arrOSLang[x].Locale; break; } } } catch(ex) { oslang="ENU"; oslocale="English - United States"; } // Environment variable for batch file setEnvVar("HDD",hdd,false); setEnvVar("CDDRV",cddrv,false); setEnvVar("WPIPATH",wpipath,false); setEnvVar("ROOT",root,false); setEnvVar("OSLANG",oslang,false); setEnvVar("OSLOCALE",oslocale,false);}*Edit: I'm testing with these values now! I don't know if it's a good idea...But works! I'm testing on VM to see the result and see if there is always WMI errors!Regards Edited September 2, 2012 by myselfidem
myselfidem Posted September 2, 2012 Posted September 2, 2012 Inside information.jsIt seems it's an error:ArchitectureGrid.addRow(gId++,getText(lblArchType)+','+sysArch+'');Changed with:ArchitectureGrid.addRow(gId++,getText(lblArchType)+','+getArch()+'');Regards
Whatsup Posted September 2, 2012 Posted September 2, 2012 Hi.The body.clientWidth and body.clientHeight are changed in installer.js.So the installer window is a bit out of context.installer.jsoldline 177 : window.resizeTo(iWidth+(460-document.body.clientWidth),iHeight+(560-document.body.clientHeight));newLine 177 : window.resizeTo(iWidth+(430-document.body.clientWidth),iHeight+(570-document.body.clientHeight));so i think it's better to stay by 460 and 560.Thx for the new update Kel^^PS:I upload soon dutch lang_nl.js it's almost ready.
myselfidem Posted September 3, 2012 Posted September 3, 2012 (edited) I see inside wmi.js that is missing for getOSvernum (line 22, ect.)function getOSvernum() { position="wmi.js"; whatfunc="getOSvernum()"; Regards*Edit. I see there is a new download link for WPI:http://www.wpiw.net/help.html Edited September 3, 2012 by myselfidem
myselfidem Posted September 3, 2012 Posted September 3, 2012 (edited) When I select some applications there is an error on Windows 7 with System event and the system needs time: 4 minutes to start and 4 minutes to restart the first time.If I install all programs, all is fine: 20 seconds to start and 20 seconds to restart. Can you clarify???Not totaly solved!The trouble was a warning message on a popup window at start and restart Windows on VM Oracle VirtualBox, only installing some applications with WPI, but not when installing all.WMI error message insde the Event System log:Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.And Windows needed 4 minutes to start and 4 minutes to restart only the first time. Windows Management InstrumentationThis happens only using VM VirtualBox - not on my Computer - and I made some adjustments inside VM: Configuration | System | Accelerationuncheck the boxes:- Hardware Virtualization: Activate VT-x/AMD-VEnable Paging nestedWPI is more faster than never!Using WMIMaintaining WMI SecurityRegardsSolved using this workaround:Event ID 10 is logged in the Application log after you install Service Pack 1 for Windows 7 or Windows Server 2008 R2This originated in the Windows 7 SP1 DVD/ISO creation process. There was an issue in the creation process that caused a WMI registration to remain in the DVD/ISO. Since the registration is designed to work only during the DVD/ISO creation process, it fails to run on a live system and causes these events. These events are not indicative of any issue in the system and can be safely ignored. If however you want to prevent these events from getting generated and want to remove this specific WMI registration manually, please follow the steps mentioned in this article for running the workaround script.Using with WPI and not have window boxes I use like this:Workaround.vbs' Event ID 10 is logged in the Application log after you install ' Service Pack 1 for Windows 7 or Windows Server 2008 R2' For more details read instructions on the link below' http://support.microsoft.com/kb/2545227strComputer = "."Set objWMIService = GetObject("winmgmts:" _& "{impersonationLevel=impersonate}!\\" _& strComputer & "\root\subscription")set obj1 = objWMIService.ExecQuery("select * from __eventfilter where name='BVTFilter' and query='SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA ""Win32_Processor"" AND TargetInstance.LoadPercentage > 99'")For Each obj1elem in obj1set obj2set = obj1elem.Associators_("__FilterToConsumerBinding")set obj3set = obj1elem.References_("__FilterToConsumerBinding")For each obj2 in obj2set obj2.Delete_nextFor each obj3 in obj3set obj3.Delete_nextobj1elem.Delete_NextOr we can download and use Microsoft FixIt installing with WPI, at last:MicrosoftFixit50688.msi (using /qn switches).Regards Edited September 8, 2012 by myselfidem
chymax3m Posted September 4, 2012 Posted September 4, 2012 Hi everyone! Found a bug on http://www.wpiw.net/ : clicking the DOWNLOAD button starts downloading WPI_v8.5.9 not the latest 8.6.0, fix it please.
myselfidem Posted September 5, 2012 Posted September 5, 2012 (edited) Many thanks Kels for the new awesome release WPI_v8.6.1 To display the Archtype correctly could you change like this inside information.js:Replace:ArchitectureGrid.addRow(gId++,getText(lblArchType)+','+getArch+'');with:ArchitectureGrid.addRow(gId++,getText(lblArchType)+','+getArch()+'');Thanks to update the wpi.xml file with: <version>8.6.1</version>Regards Edited September 5, 2012 by myselfidem
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now