I forgot how to do this... What I'd like to do is use an item from my directory table as a variable.

"CLIENT", points to one directory while
"Client", points to another.

I'd like to apply a variable for, "Client" not "CLIENT". using [CLIENT] returns a value... using [Client] returns nothing. I think the format is [~Client]? I'm not sure. I'd give it a shot but this app takes so damned long to compile, I'll probably get an answer here faster than the recompile!

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Where are you trying to use the variable? Obviously 'CLIENT' is a public property (being all upper-case) whereas 'Client' isn't. You could simplify the entire exercise by changing the _Directory name 'Client' in the Directory table to, say, 'CLIENT2'. As long as the actual directory name remains as 'Client', there's no problem: the former is just aan alias, in effect.
Answered 01/21/2010 by: VBScab
Red Belt

Please log in to comment

is a user profile directory
Answered 01/21/2010 by: Secondlaw
Third Degree Blue Belt

Please log in to comment
user profile directories cannot be accessed like that. the problem is that on installation it will cache the user profile directory to the msi cache and successive repairs attempt to repair to the same location regardless of the logged in user.

the way to get files deployed to the user profile is to use an HKCU entry as the keypath to the component.

if it is not a file you are talking about then simply using [CLIENT] should suffice alternatively you can makes calls to the session object

xxx = session.property("CLIENT")

Or session.TargetPath
Answered 01/21/2010 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment