Jump to content

myselfidem

Member
  • Posts

    2,515
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Switzerland

Everything posted by myselfidem

  1. Yes, because Windows 8 Pro Edition isn't mentionned inside: function getOSsku(sku) (wmi.js)!
  2. Could you try to change inside wmi.js (only line 50) and share your result?: Change "Windows 8" to "8": function getOSver() { position="wmi.js"; whatfunc="getOSver()"; if (szOSVerCache==NOT_FOUND) // this function is called often - get it once and cache the result { try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); objItem=enumItems.item(); var Caption=objItem.Caption; if (Caption.indexOf("8") != -1) szOSVerCache="Win8"; Thanks!
  3. Thanks for your sharing result! Please could you tell us if you see inside: information | Computer | OS System = Win8 ? And Edition ID Regards
  4. Thanks! I know it's needed to work a little!
  5. However, I can see only one CD\DVD is detected and I have two CD\DVD Burner on each computer (HP x86 and HP amd64): On HP amd64 only this one is detected: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\CdRomHL-DT-ST_DVDRAM_GH24NS50________________XP01____\4&2a750ea6&0&0.2.0\Device Parameters] And this one isn't detected: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\CdRomhp_CDDVDW_TS-H653R______________________0E00____\4&2a750ea6&0&0.1.0] Same result with one CD\DVD not detected inside HP x86 computer (two CD\DVD installed)! Note: Each time we install a new CD\DVD we must update the firmware to have a CD\DVD to run properly! Regards
  6. On my computer x86 I have all the result with wmi. WMI may not work the same way on a amd64 computer based! Requesting WMI Data on a 64-bit Platform Maybe that can help to use WMI Diagnosis Utility: WMI Diagnosis Utility I hope that can help! Regards
  7. I have no wmi crap figured out!! The result on my computer amd64 HP is: Audio, Keyboard and mouse not detected!
  8. Oh, sorry...You are right! Thanks Regards
  9. Also missing inside information.js (line 135): VariablesGrid.addRow(gId++,'USB,'+usbdrv+''); Regards
  10. Inside WPI_v8.6.2 it's needed to remove (function getArchNumProcs() is writed twice and give a wrong result): wmi.js (line 461) Remove: function getArchNumProcs() { position="wmi.js"; whatfunc="getArchNumProcs()"; return WshShell.ExpandEnvironmentStrings("%NUMBER_OF_PROCESSORS%"); } Because this function is already changed! Regards
  11. Many thanks! I've read the doc on the Main WPIW page, and I also made a new License.txt (French) inside French manual about this question: And here is the new lang_fr.js for WPI_v8.6.2 Regards
  12. The Antivirus product installed on your computer is detected! On my computer x86: " Microsoft Security Essentials" is installed and detected. On my computer amd64: "Norton Internet Security" is installed and detected.
  13. It's the virtual device! You need to install first the registry key for the certificate, and only. After you can install the program! You can download my example: how to install Daemon Tools included inside SetProductKey.rar on my signature below (look at $OEM$ folder. All is included, except Daemon Tools). *Edit: You can also create an SFX file if you want.
  14. Maybe that can help you about Deamon Tools: http://www.wincert.net/forum/topic/9178-create-your-own-autounattendxml-all-in-one-x86amd64/page__st__80#entry86065
  15. Thanks for the test and your sharing!
  16. Done! You can try to apply this changes inside wmi.js and look if it works for you: http://www.msfn.org/...ost__p__1011110 Regards
  17. I made some changes inside wmi.js to try to solve an issue with Laptops not detected: http://www.msfn.org/...ost__p__1010883 Works fine for me but detecting my "Desktop". Thanks to share if it's available for Laptops! Function getSystemEnclosureType() replaced with: wmi.js function getSystemEnclosureType() { position="wmi.js"; whatfunc="getSystemEnclosureType()"; var Chassis=0; try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_SystemEnclosure", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { objItem=enumItems.item(); Chassis=objItem.ChassisTypes(0); try { Chassis=objItem.ChassisTypes(0); } catch(ex) { SystemEnclosureType:"null"; } if (Chassis==null) Chassis=0; switch(Chassis) { case 'undefined': case 0: SystemEnclosureType="Unspecified"; break; case 1: SystemEnclosureType="Other"; break; case 2: SystemEnclosureType="Unknown"; break; case 3: SystemEnclosureType="Desktop"; break; case 4: SystemEnclosureType="Low Profile Desktop"; break; case 5: SystemEnclosureType="Pizza Box"; break; case 6: SystemEnclosureType="Mini Tower"; break; case 7: SystemEnclosureType="Tower"; break; case 8: SystemEnclosureType="Portable"; break; case 9: SystemEnclosureType="Laptop"; break; case 10: SystemEnclosureType="Notebook"; break; case 11: SystemEnclosureType="Handheld"; // WPI is not available for Handheld break; case 12: SystemEnclosureType="Docking Station"; break; } break; } } catch(ex) { SystemEnclosureType="Unspecified"; } return SystemEnclosureType; } Not all SystemEnclosureTypes are writed! It's just for testing now. Regards *Edit: tested with the laptop from a neighbor and works fine: Notebook detected!
  18. Sorry if it's not the good thread, to ask to update the: http://www.wpiw.net/The_dark_side/config.htm (link to sample-config) Inside the Home WPIW page, using the Help tab: http://www.wpiw.net/help.html Regards
  19. Inside information.js it's possible to add: VariablesGrid.addRow(gId++,'USB,'+usbdrv+''); Regards
  20. Maybe it would be useful to return back and write inside global.js: global.js // wmi.js var OSProps, winMgts; Because WPI_DiscChanger.hta use: function DoSetup() { try { OSProps=GetObject("winmgmts:").InstancesOf("Win32_OperatingSystem"); winMgts=new Enumerator(OSProps).item(); Lang=winMgts.OSLanguage; } Regards
  21. Maybe your change your mind, because I read another price inside WPIW.license.txt (4): http://www.msfn.org/board/topic/158274-windows-post-install-wizard-main-thread/page__view__findpost__p__1010203 Regards
  22. You can find help here: http://www.msfn.org/...post__p__960511
  23. I suggest to add inside WPI more informations about the processor(s). Changes applied to give more infos: wmi.js (and getArch changed) function getArch() { position="wmi.js"; whatfunc="getArch()"; sysArch=WshShell.RegRead("HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\PROCESSOR_ARCHITECTURE"); return sysArch; } function getArchNumProcs() { position="wmi.js"; whatfunc="getArchNumProcs()"; try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { objItem=enumItems.item(); NumberOfProcessors=objItem.NumberOfProcessors; break; } } catch(ex) { NumberOfProcessors="n/a"; } return NumberOfProcessors; } function getArchNumOfCores() { position="wmi.js"; whatfunc="getArchNumOfCores()"; try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_Processor", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { objItem=enumItems.item(); NumberOfCores=objItem.NumberOfCores; break; } } catch(ex) { NumberOfCores="n/a"; } return NumberOfCores; } function getArchNumLogicalProcs() { position="wmi.js"; whatfunc="getArchNumLogicalProcs()"; try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { objItem=enumItems.item(); NumberOfLogicalProcessors=objItem.NumberOfLogicalProcessors; break; } } catch(ex) { NumberOfLogicalProcessors="n/a"; } return NumberOfLogicalProcessors; } informations.js ArchitectureGrid.addRow(gId++,getText(lblNumberOfCores)+','+getArchNumOfCores()+''); ArchitectureGrid.addRow(gId++,getText(lblNumberOfLogicalProcessors)+','+getArchNumLogicalProcs()+''); global_lang.js var lblNumberOfCores=[], lblNumberOfLogicalProcessors=[]; lang_en.js lblNumberOfCores[lang] = ['Number Of Cores']; lblNumberOfLogicalProcessors[lang] = ['Number Of Logical Processors']; We can add these features inside: installer_log.js and also inside the Manual Chapter-6.html A little more time is needed to have the informations displayed! Regards *Edit: works for Windows XP, Windows Vista and Windows 7
  24. Yes! We can read here more informations about Laptop and Notebook: Laptop
×
×
  • Create New...