Installshield:写注册表时,路径用二进制表示

lastPath = "SOFTWARE\\testAPI\\DL\\{692bcef0-4540-11d3-a8f3-0090271d266f}\\testDirectory";//注册表路径 
 RegDBSetDefaultRoot( HKEY_LOCAL_MACHINE );
 svPath = WINSYSDIR^"BioAPIFFDB\\testDirectory";
  nSize = StrLength(svPath)+1;
    RegDBCreateKeyEx(lastPath,"");    
    RegDBSetKeyValueEx(lastPath,"AdditionalInformation",REGDB_BINARY,svPath,nSize); 

 

posted @ 2012-02-23 13:44  蓝欣児  Views(476)  Comments(0Edit  收藏  举报