[THIN] Re: Using variables in the application REG's

  • From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Thu, 5 Jun 2003 09:29:53 +0100

Can't you simply pre-empt the registry value (a type REG_SZ) with *expanded*
environment variables (in this case part of the profile path) by writing
into it with a login script?

Then when the application looks at the value, it already should have an
up-to-date value in it?

Neil

> -----Original Message-----
> From: Schneider, Samuel M. Mr (Contractor) UHD 
> [mailto:samuel.schneider@xxxxxxxxxxx] 
> Sent: 04 June 2003 20:01
> To: 'thin@xxxxxxxxxxxxx'
> Subject: [THIN] Re: Using variables in the application REG's
> 
> I believe that under normal circumstances this may be a valid 
> soloution, however, the application i'm attemting to trick is 
> looking for a specific type of key(REG_SZ). Is there a way to 
> fool, intercept or redirect this key request to a 
> REG_EXPAND_SZ key containing a variable. What I'm attempting 
> to do is redirect the application data request from this app 
> from a static location to a %userprofile% location to emulate 
> a multi user application(doesn't exist).
> 
> -----Original Message-----
> From: Tim Mangan [mailto:tmangan@xxxxxxxxxxxx]
> Sent: Wednesday, June 04, 2003 2:27 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Using variables in the application REG's
> 
> There is a special type of expandable reg string for this. 
> Programmatically, REG_EXPAND_SZ instead of REG_SZ.  You can't 
> set one using regedit, you must use regedt32.exe (located in 
> the system32 folder) instead. Allows you to include standard env vars.
> 
> tim
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
> Behalf Of Schneider, Samuel M. Mr (Contractor) UHD
> Sent: Wednesday, June 04, 2003 2:00 PM
> To: 'thin@xxxxxxxxxxxxx'
> Subject: [THIN] Using variables in the application REG's
> 
> 
> Are there any special requirements when using variable values 
> in an applications registry settings? anyone have experience 
> with this? Thx

***********************************************************************
This e-mail and its attachments are confidential and are intended for 
the above named recipient only. If this has come to you in error, 
please notify the sender immediately and delete this email from your
system. You must take no action based on this, nor must you copy or
disclose it or any part of its contents to any person or organisation.

Statements and opinions contained in this email may not necessarily 
represent those of Littlewoods. Please note that email communications 
may be monitored. 

The registered office of Littlewoods Limited and its  subsidiaries
is 100 Old Hall Street, Liverpool, L70 1AB. 
Registered number of Littlewoods Limited is 262152 
 ***********************************************************************
********************************************************
This Week's Sponsor - Appsense Technologies
New! AppSense Optimizer is a new product from AppSense 
designed to increase the user capacity of your servers. 
http://www.appsense.com/
**********************************************************
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: