Hello
CVI uses Microsoft Installer technology (MSI) for the CDK. Basically these tools are suppose to take care of issues like this. Althought I should mention that the current versions of CVI only create 32 bit applications, and generally file path lenghts limits are pretty much the same among 32 bit windows systems. 
But in any case, the MSI framwork is responsible for probing for factors like the OS, there the system directory is located ( usually an enviornment variable ) etc.. But the great thing about MSI is that since its an open framwork, its been documented in great detail on the Microsoft Developer 
Network. You can download several tools for MSI as well, since MS provides an Installer SDK. There are
 third party tools like Wise and InstallShield and a free one WinInstall LE that make it easier for you to create packages using MSI. 
Check out this 
link as well for info on the Windows Installer. 
Hope this helps
Bilal Durrani
NI 
					
				
			
			
				
	Bilal Durrani
NI