Windx Auto Update

From PxPlus

Jump to: navigation, search

The following information is provided to assist with the general requirements in setting and configuring your systems to allow WindX to be updated to a new version on workstations.

Contents

Update Notice - August 12, 2013

An issue with WindX Auto Updates was discovered that required a fix in version 11.00.0000. Unfortunately it was not discovered until after 11.00.0000 was released. This patch was issued with version 11.00.0001 and must be manually updated in version 11.00.0000.

  Updating WindX version 11.00.0000
  Download http://www.pvxplus.com/downloads/misc/util.zip
  Update server with *plus/wdx/util

Linux

Create a directory in your PxPlus install (which we will assume is /pxp) on the host (Linux in this case) to serve as a repository for the Windows workstations WindX updates.

  # cd /pxp
  # mkdir wndxupdt
  # cd wndxupdt

Download the current Windows PxPlus ZIP to serve as a base line for the exe's etc...

  # wget http://www.pvxplus.com/downloads/pxp811-9182-W32.zip
  --10:48:34--  http://www.pvxplus.com/downloads/pxp811-9182-W32.zip
  => `pxp811-9182-W32.zip'
  Resolving www.pvxplus.com... 208.68.90.162
  Connecting to www.pvxplus.com|208.68.90.162|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 16,641,363 (16M) [application/zip]

  100%[====================================>] 16,641,363  1006.82K/s    ETA 00:00

  10:48:51 (1002.64 KB/s) - `pxp811-9182-W32.zip' saved [16641363/16641363]

  # unzip pxp811-9182-W32.zip
  ..... lots of files being unzippped ....
  inflating: PVX Plus/WindX/windx.bmp
  inflating: PVX Plus/WindX/windx.en

The ZIP file contains the subdirectory "PVX Plus" which because of the space in the name is hard to work with. Rename it to pvxplus

  # mv "PVX Plus" pvxplus

Move all the EXE/DLL files into the wndxupdt directory along with WindX itself.

  # mv pvxplus/*.exe .
  # mv pvxplus/*.dll .
  # mv pvxplus/*.manifest .
  # mv pvxplus/WindX .

You can now delete the pvxplus directory and the ZIP file -- they are no longer needed.

  # rm -rf pvxplus
  # rm pxp811-9182-W32.zip

Now you should end up with the following.

  # ls -l
  total 10697
  drwxr-xr-x  3 root root     656 Oct  7 10:58 .
  drwxrwxrwx  4 root sys      368 Oct  7 10:50 ..
  drwxr-xr-x  2 root root     160 Oct  6 15:04 WindX
  -rw-r--r--  1 root root 1073152 Sep  8  2006 libeay32.dll
  -rw-r--r--  1 root root  200704 Sep 28  2006 libssl32.dll
  -rw-r--r--  1 root root  491520 Aug 11 11:45 plsgrid.dll
  -rw-r--r--  1 root root  372736 Aug 11 11:47 pvxchart.dll
  -rw-r--r--  1 root root  128648 Jun 26  2007 pvxcom.exe
  -rw-r--r--  1 root root  938632 Aug  7  2007 pvximg.dll
  -rw-r--r--  1 root root  469128 Aug  3  2007 pvxocx32.dll
  -rw-r--r--  1 root root   97928 Jun 26  2007 pvxscript.dll
  -rw-r--r--  1 root root  225928 Aug  7  2007 pvxwactv.exe
  -rw-r--r--  1 root root 2138112 Jun 30  2006 pvxwin32.dll
  -rw-r--r--  1 root root   61840 May 31  2007 pvxzlib1.dll
  -rw-r--r--  1 root root   73728 Sep  1 10:41 pxpact32.dll
  -rw-r--r--  1 root root  139264 May 16 14:19 pxpcache.exe
  -rw-r--r--  1 root root 2097152 Oct  6 08:58 pxplus.exe
  -rw-r--r--  1 root root     594 Jul 17  2005 pxplus.exe.manifest
  -rw-r--r--  1 root root 2121728 Jun 30  2006 pxplus386.exe
  -rw-r--r--  1 root root   61440 Aug 11 11:44 pxpreg.exe
  -rw-r--r--  1 root root  233472 Aug 11 11:44 pxpwactv.exe

You can delete the following file(s) since they are not needed.

  # rm pxplus386.exe

Create/edit the sync.conf file that is on your Unix system.

  # cd /pxp/lib/_plus/wdx
  # mkdir usr
  # cp sync.conf usr/sync.conf
  # vi usr/sync.conf

Remove the *bmp/easyapp=*bmp/easyapp line (end of file) then add the following following lines.

  /pxp/wndxupdt=[EXEC];restart
  /pxp/wndxupdt/WindX=[WINDX]

You may need to modify the +SYNCFILE=easyapp.sync to +SYNCFILE=windx.sync. The +SYNCFILE is where the time stamp of the last update will be kept on the workstation. If it's not present then +SYNCFILE=windx.sync will be used as default.

After editing you can use this command to display the all the non-comment/blank lines.

  # grep -Ev "[\^\!]" usr/sync.conf| grep -Ev \^\$
  +FORCE
  +TITLE=Auto-sync update
  +RESTART=Connection must be restarted
  +SYNCFILE=windx.sync
  /pxp/wndxupdt=[EXEC];restart
  /pxp/wndxupdt/WindX=[WINDX]

Run the Reload utility and press OK. This step is a must as it will rebuild the control files used in the resync process.

  # cd /pxp
  # ./pxplus \*plus/wdx/reload

Run the NTHost or Simple Client-Server or Appserver on the server if it is not already running. Assuming all goes according to plan, when a user logs in it will prompt them to update WindX with the one from the server.

If you also want the Library (/pxp/lib) sub-directory updated you can add:

  SET_PARAM '+U'=3

to your applications START_UP. This will auto-update any/all programs in the system library onto the user workstation on an as needed/invoked basis.

Windows

Create a directory in your PxPlus install (which we will assume is C:\PxPlus) on the host to serve as a repository for the Windows workstations WindX updates.


File:wndxupt.png


Download the version of WindX to serve as a base line for the files to be sent to the workstations.

Now install the file in a temp directory.


File:temp.png


Using Explorer select and copy all the exe/dll files into the wndxupdt directory along with WindX directory itself. Also copy the plus.exe.manifest file.

You can now delete the temp directory and the ZIP file -- they are no longer needed.

Now you should end up with the following.


File:filelist.png


You can delete pxplus386.exe if present (depending on the version you are using) since it is not needed.

Create a new sub-directory called usr in the C:\PxPlus\lib\_plus\wdx directory.

Copy C:\PxPlus\lib\_plus\wdx\sync.conf file to the C:\PxPlus\lib\_plus\wdx\usr sub-directory.

Edit C:\PxPlus\lib\_plus\wdx\usr\sync.conf file


File:sync.png


Remove the *bmp/easyapp=*bmp/easyapp line (end of file) then add the following following lines:

  C:\PxPlus\wndxupdt=[EXEC];restart
  C:\PxPlus\wndxupdt\WindX=[WINDX]

You may need to modify the +SYNCFILE=easyapp.sync to +SYNCFILE=windx.sync. The +SYNCFILE is where the time stamp of the last update will be kept on the workstation. If it's not present then +SYNCFILE=windx.sync will be used as default.


Run the Reload utility and press OK. This step is a must as it will rebuild the control files used in the resync process.


File:reload.png


Run Simple Client-Server or NTHost or Appserver on the server if it is not already running.

Assuming all goes according to plan, when a user logs in it will prompt them to update WindX with the one from the server.

If you also want the Library (/PxPlus/lib) sub-directory updated you can add:

 SET_PARAM '+U'=3

to your applications START_UP. This will auto-update any/all programs in the system library onto the user workstation on an as needed/invoked basis.

Alternate Appserver Configuration

While the files in the *appserv directory on Unix and Windows are identical, you may want to work with a clean copy of the _appserv directory from Windows which doesn't include your config files, since you really don't want them sent to the workstations. So if you want to extract the _appserv directory from the Windows zip file and place it in /pxp/wndxupdt/_appserv (Linux) or \PxPlus\wndxupdt\_appserv (Windows) and use that as the source for the auto-download.

Add this line to /pxp/lib/_plus/wdx/usr/sync.conf file on your Linux system:

  /pxp/lib/_appserv=*appserv

Add this line to the Windows \PxPlus\lib\_plus\wdx\usr\sync.conf file:

  \PxPlus\lib\_appserv=*appserv

Run the Reload utility as previously detailed for your operating system and press OK.

This will cause the system to download the files in your _appserv directory to the workstation.

As for the Icons, PxPlus internal icon numbers are different from that of ProvideX.

Deactivating Auto Update

To halt the Auto Update from updating workstations, rename the host.sync file in *plus/wdx.

Personal tools