Jump to content

5.3 Bugs and issues


Recommended Posts

The timer bug is deeper than the divide by zero. Your fix works, thank you, but does not prevent the problem from happening. You need to add 2 lines to main.js:

function main()
{
// wpipath=WPIPath(); // Done in wpi.hta
cddrv=FindCDRom();

if (Seconds<1) <----- This line
Seconds=1; <----- This line
startSecs=Seconds;


...........................
}

And you should start using the new cmd line args:

wpi.hta options=myoptions.js config=yourconfig.js check=thisone timer=30

The old method will be eliminated some time down the road.

Edited by mritter
Link to comment
Share on other sites


Hello I'm French

I have a bug with WPI 5.3, i search on all the forum but i have not find the solution :}

I use Virtual PC to simulate my cd iso, the installation operate correctly but when i push on "start installation" on WPI, the next windows appears :

pb_installer.jpg

Installer.hta is %cdrom%\%oem%\$1\WPI\Common and is copied on C:\WPI\Common on installation

Please help me, ThanX before

Edited by ThunderHK
Link to comment
Share on other sites

Hi,

I start using WPI.

Actually i migrate from the version 4.3 to version 5.3. :D

When i use and "install order" it doesn't work :no: ?

In the extract, wpipathapp is a new variable which i created to point on the parent folder of wpipath :thumbup

This is an extract of th ceonfig.js :unsure: :

prog[pn]=['MS_VISIO_2003-STANDARD-SP2_EN_v2'];

desc[pn]=['Visio Office 2003 user license'];

uid[pn]=['MSVISIO2003STDSP2'];

dflt[pn]=['no'];

cat[pn]=['Office'];

forc[pn]=['no'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

cmd1[pn]=['%wpipathapp%\\WPI_APPLI\\MS_VISIO_2003-STANDARD-SP2_EN_v2\\install.vbs'];

pn++;

prog[pn]=['ORACLE_ORACLE-CLIENT-PATCHSET_9-2-0-5_EN_v1'];

ordr[pn]=[999];

desc[pn]=['Patchset for oracle 9.2.0.1'];

uid[pn]=['ORACLEPATCHSET'];

dflt[pn]=['no'];

cat[pn]=['Applications'];

forc[pn]=['no'];

deps[pn]=['ORACLECLIENT'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

cmd1[pn]=['%wpipathapp%\\WPI_APPLI\\ORACLE_ORACLE-CLIENT-PATCHSET_9-2-0-5_EN_v1\\install.vbs'];

pn++;

prog[pn]=['ORACLE_ORACLE-CLIENT_9_EN_v1'];

ordr[pn]=[1];

desc[pn]=['Oracle Client 9.0 version 9.2.0.1'];

uid[pn]=['ORACLECLIENT'];

dflt[pn]=['no'];

cat[pn]=['Applications'];

forc[pn]=['no'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

cmd1[pn]=['%wpipathapp%\\WPI_APPLI\\ORACLE_ORACLE-CLIENT_9_EN_v1\\install.vbs'];

pn++;

prog[pn]=['SOFTWARE995_PDF995_EN_v1'];

desc[pn]=['PDF generator 100 License - HKG'];

uid[pn]=['PDF995'];

dflt[pn]=['yes'];

cat[pn]=['Applications'];

forc[pn]=['no'];

gcond[pn]=['FileExists(\'%programfiles%\')'];

cmd1[pn]=['%wpipathapp%\\WPI_APPLI\\SOFTWARE995_PDF995_EN_v1\\install.vbs'];

pn++;

Link to comment
Share on other sites

Hi,

Is WPI running thru the network :angel ?

I tried with the version 4.3 i get a message error.

I tried with the version 5.3 too i get a message 'can't find the glossy them'

The path is like .\\<IP>\....\TOTALWPI\WPI.HTA :realmad:

The folder TOTALWPI contains all files and fodler needed. :rolleyes:

Actually i burn the same source on a DVD, it's running as well :thumbup .

Thanks per advance WPI experts.

Link to comment
Share on other sites

@bvstaff Have you tried creating a batch file for mounting the network path and starting wpi as stated in the manual?

Per the manual:

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

SET SHARE=\\SERVER\SHARE

TITLE Running WPI from "!SHARE!"...

PUSHD "!SHARE!"
ECHO.Mounting "!SHARE!" to "!CD!"...

PUSHD WPI
ECHO.Starting WPI...
START /wait wpi.hta
POPD

ECHO.Unmounting network-drive...
POPD

With your setup, assuming TOTALWPI is in your shared folder:

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

SET SHARE=\\<IP>\<Path to Share folder>

TITLE Running WPI from "!SHARE!"...

PUSHD "!SHARE!"
ECHO.Mounting "!SHARE!" to "!CD!"...

PUSHD TOTALWPI
ECHO.Starting WPI...
START /wait wpi.hta
POPD

ECHO.Unmounting network-drive...
POPD

If TOTALWPI is your shared folder then remove "PUSHD TOTALWPI" and one of the "POPD" commands.

Edited by zorphnog
Link to comment
Share on other sites

Hello I'm French

I have a bug with WPI 5.3, i search on all the forum but i have not find the solution :}

I use Virtual PC to simulate my cd iso, the installation operate correctly but when i push on "start installation" on WPI, the next windows appears :

pb_installer.jpg

Installer.hta is %cdrom%\%oem%\$1\WPI\Common and is copied on C:\WPI\Common on installation

Please help me, ThanX before

Somebody answer me please ? :hello::P

Link to comment
Share on other sites

Sorry, I don't know French. Would you mind translating the error window?

Is it something about having to download the Installer.hta file?

Are you purposely trying to copy Installer.hta to the C: drive, or is it forcing you to do so?

Edited by zorphnog
Link to comment
Share on other sites

item name, unique id's

in 5.2 or earlier i believe when you edited the name of your application in wpi that they used to auto update the unique id's, this broken in 5.3 ?

also in previous versions you could edit boxes.js

if (DoGray)
txt += ' disabled';

now if you do this it also removes the coloring of items already installed using file exists.

Edited by pretender69
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...