[THIN] launching apps by subnet

  • From: "Rowlandson, John" <John.Rowlandson@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 24 Feb 2004 00:11:21 +1100

Mallesons Stephen Jaques
www.mallesons.com

Confidential communication




we wrote an exe that checks you subnet and reads an ini file for options


ie=20


runapp.exe keystone


this reads the keystone section of the ini file and based on subnet =
either launches the network share version of oracle or runs the =
published app


the variables passed are for each section so it supports mulitple apps, =
we do this so a user who uses wireless gets a citirx session where a =
100/full user gets network, also sorts roaming users

ie: ini file contents below...........

KeyStone]
172.21.100+=3Dc:\program files\citrix\ica client\pn.exe /app:lonp.ica
172.22.100+=3DQ:\ORANT\BIN\ifrun60.exe =
module=3Dq:\kp19\kx\core\acflog01.fmx
172.23.100+=3Dc:\program files\citrix\ica client\pn.exe /app:honp.ica
172.24.100+=3DQ:\ORANT\BIN\ifrun60.exe =
module=3Dq:\kp19\kx\core\acflog01.fmx
172.25.100+=3Dc:\program files\citrix\ica client\pn.exe /app:sydp.ica
172.26.100+=3DQ:\ORANT\BIN\ifrun60.exe =
module=3Dq:\kp19\kx\core\acflog01.fmx
172.27.100+=3DQ:\ORANT\BIN\ifrun60.exe =
module=3Dq:\kp19\kx\core\acflog01.fmx

172.21.10/11=3D c:\program files\citrix\ica client\pn.exe /app:lonp.ica
172.22.10/11=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica
172.23.10/11=3D c:\program files\citrix\ica client\pn.exe /app:honp.ica
172.24.10/11=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica
172.25.10/11=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica
172.26.10/11=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica
172.27.10/11=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica

172.22.18=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica
172.24.18=3D c:\program files\citrix\ica client\pn.exe /app:sydp.ica

Default=3Dc:\program files\citrix\ica client\pn.exe /app:sydp.ica
info_title=3DWarning
info=3DKeystone cannot be run without connecting to the network or =
dialing in.|Contact your local helpdesk or mobile trainer for assistance =
with this problem.|Press ok to close dialog box.
error_title=3DError running Keystone
error=3D Unable to run Keystone.|Please contact User Support in your =
centre.


[KPSelector]
172.21.100+=3Dc:\program files\citrix\ica client\pn.exe
172.22.100+=3DC:\Program Files\Keystone\KPSelector\KPSelector.exe =
-datafile:q:\kpselector\KPSelector.xml
172.23.100+=3Dc:\program files\citrix\ica client\pn.exe
172.24.100+=3DC:\Program Files\Keystone\KPSelector\KPSelector.exe =
-datafile:q:\kpselector\KPSelector.xml
172.25.100+=3Dc:\program files\citrix\ica client\pn.exe
172.26.100+=3DC:\Program Files\Keystone\KPSelector\KPSelector.exe =
-datafile:q:\kpselector\KPSelector.xml
172.27.100+=3DC:\Program Files\Keystone\KPSelector\KPSelector.exe =
-datafile:q:\kpselector\KPSelector.xml

172.21.10/11=3Dc:\program files\citrix\ica client\pn.exe
172.22.10/11=3Dc:\program files\citrix\ica client\pn.exe
172.23.10/11=3Dc:\program files\citrix\ica client\pn.exe
172.24.10/11=3Dc:\program files\citrix\ica client\pn.exe
172.25.10/11=3Dc:\program files\citrix\ica client\pn.exe
172.26.10/11=3Dc:\program files\citrix\ica client\pn.exe
172.27.10/11=3Dc:\program files\citrix\ica client\pn.exe

172.22.18=3Dc:\program files\citrix\ica client\pn.exe=20
172.24.18=3D c:\program files\citrix\ica client\pn.exe

Default=3Dc:\program files\citrix\ica client\pn.exe
info_title=3DWarning
info=3DKP Selector cannot be run without connecting to the network or =
dialing in.|Contact your local helpdesk or mobile trainer for assistance =
with this problem.|Press ok to close dialog box.
error_title=3DError running KP Selector
error=3D Unable to run KP Selector.|Please contact User Support in your =
centre.





is this something that would interest others?

********************************************************
This weeks sponsor Vizioncore, Inc. 
--> vc-iMonitor - Performance Monitoring, Control & Reporting 
--> vc-iControl - Desktop & Start Menu Management & Reporting 
--> vc-iMapper - Drive, Printer & COM Management & Reporting 
http://vizioncore.com/products.html 
**********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: