Page 1 of 1 1
Topic Options
#69113 - 2002-08-16 10:43 PM Need a bit of help
Anonymous
Unregistered


(This is a repost - was put in the wrong forum the 1st time)

Our Corporate entity is deploying a Citrix based login to our new finance app and we're getting too many "need ICA Client installed" calls for our department to handle since the 400+ end users do not have sufficent rights to install it themselves. (Corporate didn't plan for this somewhere down the line)

I created an ICAinstall user that has just enough rights to install the web client, however I'm having a helluva time coming up with something that would dump the URL to the all users desktop folder for the users. We're running every 32bit MS O/S under the sun and the "Desktop" folder sits in 3 different places under 2K/XP, NT4WS, and 9x. Could someone help out my sorry code here?
code:
  
IF INGROUP ("OWI")
SELECT ; Checks what OS you are running.
CASE ((@INWIN = 1) AND (@DOS = 5.0))
$OS = "Win2K"
CASE ((@INWIN = 1) AND (@DOS = 4.0))
$OS = "NT4wksta"
CASE (@INWIN = 2)
$OS = "Win9X"
ENDSELECT
USE W: "\\SACIS2\ISSTUFF"
; SHELL "%COMSPEC% /C W:\APPS\OneWorld\Citrix\ica32t.exe"

IF ($OS= "Win2K")
SHELL "%COMSPEC% /C COPY /y W:\APPS\OW1\Citrix\cit*.* C:\docume~1\alluse~1\desktop
ENDIF
else
if ($OS="NT4wksta")
SHELL "%COMSPEC% /C COPY /y W:\APPS\OneWorld\Citrix\cit*.* %windir%\profiles\alluse~1\desktop
ENDIF
else
if ($OS= "Win9X")
Copy "W:\APPS\OneWorld\Citrix\cit*.*" "%windir%\desktop"
ENDIF
ENDIF
ENDIF
ENDIF

Thanks in Advance,

Mike

Top
#69114 - 2002-08-16 10:46 PM Re: Need a bit of help
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please delete your wrong post in the other forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#69115 - 2002-08-16 10:49 PM Re: Need a bit of help
Anonymous
Unregistered


I tried:

Only administrators or moderators may perform this action.

Top
#69116 - 2002-08-17 03:08 PM Re: Need a bit of help
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mike, the place actually can vary som much more.
with nt-based computers you can read the place from registry like:
$_programs=readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Common Programs")

with win9x I can't remember the place it is located.
anyway, if you want the shortcut in the allusersdesktop, does the user have rights to write there or are you doing the copy with that specialized useraccount...
_________________________
!

download KiXnet

Top
#69117 - 2002-08-17 03:11 PM Re: Need a bit of help
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mike, about the deletion...
you can delete the post by clicking the edit button.
there is then a checkbox for deleting the post and as it's only post in that topic, the whole topic will disappear.

cheers---
_________________________
!

download KiXnet

Top
#69118 - 2002-08-19 06:36 PM Re: Need a bit of help
Anonymous
Unregistered


Lon,

Basically what we want to do here is the End User logs in with the ICAinstall account, the ICA client install completes all by itself (kixtart tells it to install the client, and then copies the internal URL shortcut to the alluser's desktop directory) I'm getting hung up on the how to copy the URL across 3 different OS "All Users" directory points (XP/2K, NT, 9x) since they're all different. I borrowed the OS lookup code snippet from this board, but I can't seem to tie the two together, as I'm assuming the bit I wrote myself is wrong.

Once completed, EU logs out, logs back in as himself, and away he goes.

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 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.057 seconds in which 0.029 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