Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbi-tech treeview and terminal services
Message
From
02/06/2005 13:19:15
 
 
To
31/05/2005 08:27:10
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018654
Message ID:
01019457
Views:
29
Under Terminal Server/Citrix, the CLSID of the activex controls must be assigned at runtime to each user (so that the wrong users don't get the wrong controls which they shouldn't have, etc., in the bigger picture of things). To accomplish this, TS creates a separate registry leaf of CLSIDs associated with each application. This is created by changing the User mode to Install during the application install, which can be done from the CMD window using CHANGE USER /INSTALL, or more easily in most cases, by using Add/Remove programs to install all programs. (Note: rebooting sets it back to execute mode, as though you had issued CHANGE USER /EXECUTE, which you would do manually if you were doing all of this manually). This fake registry leaf is then searched, when a program calls for a CLSID and it isn't registered for that user, and the CLSID is written to the registry entries for that user.

HOWEVER: a) you must have administrative rights to accomplish this; and b) you must be logged in at Console level. This means that you cannot, repeat "can not", do this install when connected to the server via the TS or Citrix client (one exception: if you have installed the new RDP5.1 Remote Desktop Client, and are connecting via that client to a Win2K3 server, you can add /console, with a preceding space, to the address of the server, and you will be logged in at console level). The easy way to acommplish this is to connect via UltraVNC. You can even connect to another TS/Citrix server, and then UltraVNC your way over to the server on which you need to so the install. PCAnywhere (if you don't mind using their Winsock instead of Microsoft's) will work also.

Manual registration, using regsvr32 will work also: before hand, issue CHANGE USER /INSTALL and after registration, issue CHANGE USER /EXECUTE. One hint for manual registration: use the Open With... option from the rightclick menu in WinExplorer, and after finding it (in System32) you will be able to point and click your manual registrations after that.

All of this, fwiw, is in the Citrix and Microsoft KB articles, but is not exactly advertised. The bite marks on the posterior sitting surface last for quite some time, even if I do remark on it.

Hank Fay


>Hi All:
>
>My application uses dbi-tech's treeview and other controls and I use Installshield for installs. A recent customer tried to run my app in terminal services (Citrix) and gets an error to the effect that it can't find these controls. We've tried installing the controls on the workstation and on the server, same error. Is there another location that they should be installed or is there a particular way they should be installed? Will this work? Can someone help?
>
>Thanks.
>Luke
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform