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

Wednesday, October 13, 2010

Wise Captures on 64 bit Windows

When capturing application installations on 64 bit Windows, check if wise is creating the correct key AND the one it saw being created under Wow6432Node.  IMO the ones under Wow6432Node should be deleted.  On a 64 bit system regkey writes will be correctly redirected to Wow6432Node at install time.  On a 32 bit system they will be correctly installed.  Leaving the Wow6432Node keys in the capture and MSI install may result in them being installed twice on a 64 bit system.  On a 32 bit system unwanted  Wow6432node keys would be created.