[THIN] Re: passing client environment variables in citrix

  • From: Jeff Pitsch <jepitsch@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Thu, 27 Oct 2005 10:40:02 -0400

Keep in mind that with this solution you lose the centralized management
that is a great part of Metaframe. Now you have to individually control
every workstation if something needs to change.
 Jeff

 On 10/27/05, erik.blom@xxxxxxxxxx <erik.blom@xxxxxxxxxx> wrote:
>
> Andrew,
>
> Thank you. Exactly what I was looking for. I'll try this out.
>
> Erik
>
>
> > You could use, /param:, which is an argument to wfcrun32.
> >
> > You have to set your published application to have the standard client
> > redirection "%*" at the end. Once you've done this you can launch the
> > command line with:-
> >
> > Wfcrun32 (ica file).ica /param:"%envvar1% %envvar2%"
> >
> > For example, say you've got a published appplication with a command line
> > as
> > as follows:
> >
> > c:\windows\system32\wscript.exe "c:\store\test.vbs" "%*"
> >
> > You can then launch an .ica file for the published app with a local
> client
> > command line -
> >
> > Wfcrun32 myapp.ica /param:"%envvar1%"
> > Or
> > Wfcrun32 myapp.ica /param:"%envvar1% %envvar2%"
> >
> > Once test.vbs is launched in the Citrix session, it will operate on the
> > envvironment variables passed in from the client.
> >
> > Obviously, change the application name as suites, and your app needs to
> be
> > able to take in a parameter.
> >
> > If its lots of information, pipe it out to a file, launch the ica
> session
> > and use the file as the input - you'd need drive mapping for this to
> work
> > tho'.
> >
> > Hth.
> >
> > -----Original Message-----
> > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
> > Behalf
> > Of erik blom
> > Sent: 26 October 2005 13:22
> > To: thin@xxxxxxxxxxxxx
> > Subject: [THIN] passing client environment variables in citrix session
> >
> > Is there any way I can pass client environment variables into a citrix
> > session? I have an app that defines a variable on the fat client, and
> > that
> > starts up an ica session to a published app. We now need this variable
> > available in the published app.
> >
> > regards,
> >
> > Erik
> > ********************************************************
> > This Weeks Sponsor: Cesura, Inc.
> > Know about Citrix end-user slowdowns before they know.
> > Know the probable cause, immediately.
> > Know it all now with this free white paper.
> > http://www.cesurasolutions.com/landing/WPBCForCitrix.htm?mc=TBCC
> > ********************************************************
> > Useful Thin Client Computing Links are available at:
> > http://thin.net/links.cfm
> > ThinWiki community - Excellent SBC Search Capabilities!
> > http://www.thinwiki.com
> > ***********************************************************
> > For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode
> use
> > the below link:
> > http://thin.net/citrixlist.cfm
> >
> > ********************************************************
> > This Weeks Sponsor: Cesura, Inc.
> > Know about Citrix end-user slowdowns before they know.
> > Know the probable cause, immediately.
> > Know it all now with this free white paper.
> > http://www.cesurasolutions.com/landing/WPBCForCitrix.htm?mc=WETBCC
> > ********************************************************
> > Useful Thin Client Computing Links are available at:
> > http://thin.net/links.cfm
> > ThinWiki community - Excellent SBC Search Capabilities!
> > http://www.thinwiki.com
> > ***********************************************************
> > For Archives, to Unsubscribe, Subscribe or
> > set Digest or Vacation mode use the below link:
> > http://thin.net/citrixlist.cfm
> >
> >
>
>
> ********************************************************
> This Weeks Sponsor: Cesura, Inc.
> Know about Citrix end-user slowdowns before they know.
> Know the probable cause, immediately.
> Know it all now with this free white paper.
> http://www.cesurasolutions.com/landing/WPBCForCitrix.htm?mc=WETBCC
> ********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
>

Other related posts: