Wednesday, October 20, 2010

App-V 4.6 / Citrix / MS VC++ Runtime Error R6030 -CRT not initialised

Vandyke SecureFX 6.5.3  (64 bit)
The application licensing info gets written to an HKLM key.
Can be App-V but can error in the sequencer and client at launch if the Citrix Virtual Desktop Agent (VDA) x64 is installed (v4.0.4534 in this case).  Error is  
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: <path to app>
R6030
-CRT not initalised

Uninstall the Citrix VDC and it's fine.  This is likely to happen to other applications that use the
Microsoft Visual C++ Runtime Library in this way.  It appears to be related to the way citrix attempts to get involved.  Other information here
http://blogs.technet.com/b/virtualworld/archive/2010/07/07/r6030-crt-not-initialized.aspx

Attempted to install the MS VC++ Redistributable 2008 SP1 FAT on the machine before sequencing but this made no difference.

Other applications similarly affected are: (potentially anything that uses 64 bit Microsoft Visual C++ Runtime.)
Wireshark