myselfidem Posted June 16, 2011 Share Posted June 16, 2011 (edited) Some informations aren't displayed inside information Computer boxe.It seems it's not possible with java script?It is possible to add a .vbs script like this one inside WPI to give these informations!Information.vbs' get OSVersion and OSLanguagestrComputer = "."Dim Act, ComputerReport, Fso, Dtop, TsSet Act = CreateObject("Wscript.Shell")Set Fso = CreateObject("Scripting.FileSystemObject")Dtop = Act.SpecialFolders("Desktop")Set Ts = Fso.CreateTextFile(Dtop & "\ComputerReport.txt")Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * from Win32_OperatingSystem")For Each objOperatingSystem in colOperatingSystems MfgHex="" For i=1 To Len(objOperatingSystem.Caption) MfgHex=MfgHex & Hex(Asc(Mid(objOperatingSystem.Caption,i,1))) If i Mod 4 = 0 then MfgHex=MfgHex & " " Next ComputerReport = (space(2) & "Caption: " & objOperatingSystem.Caption & vbCrLf &_ space(2) & "Version: " & objOperatingSystem.Version & vbCrLf &_ space(2) & "OSLanguage: " & objOperatingSystem.OSLanguage & vbCrLf)NextTs.WriteLine ComputerReport : Ts.Close Act.Run(Chr(34)& Dtop & "\ComputerReport.txt" & Chr(34)),1,TrueHere is the result on my Desktop: Caption: Microsoft Windows 7 Édition Intégrale Version: 6.1.7601 OSLanguage: 1036Image InformationBtw, I made a new lang_fr.js, because two tabs needed shorter words.Thank you very much! Edited May 22, 2012 by myselfidem Link to comment Share on other sites More sharing options...
RealFasix Posted June 17, 2011 Share Posted June 17, 2011 hello, my problem is that the AtEnd.wav not being playedi have correct the line 886 of installer.js from SndInstallFinshCB to SndInstallFinishCB (notice the missing "i") but no luck... Link to comment Share on other sites More sharing options...
RealFasix Posted June 22, 2011 Share Posted June 22, 2011 no one have my problem? Link to comment Share on other sites More sharing options...
myselfidem Posted June 22, 2011 Share Posted June 22, 2011 no one have my problem?Same trouble! Doesn't work! Link to comment Share on other sites More sharing options...
RealFasix Posted June 22, 2011 Share Posted June 22, 2011 (edited) OK! found a workaround...cut the IF block at line 886 (i used notepad++) into file installer.js if (RegKeyValue("HKEY_CURRENT_USER\\Software\\WPI\\SndInstallFinishCB")) { document.getElementById("MediaPlayer").controls.stop(); document.getElementById("MediaPlayer").url=""; PlaySound(RegKeyValue("HKEY_CURRENT_USER\\Software\\WPI\\SndInstallFinish")); } Pause(3,0);and paste it at line 856 and now WORKS!the problem is generated by this: DeleteAllRegKeys(); if (!UserAborted && !ReturnCodeReboot) { DeleteRebootFile(); DeleteHistoryFile(); RestartComputer=RegKeyValue("HKEY_CURRENT_USER\\Software\\WPI\\RestartComputer"); RestartType=RegKeyValue("HKEY_CURRENT_USER\\Software\\WPI\\RestartType"); WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\ResumeInstall",0,"REG_DWORD");>>>>>>>DeleteAllRegKeys();<<<<<<<<<< } else { RestartComputer=false; // Yes? } Edited June 22, 2011 by RealFasix Link to comment Share on other sites More sharing options...
myselfidem Posted June 23, 2011 Share Posted June 23, 2011 (edited) Thanks RealFasix ! Works now with your "workaround"!I need also to make changes for sounds to fonction inside = Options | Sounds:Warning.wav to Warning.WAVExit.wav to Exit.WAVCheers*Edit: After some tests I see it's just needed to change inside the file global.js two lines (129 and 133):// Sounds tab var SndInstallWarning=['"%wpipath%\\Audio\\SoundsScheme\\Warning.WAV"']; var SndWPIExit=['"%wpipath%\\Audio\\SoundsScheme\\Exit.WAV"']; Edited June 23, 2011 by myselfidem Link to comment Share on other sites More sharing options...
soporific Posted July 4, 2011 Share Posted July 4, 2011 Hi, i could use some help.I've been using WPI v5.4 for years but only upgraded recently so i could use the menu on Win7 systems as well. I've only just discovered my build (8.2.1) now doesn't work on WinXP systems. 8.1 also appears to not work. The problem is weird: i have quite a large menu but half of the titles are unselectable ... when i go to try to select titles in the bottom half of the menu, before i can click on the check box, i am taken back to the middle of the menu (back a few pages) ... nothing i can do will allow me to select individual check boxes for about half the titles. Every time i try to put my mouse pointer anywhere near these titles i am taken back up to the middle of the menu again.I have tried trouble-shooting, it works perfectly on a Win7 system, the problem is definitely due to WinXP ... i have tried both VMs and real world tests.I am lest interested right now in understanding why this is happening, more interested in getting a dual system working. Am i the only one with this issue? If there is anyone with a working WPI that works on Win7 and XP, can you tell me which version it is and what you did to make it work?Many thanks. Link to comment Share on other sites More sharing options...
ZEUS__ Posted August 24, 2011 Share Posted August 24, 2011 Hi,I think WPI 8.2.2 has a bug. There is no problem with 8.2.1 but 8.2.2. hangs on this screen:(Run from RunOnceEx.cmd)it said also an error like this(I don't remember the whole); One script may cause not to respense or stop internet explorer, you want to stop this script etc. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 24, 2011 Author Share Posted August 24, 2011 kk I am working on the script error.Please zip up your wpi folder minus the applications and upload to mediafire then pm me the link.... Link to comment Share on other sites More sharing options...
myselfidem Posted August 24, 2011 Share Posted August 24, 2011 It seems the same problem here (about IE9):http://www.msfn.org/board/topic/150585-issues-with-internet-explorer-9/Thanks Link to comment Share on other sites More sharing options...
ZEUS__ Posted August 24, 2011 Share Posted August 24, 2011 Ok, I uploaded my WPI folder except Install folder.here is;http://www.mediafire.com/?vp3wdnvvbqy32ul@myselfidem yes, this is the same error. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 24, 2011 Author Share Posted August 24, 2011 (edited) Zeus!Try this (replace the one in your common dir with this one please) Edited August 24, 2011 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
ZEUS__ Posted August 25, 2011 Share Posted August 25, 2011 hi @Kel,I tried and it didn't work. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 25, 2011 Author Share Posted August 25, 2011 Then This one... Link to comment Share on other sites More sharing options...
ZEUS__ Posted August 25, 2011 Share Posted August 25, 2011 still it doesn't work. just hangs on on installer window Link to comment Share on other sites More sharing options...
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