Page 1 of 1 1
Topic Options
#71842 - 2002-11-27 05:16 PM check client version
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hello.

Does someone know a trick to verify the Citrix ICA Client Version within a login script.

I would like to make something like:

If $clientversion = "6.30.1050)
? "Welcome"
else
shell "logoff"
endif

Thank you for your help.

Regards
Danny

Top
#71843 - 2002-11-27 05:50 PM Re: check client version
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Check the version of the executable with GETFILEVERSION()
_________________________
There are two types of vessels, submarines and targets.

Top
#71844 - 2002-11-28 12:45 AM Re: check client version
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hi

Thank you for your answer. It was my misstake.

I forgot to say.. i would like to check the version of the ica client the user connect with. And i want to do this on the terminal server.

I need a way to check the clients ica client version with the terminal server login script.

Regards
Danny

Top
#71845 - 2002-11-28 01:02 AM Re: check client version
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
eh?
sorry if I'm simple but why you even want to do it on server?
isn't the client on TS connection always the one on the server????
_________________________
!

download KiXnet

Top
#71846 - 2002-11-28 01:50 AM Re: check client version
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jooel,
The ICA client is installed on the remote client which in turn uses it to connect to the Citrix server.

There's a wtsmanager.zip on www.kixhelp.com that might expose the build number. Can't say for sure as haven't tested.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#71847 - 2002-11-28 01:53 AM Re: check client version
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yep, but I was trying to query what is his TS...

is the connection made with the same client he is trying to check and so on, but as haven't heard any of him...
_________________________
!

download KiXnet

Top
#71848 - 2002-11-28 08:16 AM Re: check client version
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hello.

The Problem in our environment is:

1. We have 40 Terminal Server (W2K + MF XP FR2)
2. We are using Universal Printer Driver
3. We have 5 locations (Paris, London, NY, and 2 in Germany)

The Problem is.. the other locations are not included in our netinstall environment. Therefore they have to install the ica client themself.

But sometimes, users are connection to the terminal server who have the old client version installed. And with the old version there is no universal printer driver.

What I want to do ist:
1. On the login I want to check, if the used client is in the right version or not.
2. If it´s a old version, i generate a messagebox and then logoff the user.
3. If it´s the right version, everything´s ok.

Regards
Danny

Top
#71849 - 2002-11-28 08:57 AM Re: check client version
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
must wonder why this is not inbuild...

can you identify the client?
_________________________
!

download KiXnet

Top
#71850 - 2002-11-28 02:40 PM Re: check client version
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
wandan,
I caught your post on the Citrix forum when I was searching for an answer. I guess with 40 servers, the DLL I mentioned gets harder to implement since it would need to be registered on all of them. What would be better is a utility but have not found any.

With that many servers, don't you have enough drag with Citrix support to get an answer from them. Also, have you had a look at their SDK to see if you could build a util?

You could always expose the client's IP, and if you have admin rights to it, look through the client's \\1.2.3.4\C$ share. You can also get the clients name to do the same.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#71851 - 2002-11-28 03:15 PM Re: check client version
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hello.

I thought about checking fileversion trough the \\client\c$.... but... we are using firewalls in every location and only allowing our browsing port and 1494 for the ica connection. Therefore it is impossible to check it this way.

Regards
Danny

Top
#71852 - 2002-11-28 04:38 PM Re: check client version
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I'm guessing you are aware that Citrix can be setup to automatically push out the latest client. That being said, Citrix must then have an API that returns the client version to facilitate this. Perhaps a look at their SDK may reveal this API.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#71853 - 2002-11-30 12:04 AM Re: check client version
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
You could have a play with this..
http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=001619#000006

Either the build or the product ID might help.

It's a long time since I compiled the program and I don't recall what all the parameters mean. You can check out the SDK yourself if you need more info.

Top
#71854 - 2002-12-03 07:18 AM Re: check client version
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hello all

Thank you for your very good posts.
The ctxcinfo works for me.

Thank you Richard

Regards
Danny

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 823 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.062 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org