Jump to content

Script Error


Recommended Posts

Hello,

i use the newest WPI Version an i get the following error:

In dem Skript auf dieser Seite ist ein Fehler aufgetreten

Zeile: 306

Zeichen: 3

Fehler: 'programs[].cat' ist Null oder kein Objekt

Code: 0

URL: file:///D:wpi/common/installer.hta

After i click "ja" WPI doesn't do something.....

Have anybody a solution?

Thanks

Dennis

Link to comment
Share on other sites


OK.

Thats my log.

I think i found the error.

WPI installs "Panagon Filenet IDM 4.0.0".

After that, the Softwareinstall makes automatically an reboot.

Shortly before the restart WPI try to install "Panagon Filenet IDM 4.0.1 (Update)" and aborts.

How can i resolve that?

I must reach that "Panagon Filenet IDM 4.0.1 (Update)" cleanly installes after the restart.

WPI_Log_2008.12.17_11.20.37.txt

Link to comment
Share on other sites

Kels, I did a Google on Panagon Filenet IDM 4.0.0 and found free DLs but you will need to register. I noticed in his log that there are no switches on his install. Perhaps he needs to run USSF and/or find a NoRestart switch somewhere. Enjoy, John.

Link to comment
Share on other sites

In theory, if a program did a reboot on it's own, WPI should be able to restart where it left off. The problem you may be having, which you didn't state when, is if the error you get in the original post comes after the reboot, then since WPI didn't initiate the reboot, it got "confused".

When do you get the error? When first run WPI, during the initial install, right after Panagon is done, or after the reboot?

If you can make the program not reboot after install, but add a {REBOOT} to Command 2, it may work.

Do download this file: core.rar

Link to comment
Share on other sites

OK.

The error comes after the reboot.

OK. It's no problem to do not make the program the reboot.

I add a reboot to command 2 and try it.

What is the core.rar for a file?

I'm back in office at 05.01.09 and then i try it and post the solution.

Merry Christmas and a happy new year.

Link to comment
Share on other sites

I am having this issue as well.

It happens in both WPI v7.2.0 and v7.2.1

Testing on windows xp 32-bit VM with IE6.

For example,

ProgramA has two commands in cmds[pn]. The first command installs the program and the second command is just {REBOOT}.

The program installs correctly and a reboot works fine, but when WPI re-launches after the reboot, I get that js error.

Line: 309

Char: 3

Error: 'programs[...].cat' is null or not an object

Code: 0

URL: file://D:/WPI/Common/Installer.hta

The last items in the WPI window in the background is

ProgramA

Command 1...Success

Command 2...Success

But my config.js has several programs after ProgramA.

Looking at the WPI log file, I notice it outputs the 2 commands for the next program, having succeeded (the first command installs the program, and the second command is just {REBOOT}).

So it seems this is failing on the 2nd {REBOOT} in sequence in config.js.

rb_config.js just indicates prb=0; after the two lines of comments.

Any ideas?

Thank you.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...