Script Error
#1
Posted 15 December 2008 - 09:13 AM
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
#2
Posted 15 December 2008 - 01:55 PM
#4
Posted 16 December 2008 - 10:17 AM
I would erase the entry and add it again. And maybe the one before and after it.
#5
Posted 16 December 2008 - 07:35 PM
#6
Posted 17 December 2008 - 04:37 AM
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.
Attached File(s)
-
WPI_Log_2008.12.17_11.20.37.txt (3.1K)
Number of downloads: 14
#7
Posted 17 December 2008 - 04:44 AM
So I can try it?
#8
Posted 17 December 2008 - 08:35 AM
No,sorry.
If i zip it it have a size of 110 MB.
Do you have a FTP Server?
Than i can upload it........
#9
Posted 17 December 2008 - 09:00 AM
#10
Posted 17 December 2008 - 09:02 AM
I do an automatic install of Panagon Filenet 4.0.0 with AutoIt ;-)
But the installation of Filenet is simple.
The Software need a restart.
But is this possible
http://www.msfn.org/...howtopic=127467 ???
This post has been edited by SirHaschke: 17 December 2008 - 09:04 AM
#11
Posted 17 December 2008 - 10:05 AM
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
#12
Posted 19 December 2008 - 04:23 AM
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.
#13
Posted 19 December 2008 - 07:28 AM
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.
#14
Posted 19 December 2008 - 04:15 PM
#15
Posted 19 December 2008 - 04:19 PM
{JSCRIPT}=alert("test pause")
#17
Posted 02 January 2009 - 03:05 AM
I try it and make the program not reboot after install.
I add a {REBOOT} to Command 2.
But WPI doesn't make a reboot (see the jpg file).
In the attachment is also my config.js and the log file.
What can i do?
Attached File(s)
-
WPI.JPG (27.42K)
Number of downloads: 1 -
WPI_Log_2009.01.02_09.56.32.txt (1.15K)
Number of downloads: 6 -
config.js (12.64K)
Number of downloads: 2
#18
Posted 02 January 2009 - 03:48 AM
WPI Installation Log File Install process started at: Friday, January 02, 2009 2:20:38 AM WPI information: Version=7.3.0 Operating System=Vista Edition ID=Ultimate Edition Service Pack=1 Internet Explorer version=7.0 Options File=D:\DVD\WPI\WPIScripts\useroptions.js Config File=D:\DVD\WPI\WPIScripts\config.js // Window tab Resolution=1024 MainWindowWidth=800 MainWindowHeight=600 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25 // Interface tab ShowToolTips=true UseTransitions=false IndentText=true // Style tab Theme='Windows' RandomTheme=false BgPicture='' // General tab Configurations=[''] ShowMultiDefault=true CheckOnLoad='default' NumCols=3 // --- SortOrder=['Office'] // --- Timer=true Seconds=57 StartBeepAtSecs=10 // --- ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=true LoadDesktopBeforeInstall=false ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=true DisableOnDepsNotMet=true AlwaysUseScrollBar=true DontSplitCats=true InstallByCategory=false ReallyForce=false DisableIfDoGray=false InstallFonts=false ShowCommandInInstaller=true // --- DefaultInstallPath='default' CustomInstallPath=[''] // --- Language='en' // Audio tab PlayAudioInInstaller=false InstallAudio=[''] Volume=75 Shuffle=false CopyAudioFolder=false CopyAudioPath=['%systemdrive%\WPI_Audio'] DeleteAudioFolder=false // Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit4=false ExecuteBefore=[''] ExecuteAfterEnabled=true ExecuteAfterbit64=false ExecuteAfter=['Regedit /s "%wpipath%\Install\RegFiles\Clean.reg"'] // --- RestartComputer=false RestartType=0 RestartSeconds=30 DoNotLoadDesktop=false // --- LogInstallation=true LogPath=['%systemdrive%\WPI_Log.txt']; TimeStampLogFile=true Global variables: %OSLANG%=ENU %WPIPATH%=D:\DVD\WPI %ROOT%=D:\DVD %CDROM%= %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\Windows %PROGRAMFILES%=C:\Program Files %TEMP%=C:\Users\KELSEN~1\AppData\Local\Temp %SYSDIR%=C:\Windows\system32 %ALLUSERSPROFILE%=C:\ProgramData %USERPROFILE%=C:\Users\Kelsenellenelvian %APPDATA%=C:\Users\Kelsenellenelvian\AppData\Roaming %COMMONPROGRAMFILES%=C:\Program Files\Common Files List of programs to be installed: Panagon Filenet IDM 4.0.0 Execute After 2 Items, 3 Commands ----- Friday, January 02, 2009 2:20:39 AM Program: Panagon Filenet IDM 4.0.0 Unique ID: PANAGONFILENETIDM400 Order: 900009 Category: Batch CD 3 Friday, January 02, 2009 2:20:39 AM - cmd1 *** Fail *** (returned code undefined): "D:\DVD\WPI\Install\IDM\FileNet400.exe" Friday, January 02, 2009 2:20:39 AM - cmd2 Success (returned code 0): "C:\Windows\system32\shutdown.exe" /r /f /t 3 Friday, January 02, 2009 2:22:18 AM - Finished installation. ----- Friday, January 02, 2009 2:22:18 AM Program: Execute After Unique ID: EXECUTE_AFTER Order: 0 Category: WPI Built In Friday, January 02, 2009 2:22:18 AM - cmd1 Success (returned code 0): Regedit /s "D:\DVD\WPI\Install\RegFiles\Clean.reg" Friday, January 02, 2009 2:22:18 AM - Finished installation. ----- Number of failed installations: 1 Install process finished at: Friday, January 02, 2009 2:22:19 AM
Worked for me...
#19
Posted 02 January 2009 - 10:43 AM
#20
Posted 05 January 2009 - 03:54 AM
If i type "C:\WINDOWS\system32\shutdown.exe" /r /f /t 0 3 i get the syntax window.
But if i type "C:\WINDOWS\system32\shutdown.exe" /r /f /t 3 without the 0 it works.
Is there a bug?



Help

Back to top









