On my server I have multiple Windows services to manage; they are all installed into the same root folder, into their own service-specific folders, and within those folders, into version specific folders. This gives a structure like this:
D:\Services\
Application1\
v1\
v2\
Application2\
v1\
v2\
I've defined a user variable ServiceBasePath as D:\Services\. I then define a user variable Application1Path as being {PATH(Combine|{USERVAR(ServiceBasePath)}|Application1)}, and the preview shows that it resolves correctly as D:\Services\Application1. I then define a user variable Version as v1, which is also fine.
However, when I then try to create another user variable by combining Application1Path and Version, setting it as {PATH(Combine|{USERVAR(Application1Path)}|{USERVAR(Version)})}, the preview shows nothing, and when I write the value of the variable to a file, also get nothing.
So, how do I do a PATH-Combine on two user variables? Or am I approaching this from the wrong direction?
Edited by user
2010-03-26T01:26:58Z
|
Reason: Not specified