MSFN Forum: WPI Bug Report Thread - MSFN Forum

Jump to content


  • 11 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

WPI Bug Report Thread Rate Topic: -----

#1 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 18 May 2011 - 10:15 AM

Please be kind and provide FULL details!


#2 User is offline   ghaffar 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 08-September 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 June 2011 - 06:03 PM

Thank you for the new release 8.2.0.
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)


This post has been edited by ghaffar: 02 June 2011 - 07:29 PM


#3 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 02 June 2011 - 02:43 PM

Hello,

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

Posted Image

#4 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 03 June 2011 - 05:52 AM

Finally I got success fixing the overlap screens, by modifying the SortOrder at the top of config.sys file :thumbup
SortOrder=[1111,'222,'333,'...];


Still I can't explain why v8.1 I haven't overlap screens :whistle:
Regards

#5 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 June 2011 - 06:24 AM

@coucou
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 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 03 June 2011 - 07:28 AM

View Postmyselfidem, on 03 June 2011 - 06:24 AM, said:

@coucou
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).
Yes I know ;)
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 :whistle:
Regards

This post has been edited by coucou: 03 June 2011 - 07:33 AM


#7 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 June 2011 - 07:32 AM

View Postcoucou, on 03 June 2011 - 05:52 AM, said:

Finally I got success fixing the overlap screens, by modifying the SortOrder at the top of config.sys file
SortOrder=[1111,'222,'333,'...];


OK. Nice!
I think you mean config.js and not config.sys!!

#8 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 04 June 2011 - 01:01 AM

With WPI 8.2.0, I have the same error than ghaffar about script error inside:

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 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,090
  • Joined: 13-November 05

Posted 04 June 2011 - 07:08 PM

Arg. That was my bad. I sent Kel a new archive to replace on the site. Download a new copy when he posts about it here.

#10 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 June 2011 - 12:33 AM

Many thanks mritter ;)

*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 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 June 2011 - 06:34 AM

It also happends an error inside aboutupdate.js

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


#12 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 June 2011 - 04:09 PM

Updated to 8,2,1 all should be fixed now.

#13 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 June 2011 - 12:28 AM

Thank you very much Kels for the new WPI version 8.2.1 :thumbup
And for the nice options added!
Exellent program!

#14 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 14 June 2011 - 02:55 PM

TNX Kels for this up :P

#15 User is offline   ghaffar 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 08-September 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 15 June 2011 - 04:35 AM

Thanks a lot for this update.

#16 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 June 2011 - 03:42 AM

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 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 User is offline   RealFasix 

  • Group: Members
  • Posts: 5
  • Joined: 22-July 10
  • OS:none specified
  • Country: Country Flag

Posted 17 June 2011 - 02:47 PM

hello, my problem is that the AtEnd.wav not being played
i have correct the line 886 of installer.js from SndInstallFinshCB to SndInstallFinishCB (notice the missing "i") but no luck...

#18 User is offline   RealFasix 

  • Group: Members
  • Posts: 5
  • Joined: 22-July 10
  • OS:none specified
  • Country: Country Flag

Posted 22 June 2011 - 06:43 AM

no one have my problem?

#19 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 June 2011 - 12:28 PM

View PostRealFasix, on 22 June 2011 - 06:43 AM, said:

no one have my problem?

Same trouble! Doesn't work!

#20 User is offline   RealFasix 

  • Group: Members
  • Posts: 5
  • Joined: 22-July 10
  • OS:none specified
  • Country: Country Flag

Posted 22 June 2011 - 03:50 PM

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?
	}

This post has been edited by RealFasix: 22 June 2011 - 03:53 PM


Share this topic:


  • 11 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy