Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Functional problems in WPI 6.5.1

Featured Replies

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

Multiple dependencies.......will take some looking into..........

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.