IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> WPI Runtime Errors - Javascript?, Is my windows to blame?
Enzo
post Apr 3 2008, 01:24 AM
Post #1





Group: Members
Posts: 7
Joined: 2-April 08
Member No.: 184864
OS: none
Country Flag


Ok, So I was working on a WPI install, putting it together that is. Today, I start it up and I get some run time errors. Screen goes to white, RunTime Error -> I click ok. There's like 3-4 errors one after another. The Background WPI images eventually load, and then there's a Javascript Report Box. I end up simply exiting it. I thought I had screwed up my WPI folder, So I Download a fresh rar file from the site. Was v6.4 just posted? Anyways, I extract, and it's the same thing. So obviously its my machine. I did run an upgrade yesterday, .Net 3.5 I believe. Could that have screwed something up? And how Do I fix it?

Oh, the first Runtime error states there isn't enough space on the disc? Something like that, which makes no sense.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 3 2008, 04:04 AM
Post #2


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


Did you nlite or xplite your install?

Do you have Nero7 installed?
Go to the top of the page
 
+Quote Post
Enzo
post Apr 3 2008, 04:54 AM
Post #3





Group: Members
Posts: 7
Joined: 2-April 08
Member No.: 184864
OS: none
Country Flag


It wasn't during an install. It was just adding programs, compiling I guess you could say the WPI folder. Pretty sure that .Net update screwed something up. Again, sorry for the confusion, it was just on my main Desktop, MCE05, that It happened on, NOT during an install or anything. I use to have issues with .net 2.0, when I was having issues with Update Rollup 2. At the time I acquired this ".Net Verifier" and I ran it to check, It states that .Net 2.0 has failed. .Net 1.1/3.0, etc. Check out fine. So its on my end, It's not WPI's fault.
I'll see if re-installing .Net 3.5 fixes it... I'll Post back
Go to the top of the page
 
+Quote Post
zorphnog
post Apr 3 2008, 12:17 PM
Post #4


Advanced Member
***

Group: Members
Posts: 427
Joined: 25-July 06
From: Charleston, SC
Member No.: 105938
Country Flag


Kel is talking about the machine you are trying to run WPI on not what you are trying to install via WPI. Was that machine built using nlite or xplite? Does that machine already have nero installed? Both of these are known to cause issues with WPI.
Go to the top of the page
 
+Quote Post
Enzo
post Apr 3 2008, 05:31 PM
Post #5





Group: Members
Posts: 7
Joined: 2-April 08
Member No.: 184864
OS: none
Country Flag


I wasn't trying to install anything with WPI, I ran WPI fine before. In order to Add program to the WPI List. I was working on a UACD. I was then going to test it on a completely separate pc. The Computer which I was doing this on has a standard MCE05 installation, it was not slipstreamed or anything. Again, It was running WPI.HTA fine just 2 days ago, Now when I run it, I get several error. I'm Certain I screwed up my .Net framework. Fixing it, Is going to be a huge hassle onto itself. Oh, and it is running Nero 8 Lite, However irrelevant it is.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 3 2008, 05:48 PM
Post #6


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


Actually the version of nero is very RELEVANT. Nero 7 really messed with the whole html engine and caused WPI to have all sorts of errors.

What version of Internet explorer are you using?
Go to the top of the page
 
+Quote Post
Enzo
post Apr 3 2008, 11:52 PM
Post #7





Group: Members
Posts: 7
Joined: 2-April 08
Member No.: 184864
OS: none
Country Flag


Well I went from running WPI fine one day. The next day I got errors. In between that time I installed .NET 3.5. And Now I'm trying to uninstall/repair .NET 2.0 and it's not going well. According to my ".NET Verifier" My 1.0, 1.1, 2.0 .NET can't be verified. Now I'm afraid I won't be able to fix it. I have IE7 installed, though I don't use it. Again, I believe my .NET framework has lost its integrity. And it was unintentionally my fault. I know .NET 2.0 is a requirement for WPI to run, right? Not sure where I saw that...
Anyways, Me trying to repair/uninstall .NET 2.0 led to making the problem worst.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 3 2008, 11:57 PM
Post #8


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


No .net is not needed for WPI. However it seems like you really borked your install somehow. Have you downloaded the full .net 3.5 and just gone ahead and installed it? (3.5 has all of .2, .3, .3.5 and all fixes for the 3...)

The only real requirement for WPI is IE6 up to date.

Not enough space to run WPI?? WPI isn't even configured to output that error. tongue.gif

This post has been edited by Kelsenellenelvian: Apr 3 2008, 11:58 PM
Go to the top of the page
 
+Quote Post
Enzo
post Apr 4 2008, 01:42 AM
Post #9





Group: Members
Posts: 7
Joined: 2-April 08
Member No.: 184864
OS: none
Country Flag


Odd, I know. It's a Runtime error. Does Nero 8 behave properly with WPI?
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 4 2008, 07:05 AM
Post #10


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


Yeah it does.
Go to the top of the page
 
+Quote Post
lsrkin
post May 23 2008, 06:51 PM
Post #11


Newbie


Group: Members
Posts: 22
Joined: 28-February 08
Member No.: 179458
OS: XP Pro x86
Country Flag


I have Nero8 and IE7 installed on original WinXP-Pro Eng and have lots of runtime errors, WPI crashes when i try to add apps.

Here are some situations:
i use browse button and press "open" - CRASH;
more often it happens when i browse for an app that is in a subfolder (e.g. "%wpipath%\Install\Foxit Reader\FoxitReader23.exe") , if i write(paste) this string down it'll be fine, otherwise = CRASH;
when i press Save button(in Configuration tab, all crashes btw are in this tab) sometimes i get CRASH;
and finally..when i press exit button (not WPI exit but Conf tab exit) i get CRASH very often.


