Jump to content

Functional problems in WPI 6.5.1


Recommended Posts

I've found two functional problems in WPI 6.5.1

1)

Setting the 'RestartComputer' flag in 'useroption.js' initiates a computer reboot after installation. If the installation process contains a %reboot% command the closing reboot is not performed!!!

2)

I have a programm XYZ that requires the installation of two tools DAO351 and MAPX5. The tools should be greyed when they already have been installed. The programm XYZ should be not selectable when one of the tools is not installed or checked. Here my 'config.js'

pn=1
prog[pn]=['DAO 3.51'];
ordr[pn]=[20];
desc[pn]=['MS Data Access Objects 3.51 SP3'];
uid[pn]=['DAO351'];
dflt[pn]=['yes'];
cat[pn]=['00 - System'];
gcond[pn]=['FileExists(\'C:\\Programme\\Microsoft DAO\\Data Access Objects 3.51\\DBTest.exe\')'];
cmd1[pn]=['%wpipath%\\00_DAO\\INST.cmd'];
pn++;

prog[pn]=['MapX 5'];
ordr[pn]=[40];
desc[pn]=['Version 5'];
uid[pn]=['MAPX5'];
dflt[pn]=['yes'];
cat[pn]=['00 - System'];
gcond[pn]=['FileExists(\'C:\\Programme\\MapInfo\\MapX 5.0\\MAPX50.DLL\')'];
cmd1[pn]=['%wpipath%\\00_MX5\\INST.cmd'];
pn++;

prog[pn]=['XYZ'];
ordr[pn]=[170];
desc[pn]=['Version 2.1.0.3<br>!!! DAO + MapX !!!'];
uid[pn]=['PLACELIRA'];
dflt[pn]=['yes'];
cat[pn]=['50 - XYZ'];
deps[pn]=['DAO351','MAPX5'];
gcond[pn]=['FileExists(\'D:\\Win32App\\PlaceLira\\PlaceLIRA.exe\')'];
cmd1[pn]=['%wpipath%\\50_PL\\INST.cmd %wpipath%\\'];
pn++;

The problem comes up when only one tool is installed and the other one has to been installed: WPI does analyze all items in the line 'deps[pn]=['DAO351','MAPX5'];' in 'config.js' correctly

- WPI starts up - everything is ok. (see pic 1)

post-200947-1216204989_thumb.png

- if the user deselects the DAO tool the programm XYZ is greyed - ok. (see pic 2)

post-200947-1216204984_thumb.png

- if the user now selects the DAO tool again the programm checkbox XYZ stays greyed - error - should be selectable (see pic 3)

post-200947-1216204979_thumb.png

I also found: if the line 'deps[pn]=['DAO351'];' in 'config.js' only contains one dependency, then everything works fine.

Could you help me???

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