
myselfidem
MemberContent Type
Profiles
Forums
Events
Everything posted by myselfidem
-
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!
-
Thanks! I know it's needed to work a little!
-
WPI 8.6 and beyond bug\bugfix thread
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
WPI 8.6 and beyond bug\bugfix thread
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
WPI 8.6 and beyond bug\bugfix thread
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
I have no wmi crap figured out!! The result on my computer amd64 HP is: Audio, Keyboard and mouse not detected! -
WPI 8.6 and beyond bug\bugfix thread
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Oh, sorry...You are right! Thanks Regards -
WPI 8.6 and beyond bug\bugfix thread
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Also missing inside information.js (line 135): VariablesGrid.addRow(gId++,'USB,'+usbdrv+''); Regards -
WPI 8.6 and beyond bug\bugfix thread
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
Languages, Themes, Manuals & Mods
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
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.
-
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
-
how to discern between Laptop and Desktop?
myselfidem replied to honestvip's topic in Windows Post-Install Wizard (WPI)
Thanks for the test and your sharing! -
how to discern between Laptop and Desktop?
myselfidem replied to honestvip's topic in Windows Post-Install Wizard (WPI)
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 -
Languages, Themes, Manuals & Mods
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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! -
Languages, Themes, Manuals & Mods
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
Languages, Themes, Manuals & Mods
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Inside information.js it's possible to add: VariablesGrid.addRow(gId++,'USB,'+usbdrv+''); Regards -
Languages, Themes, Manuals & Mods
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
WPI v8.6.3 Release Thread!
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
how to Slect language in nero setup
myselfidem replied to honestvip's topic in Windows Post-Install Wizard (WPI)
You can find help here: http://www.msfn.org/...post__p__960511 -
Languages, Themes, Manuals & Mods
myselfidem replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 -
how to discern between Laptop and Desktop?
myselfidem replied to honestvip's topic in Windows Post-Install Wizard (WPI)
Yes! We can read here more informations about Laptop and Notebook: Laptop