Ask any questions related to installed software or enabled\disabled services etc, just don't know if it's my system or WPI that causes problems sad.gif

BTW: not about crashes, just need some help:
I made WPI to run after 1st logon

i have "%wpipath%\Install\tweaks" folder that contains tweaks.cmd and hklm.reg

tweaks.cmd code
CODE
REGEDIT /S "hklm.reg"


CODE
ExecuteAfterEnabled=true;
ExecuteAfter=['"%wpipath%\\Install\\tweaks\\tweaks.cmd"'];

I run tweaks.cmd AFTER EVERYTING(set it in options tab)
and..tweaks just don't want to be applied :\ (i reboot after install, don't ask)


and i the i can't copy dir to a folder sad.gif
here's the string
CODE
DIRCOPY "%wpipath%\Install\Mozilla" "%APPDATA%\"


any help? smile.gif
thx in advance m8s smile.gif

This post has been edited by lsrkin: May 23 2008, 07:24 PM
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post May 23 2008, 07:31 PM
Post #12


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


Have you modified any WPI files?

Did you nLite and remove anything from your disk?

Have you set another browser as default? (Prolly not an issue though)
Go to the top of the page
 
+Quote Post
lsrkin
post May 23 2008, 08:00 PM
Post #13


Newbie


Group: Members
Posts: 22
Joined: 28-February 08
Member No.: 179458
OS: XP Pro x86
Country Flag


Firefox 2.0.0.14 is default browser, didn't modify any wpi files...and i wrote that my XP is original, i didn't use nlite. I used nlite to the disk i'm making now..but i don't think that it can be responsible for crashes(for not applying *.reg files yes, but not for crashes).

What component can be important and i should not remove it with nlite?
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post May 23 2008, 08:21 PM
Post #14


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


ie browser and ie core. DOO NOT remove these.

The reg files is a known bug with WPI setting double quotes for them. You simply need to remove the quotes from the regbefore\after section. (Fixed in the next release)

We all reboot at certain times "(i reboot after install, don't ask)" no need to ask tongue.gif

You can use execute after to execute the reg file alone! Just put the whole path in there like so = regedit /s %wpipath%\install\hklm.reg <-- that way no ugly command window biggrin.gif

This post has been edited by Kelsenellenelvian: May 23 2008, 08:25 PM
Go to the top of the page
 
+Quote Post
lsrkin
post May 23 2008, 08:26 PM
Post #15


Newbie


Group: Members
Posts: 22
Joined: 28-February 08
Member No.: 179458
OS: XP Pro x86
Country Flag


Nonono, i'm not talking about before\after reg tweaks, i know this bug

QUOTE
i have "%wpipath%\Install\tweaks" folder that contains tweaks.cmd and hklm.reg

tweaks.cmd code
CODE
REGEDIT /S "hklm.reg"

i'm talking about this, i don't think that there's quotes bug here.., btw i haven't deleted IE, it's just not a default browser.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post May 23 2008, 08:43 PM
Post #16


WPI Guru
Group Icon

Group: Software Developers
Posts: 5828
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


You can use execute after to execute the reg file alone! Just put the whole path in there like so = regedit /s %wpipath%\install\hklm.reg <-- that way no ugly command windows

As long as the main interface shows and the installer starts with firefox set as your main browser then there shouldn't be any issue.

Do you have the install log? (It should be at the root of your main drive...)
Go to the top of the page
 
+Quote Post
lsrkin
post May 23 2008, 10:48 PM
Post #17


Newbie


Group: Members
Posts: 22
Joined: 28-February 08
Member No.: 179458
OS: XP Pro x86
Country Flag


Thx for log-file advice!!! Turned out those were simple syntax errors.

What libraries does WPI use? VC05, 08 maybe? Can't understand what i had missed, WPI.hta still crashes.

This post has been edited by lsrkin: May 23 2008, 10:49 PM
Go to the top of the page
 
+Quote Post
mritter
post May 24 2008, 09:06 AM
Post #18


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 551
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


WPI doesn't use any libraries. It is pure JavaScript and HTML run via mshta.exe; that is why Internet Explorer can not be removed. It is essentially a "web page" designed to look like a stand-alone program.

Either you have some errors in your config file or you have modified some of the files, or if you used nLite you may have removed something required for IE. Try running it on a clean computer, or a friends, just to see if it works "as is". If it does, you know it is something with your custom Windows config. If it does not work, then more information from you is needed.

Post your config file here so we can take a look at it. Usually something simple.

Or wait until sometime this weekend for 6.5 to be released to see if it cures the problem.
Go to the top of the page
 
+Quote Post
lsrkin
post May 24 2008, 10:26 AM
Post #19


Newbie


Group: Members
Posts: 22
Joined: 28-February 08
Member No.: 179458
OS: XP Pro x86
Country Flag


Thx for an explanation!

I'll try it on clean XP on Vmware.

here's config.js:

CODE
//---------------------------------------------------------------------------------------------
// Reference ... prog[0] won't be used. It's just an example.
// Look in program.js to see explanation of these properties.
//---------------------------------------------------------------------------------------------  
// pn=0;    // start value for prog numbering
// prog[pn]=['ProgramName'];
// ordr[pn]=[0];
// desc[pn]=['Description'];
// uid[pn]=['APP1'];
// dflt[pn]=['no'];
// cat[pn]=['Application Category'];
// forc&#