![]() ![]() |
Aug 1 2006, 05:24 AM
Post
#21
|
|
|
accent artist ![]() ![]() ![]() Group: Members Posts: 375 Joined: 10-January 06 From: your back Member No.: 84897
|
Is it possible for all other people that read this bug topic, that all replacement are set in one message so it's clear wat we must adjust. I should say Kel's announcement of this topic should keep the fixes updated, or one of you sadicq or Djé . Because now there are more bugs been fixed. Just to be clear for everyone. Thanks Very good idea. I'd also say that this is Kel's job But since you've posted (and experienced) some of them, you may help him a lot by summarizing what is fixed for you, and help us debugging by making another list of what remains to be fixed (again, only for your problems is enough). |
|
|
|
Aug 1 2006, 05:42 AM
Post
#22
|
|
|
vLite & WPI Junkie :> ![]() ![]() ![]() ![]() Group: Members Posts: 671 Joined: 18-September 04 From: Germany Member No.: 31388 OS: Vista Ultimate x64
|
Ok, here's the solution (the post before was just to determine the source of the problem, but I'm pretty sure that that was the problem). In installer.js, replace CODE Pause(0,100); //wait for the new document to be fully loaded withCODE while (window.document.readyState != 'complete') And this will work every time.Pause(0,100); //wait for the new document to be fully loaded Yeah sadicq, that solved the problem. But I do not have to post this, because we did not expect anything else, or did we? So if the errors of Pilek are solved, what about releasing WPI 5.2.1, because with WPI 5.2 there is no way to make an install from Disc drive. |
|
|
|
Aug 1 2006, 05:44 AM
Post
#23
|
|
|
noob ![]() ![]() ![]() Group: Members Posts: 322 Joined: 17-August 05 From: Piatra Neamt Member No.: 69206 OS: Vista Ultimate x64
|
So, as the current 5.2 download only features 2 /s, there's a bug there too. BUT this should NOT trigger any other bug than not being able to use command line parameters anymore. More specifically, this is not related to the bugs discussed above. Already talked to mritter about that problem. Bugs reported so far 1. Progress bar wrong id. Link Fix [Sidenote: you may also remove that line ...] 2. Uncommented line for theme update. Link Fix [Sidenote: the file patcher should be modified because it generates those errors when it is run from a read-only media] 3. Not a bug, but an enhancement. Link & fix 4. Pause time issue. Link Fix 5. Command line parameters issue. Link Fix sent to mritter. 6. A bug ... Link No fix yet [I couldn't reproduce it yet]. 7. Installation slowed down. Link No fix yet [I couldn't reproduce it yet]. I hope these are all the bugs that were reported so far. Thanks Dynaletik and Pliek for the bug reports. This post has been edited by sadicq: Aug 1 2006, 06:22 AM |
|
|
|
Aug 1 2006, 06:24 AM
Post
#24
|
|
|
accent artist ![]() ![]() ![]() Group: Members Posts: 375 Joined: 10-January 06 From: your back Member No.: 84897
|
6. A bug ... Link No fix yet [I couldn't reproduce it yet]. The bug most probably comes from this line: CODE var winntinf=fso.OpenTextFile(sysdir + "\\$winnt$.inf", 1); on line 126 of generate.js.@wixfigura, can you run a test after inserting the following line just before the one mentioned above: CODE alert(sysdir + "\\$winnt$.inf\n" + (FileExists(sysdir + "\\$winnt$.inf") ? 'Exists' : 'ABSENT')); And tell us what the message box says?Can you also tell us if you have a $winnt$.inf in your system32 directory? And if not, if you know why you haven't? |
|
|
|
Aug 1 2006, 07:15 AM
Post
#25
|
|
|
Junior ![]() Group: Members Posts: 56 Joined: 1-June 04 From: Belgium - Oudenaarde Member No.: 21420
|
I have a problem with the new WPI 5.x.
I guess it's a known problem but can't find a solution anywhere. In my config.js there are allot of 7z sfx installers. After they are extracted they start installing on their own. The problem is that this new WPI doesn't wait for them to install.... It proceeds with the next item therefore not installing everything properly. Is there a fix or something for this?
Attached File(s)
|
|
|
|
Aug 1 2006, 12:15 PM
Post
#26
|
|
|
Member ![]() ![]() Group: Members Posts: 154 Joined: 7-February 06 Member No.: 87234
|
Oke I'm back, I have been testing and the results are good...
I'll tell exactly what I have done, accourding to the errors WPI gave me by starting . I have modified these files The numbers are from sadicq list of fixes: (Thanks for the list sadicq) 2. Uncommented line for theme update. Link Fix Open patchFile.js and replace CODE patchLine(wpipath + "Themes\\" + Theme + "\\wpi.htm", /class="txt"/ig, 'class="opText"'); with CODE //patchLine(wpipath + "Themes\\" + Theme + "\\wpi.htm", /class="txt"/ig, 'class="opText"'); 3. Not a bug, but an enhancement. Link & fix 4. Pause time issue. Link Fix In installer.js, replace CODE Pause(0,100); //wait for the new document to be fully loaded with CODE while (window.document.readyState != 'complete') Pause(0,100); //wait for the new document to be fully loaded 5. Launching from a .cmd file and start cd/dvd problem: I've got this by mail from mritter today (it worked). In wpi.hta line 43 replace CODE fullpath = fullpath.replace("file://","").replace(/\//g,"\\\\"); with CODE fullpath = fullpath.replace("file:///","").replace(/\//g,"\\ <file:///> "); See if that cures the launching from cd/dvd problem with a .cmd file (it worked for me).. 7. Bug that slows down the install time is related with these other ones (don't no witch one). All 192 programs installed perfect, and the installation time of these 192 programs was again 32 minutes (like it always was, so the "bug" that gave 20 minutes extra longer install. time is also solved). And at last one little thing took place, the time for showing up my rebootscreen (called from a .cmd file) took over 90 seconds to appear. To be specific, my desktop got cleaned 90 seconds after the installer screen dissapeard, and almost right after that... the shutdown screen poped up. That .cmd file looks like this. CODE @ECHO OFF REM Hide this command window. %systemroot%\system32\cmdow.exe @ /hid REM Example, how to look for CDROM-drive. Must have win51ip.SP2 at the root of the CD. for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.SP2 set CDROM=%%i: echo Found CD-Rom as drive %CDROM% set wpipath=%cdrom%\WPI start /wait %cdrom%\WPI\WPI.hta !!!!!!!!! 90 seconds slowing down between these too commands !!!!!!!!!! DEL "%AllUsersProfile%\Bureaublad\*.lnk" DEL /s/q "%userprofile%\Bureaublad\*.lnk" DEL "%systemdrive%\*.log" RD /S /Q %systemdrive%\Install\ net user aspnet /delete REM Reset Windows Security Center. SET PP=%systemroot%\system32\WPI\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Resetten van het Beveiligingscentrum" /f REG ADD %KEY%\001 /VE /D "Reset Windows Security Center" /f REG ADD %KEY%\001 /V 1 /D "%PP%WinMgmt.cmd" /f REM Herstarten van de PC binnen 30 seconden... shutdown.exe -r -f -t 30 -c "Windows zal over 30 seconden worden herstart." EXIT That is the onely thing in my case that needs to be looked after. I hope i've given all the right information, if you guys need more ...let me know. This post has been edited by Pliek: Aug 1 2006, 10:51 PM |
|
|
|
Aug 1 2006, 12:20 PM
Post
#27
|
|
|
noob ![]() ![]() ![]() Group: Members Posts: 322 Joined: 17-August 05 From: Piatra Neamt Member No.: 69206 OS: Vista Ultimate x64
|
Removed ....
This post has been edited by sadicq: Aug 1 2006, 12:21 PM |
|
|
|
Aug 1 2006, 03:23 PM
Post
#28
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 372 Joined: 6-December 03 Member No.: 10469 |
|
|
|
|
Aug 1 2006, 04:40 PM
Post
#29
|
|
|
WPI Co-Developer Group: Software Developers Posts: 552 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
I have all the known fixes worked in to the latest 5.3 beta. Sadly, when I was testing with other people's config files I found a few more errors not yet reported. Mostly cosmetic but still a bug.
|
|
|
|
Aug 1 2006, 05:10 PM
Post
#30
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 372 Joined: 6-December 03 Member No.: 10469 |
I have all the known fixes worked in to the latest 5.3 beta. Sadly, when I was testing with other people's config files I found a few more errors not yet reported. Mostly cosmetic but still a bug. so you have fixed the error I'm having? if not, do you need my config.js ? I'll upload it if you need it to fix the issue. thanks in adv |
|
|
|
Aug 1 2006, 07:32 PM
Post
#31
|
|
|
WPI Co-Developer Group: Software Developers Posts: 552 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
Line 1644 is in the saving of the useroptions.js file. The function name has nothing to do with the line number. What are you doing when this error comes up? If you are using your old 1.2 useroptions.js file, then that is the problem. They are not compatible. Try renaming it so you don't lose it, then start WPI again, go in to Options, it will save a default set. Close. Open again and try to reproduce the error.
|
|
|
|
Aug 1 2006, 10:23 PM
Post
#32
|
|
|
Member ![]() ![]() Group: Members Posts: 154 Joined: 7-February 06 Member No.: 87234
|
CODE But since you've posted (and experienced) some of them, you may help him a lot by summarizing what is fixed for you, and help us debugging by making another list of what remains to be fixed (again, only for your problems is enough). To be clear I've used fix 2, 3, 4, and 5 (5 was mailed to me by mritter) and problem 7 (longer install. time, no fix still) was related with the other ones (don't know witch fix repaired problem 7 but it's gone after using fix 2,3,4,5), just these four fixes were relevant for my errors. Today I wil adjust this nice working iso with bugfix 1 and test again (although I did not had that bug). I will just test to be sure that it can be used by everyone without getting new errors (related too applying fix number 1). For myself, I have onely one bug to be fixed. The time for showing up my rebootscreen (called from a .cmd file) took over 90 seconds to appear. To be specific, my desktop got cleaned 90 seconds after the installer screen finished and dissappear, and directly after that... the shutdown screen poped up, this dalay "must" be fixed. We talk later,........First work, then hobby. This post has been edited by Pliek: Aug 2 2006, 02:45 AM |
|
|
|
Aug 1 2006, 11:49 PM
Post
#33
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 372 Joined: 6-December 03 Member No.: 10469 |
Line 1644 is in the saving of the useroptions.js file. The function name has nothing to do with the line number. What are you doing when this error comes up? If you are using your old 1.2 useroptions.js file, then that is the problem. They are not compatible. Try renaming it so you don't lose it, then start WPI again, go in to Options, it will save a default set. Close. Open again and try to reproduce the error. I'm not using useroption.js , I just copied config.js file from my 1.2 to 5.1 or even 5.2 and this error occurs. If i take out the config.js from the WPIScript folder and run 5.2 , it works fine. any idea? I'd really like to avoid manually inputting everything one by one *EDIT* After playing with config.js , I've found out error occurs when there are these lines. probably something to do with conflict of word 'THEME' ?? CODE prog[pn]=['theme-Logon_April Shower'] uid[pn]=['THEMELOGON_APRILSHOWER'] excl[pn]=['THEMELOGON_SKYVIEW','THEMELOGON_NAYOUNG','THEMELOGON_NATURAL'] picf[pn]=['logon-april.jpg'] picw[pn]=['256'] pich[pn]=['224'] desc[pn]=['Logon Page'] textl[pn]=['Bottom'] texti[pn]=['1'] regb[pn]=['%systemdrive%\\theme\\april.reg'] cat[pn]=['Theme'] pn++ *EDIT2* seems like cat[pn] cannot be 'theme' else it'll give the error because of conflict with that line. Changed it to something else and it works now. This post has been edited by larciel: Aug 2 2006, 12:01 AM |
|
|
|
Aug 2 2006, 12:00 AM
Post
#34
|
|
|
Member ![]() ![]() Group: Members Posts: 194 Joined: 12-July 05 Member No.: 64154
|
i am getting this error before WPI starts.. anyone has a fix for this.. thx
Attached File(s)
|
|
|
|
Aug 2 2006, 01:44 AM
Post
#35
|
|
|
Member ![]() ![]() Group: Members Posts: 154 Joined: 7-February 06 Member No.: 87234
|
I had the same error. aply fix 2,3,4. Asuming you are opening WPI.hta from CD/DVD. 2. Uncommented line for theme update. Link Fix Open patchFile.js and replace CODE patchLine(wpipath + "Themes\\" + Theme + "\\wpi.htm", /class="txt"/ig, 'class="opText"'); with CODE //patchLine(wpipath + "Themes\\" + Theme + "\\wpi.htm", /class="txt"/ig, 'class="opText"'); 3. Not a bug, but an enhancement and should be done by everyone. Link & fix 4. Pause time issue. Link Fix In installer.js, replace CODE Pause(0,100); &nb |