WPI Bug Report Thread
#2
Posted 01 June 2011 - 06:03 PM
I have updated WPI 8.1.0 to 8.2.0.
When I add some new programs from CONFIG, and then I try to find a silent switch using the magnifier icon at the right side of the window, I got different errors.
The errors are depending on the kind of setup packages which I mentioned on attached images.
I tested four different packages which I added in previous versions of WPI without any error messages.
USS-Error-01 is for RAR SIlent packages which I made for installing firefox.
USS-Error-02 is for MSI setup package which I used before for installing ESET Smart Security.
USS-Error-03 is for Inno setup packages.
USS-Error-04 error occurs when I have added two commands instead of one command at a time. I hope to see an error which tells me my mistake but it says:
Could not open TEMP directory.
I use Windows XP SP3 X86 and IE 7.0.5730.11
Anyone else has these errors when adding new programs?
Attached File(s)
-
USS-Error-02.jpg (70.23K)
Number of downloads: 18 -
USS-Error-04.jpg (54.56K)
Number of downloads: 7 -
USS-Error-01.jpg (56.6K)
Number of downloads: 11 -
USS-Error-03.jpg (55.19K)
Number of downloads: 6
This post has been edited by ghaffar: 02 June 2011 - 07:29 PM
#3
Posted 02 June 2011 - 02:43 PM
I updated WPI 8.1 to 8.2 it looks more accurate. (I copy from 8.1 to 8.2 config.js; useroptions.js and windowoptions.js).
The only problem I've with WPI 8.2 is 2 screens overlaped.
In fact my WPI consist of 4 screens of prog to install. When WPI start, everything goes fine. Few minutes later screen 3 and 4 become overlaped and can't check or uncheck any prog to install (see image bellow).
I'll appreciate any help
#4
Posted 03 June 2011 - 05:52 AM
SortOrder=[1111,'222,'333,'...];
Still I can't explain why v8.1 I haven't overlap screens
Regards
#5
Posted 03 June 2011 - 06:24 AM
Happy to see you have found a solution!
You can also use with WPI inside Options\Tools: Script or program to execute after the installation is complete: cleanup.exe (select the path where is located your exe file).
This post has been edited by myselfidem: 03 June 2011 - 06:43 AM
#6
Posted 03 June 2011 - 07:28 AM
myselfidem, on 03 June 2011 - 06:24 AM, said:
Happy to see you have found a solution!
You can also use with WPI inside Options\Tools: Script or program to execute after the installation is complete: cleanup.exe (select the path where is located your exe file).
My cleanup.exe (config.js ordr 999) have to do with the Start/Al Programs/Shortcuts... (settle, sort, copy, delete... à mon goût) . As some peopple don't like that settle, sort... i gave the opportunity to install it or not.
Still I can't explain why v8.1 I haven't overlap screens
Regards
This post has been edited by coucou: 03 June 2011 - 07:33 AM
#7
Posted 03 June 2011 - 07:32 AM
#8
Posted 04 June 2011 - 01:01 AM
configwizard_ussf.js:
line 69 character 3 => The property value for "sprintf" is null or undefined
And the silent switch isn't writed inside the command line.
But works perfectly with WPI 8.1.0
Thanks
This post has been edited by myselfidem: 09 June 2011 - 01:34 AM
#9
Posted 04 June 2011 - 07:08 PM
#10
Posted 05 June 2011 - 12:33 AM
*Edit:
It's not a bug...But I see inside the file lang_en.js the same line (twice):
line 622 => lblPointingDevice[lang] = ['Pointing Device'];
line 623 => lblPointingDevice[lang] = ['Pointing Device'];
Is that correct?
Thanks
This post has been edited by myselfidem: 05 June 2011 - 04:46 AM
#11
Posted 07 June 2011 - 06:34 AM
line 267 character 2: "split" null object or undefined
Can't know if an update is available.
Thanks
This post has been edited by myselfidem: 09 June 2011 - 01:33 AM
#13
Posted 08 June 2011 - 12:28 AM
And for the nice options added!
Exellent program!
#16
Posted 16 June 2011 - 03:42 AM
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 OSLanguage
strComputer = "."
Dim Act, ComputerReport, Fso, Dtop, Ts
Set 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)
Next
Ts.WriteLine ComputerReport : Ts.Close
Act.Run(Chr(34)& Dtop & "\ComputerReport.txt" & Chr(34)),1,True
Here is the result on my Desktop:
Caption: Microsoft Windows 7 Édition Intégrale
Version: 6.1.7601
OSLanguage: 1036
Image Information
Btw, I made a new lang_fr.js, because two tabs needed shorter words.
Thank you very much!
This post has been edited by myselfidem: 22 May 2012 - 11:37 AM
#17
Posted 17 June 2011 - 02:47 PM
i have correct the line 886 of installer.js from SndInstallFinshCB to SndInstallFinishCB (notice the missing "i") but no luck...
#19
Posted 22 June 2011 - 12:28 PM
#20
Posted 22 June 2011 - 03:50 PM
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?
}
This post has been edited by RealFasix: 22 June 2011 - 03:53 PM
- ← WPI requests, lang updates and theme ideas...
- Windows Post-Install Wizard (WPI)
- Windows Post-Install Wizard Main Thread... →



Help

Back to top










