Jump to content

WPI Script error


Recommended Posts

Hey, all avid WPI Implementators....

My problem with WPI never shows any sign of improvement. I run WPI.CMD from inside the RunOnceEx.CMD. After WPI.CMD figures out CD-ROM drive letter, i get the WPI main install screen from where i choose my softwares that are going to be installed but after i hit the Begin Install button, Installation Menu starts as usual. However, I find Windows Post-Install Wizard both at the top and as item number 17. All the Softwares get installed upto item number 16, but then the next entry=17 a.k.a "Windows Post-Install Wizard" is passed silently as if of nothing was to be done on it's part and then my rest of the .CMD files set is carried out.

hence, my whole wpi -based softwares remain untouched except the 1st 16. Then i get javascript error when command passes from wpi.cmd to some other .cmd file.

Error is :

Windows Post-Installation Wizard

Javascript Error report

Message:'undefined' is null or not an object

url:file://k:\softbox\wpi.hta

file:generate.js

line:241

What is wrong?

Link to comment
Share on other sites


here is what i suggest you do.

If you want to run this baby from runonceEx.cmd and have less headache

u need to winrar.sfx the contents of your wpi folder

have winrar sfx run wpi.cmd after extraction

make sure you set your winrar.sfx to silent=1

example WPI.exe = Winrar.sfx of your wpi content with

wpi.cmd to be run automatically after extraction.

you would only need to have runonceEX.cmd look like this

cmdow @ /HID

@echo off

FOR %%i IN (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:\WIN51.txt SET CDROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY%\001 /VE /D "WPI" /f

REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\WPI.exe" /f

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