Products  | Support & Services  | News & Events  | Partners  | Policies  | Global Sites
Home > Support > Hummingbird Connectivity Products > Exceed >  When publishing an Xstart (.xs) file in Citrix it fails the first time a user runs it. Print View   Contact Me
Connectivity Support


When publishing an Xstart (.xs) file in Citrix it fails the first time a user runs it.

LAST MODIFIED DATE: June 5, 2008

VERSION: This applies to all versions of Exceed.

PROBLEM:

An Xstart (.xs) file is published in Citrix and the first time a user runs this application he gets a message, "Unable to access user directory". This message may appear every time if using mandatory profiles.

SOLUTION:

This problem is due to the Citrix session attempting to start the .xs file before Exceed has finished installing user files for the user.
To work around this issue a batch script can be created to ensure the user files are created before the .xs file is executed.

The following is a sample script.

----Start script ----
@EcHo OFF

:START
IF NOT EXIST "%USERPROFILE%\Application Data\Hummingbird\Connectivity\13.00\Exceed\Exceed.ini" GOTO WAIT

start "Xstart" "C:\Program Files\Hummingbird\Connectivity\13.0\Exceed\Xstart.exe" %*
GOTO END

:WAIT
choice /t 5 /d y /n >NUL
GOTO START

:END
----End Script ----

If the batch script was named Xstart.bat and placed in the C:\ directory the following would be a sample command using when publishing the application.

C:\Xstart.bat "%USERPROFILE%\Application Data\Hummingbird\Connectivity\13.00\Profile\xterm.xs"