Jump to content

Recommended Posts

Posted

When I go to install one software by click on a (wpi 's menu) Install Button I have one error that say:

Message: Propriety or metod not supported by object

url: file://g:\$oem$$1\install\wpi\wpi.hta

File: mains.js

Line 138

This error is translate from italian language...sorry for english

Anyone can help me? I have opened this main.js but i don't understand the error at line 138...

thank


Posted

I HAVE MODIFIED ONE FILE... WPI.CMD IN THIS WAY:

@ECHO OFF

REM Example, how to look for CDROM-drive. Must have WPI.ico 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:\wpi.ico set CDROM=%%i:

echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path.

REM if wpi should run off the cd the replace %~dp0 with %cdrom%.

set wpipath=%cdrom%/$OEM$\$1\Install\WPI

REM Hide this command window.

%wpipath%\Tools\cmdow.exe @ /hid

REM Force resolution to needed size for wpi interface.

%wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q

REM Font installation - the smooth and customizable way.

/wait %wpipath%\Tools\fonts\fontinstaller.exe

REM Special registry tweak needed.

regedit /s "%wpipath%\common\wpi.reg

REM Make WPI directory the current directory.

for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:

cd "%wpipath%"

REM Start WPI and wait for its end

start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"

REM Rebooting the sytem to finalize the installation process.

--shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."

exit

:end

CONFIG.JS IS ATTACHED

THANK

config.js

Posted

PS

IN THE CONFIG.JS YOU CAN SEE 3 MODIFICATION TAHT I DO TO PROVE THE CORRECT OPERATION OF JOB.

MODIFICATION ARE ACROBAT 7 - NETFRAME - DEL USER NETFRAME

Posted

i have correct this but the error go out again...

i prove to lounch directly wpi.hta e click to install netframe but nothing...same error in line 138 of mains.js

I thing that is a var txtcol taht give problem...

Ihave erase this line and the next errod was at line 166 were i will find a nex txtcol...

i going crazy...

Thank

Posted

I get this same error message...using the latest version of WPI, with a very simple install setup. I've posted my config.js and main.js as well.

I've got WPI setup to run via winnt.sif, and everything works fine there...however, I when I try to run WPI after the first run I get that error when I click 'Begin Install'. I've checked main.js for line 138 and this is what it says:

var titBgCol = (s[2])? "BGCOLOR='"+s[2]+"'" : ""

Of course I have no idea what that means so I'm lost...HELP!

main.js

config.js

Posted

I don't have the RyanVM Update Pack, but I do use a few of his silent installers...Java, .NET Framework, and Adobe Acrobat 7.0.1.

The source is a vanilla copy of WinXP Pro OEM, with only one replaced file (NOTEPAD.EX_). No TXTSETUP.SIF editing has been done...

winnt.sif

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...