[EMAIL PROTECTED] wrote: > WcaLog(LOGMSG_STANDARD, "Get TARGETDIR"); > > TCHAR* installDirBuf = NULL; > > > > uiStat = MsiGetProperty(hInstall, TEXT("TARGETDIR"), TEXT(""), > &cchValueBuf); >
As you're already using wcautil.lib, you can use WcaGetProperty. That takes care of all the sizing and allocation. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users