Configuring XenApp6 command
I have created a TS to do an unnattended XenApp6 install and have it to the point where I have all my OS, XenApp and all applications installed but I am struggling to configure XenApp to join my farm. First problem is I need to copy a file to the new server but I don't know the best way to do this? I have a single file called sql.dsn that I need to place in the root of the new server. What is the best way to do this? Second problem is running the join farm command. I have the XenApp installation files as a package and ideally I just need to create a program to run XenApp Server Configuration Tool\XenAppConfigConsole.exe with a few switches. However the few switches all add up to 345 characters and the Program command line only allows 256 characters. What is the best way to get around this? I tried just adding a Command Line step to my TS but this gives me the UNC paths are not supported error... Any help greatly appreciated!
May 25th, 2011 5:47pm

cmd.exe doesn't support UNC paths but there's a workaround. Put this into the first line of your .cmd script set runpath=%~dp0 After that, the environment variable %runpath% will point to the directory that your script is in, including the trailing backslash So if you have your sql.dns in the same directory, you can just use copy /y %runpath%sql.dsn c:\ To copy it to the client's root drive.
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2011 3:03am

Perfect for both problems thanks. Not sure why they have limited the numbder of characters on a Program command though...
May 27th, 2011 9:31pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics