#105892# define KEY_WOW64_64KEY for mingw

This commit is contained in:
Tobias Krause 2009-11-11 06:38:38 +00:00
parent 7941b35172
commit 8887d95961

View file

@ -345,10 +345,8 @@ bool DoRegEntries( MSIHANDLE& rhMSI, OPERATION op, MSIHANDLE& rhView)
// basis location
wcsncat(newValue, sBasisInstallLocation, nPropSize * sizeof( wchar_t ));
//wcsncpy(postfix, nPos, _TRUNCATE);
// postfix
wcsncat(newValue, nPos + ( wcslen( BASISINSTALLLOCATION ) ), _TRUNCATE);
wcsncat(newValue, nPos + ( wcslen( BASISINSTALLLOCATION ) ), nPropSize * sizeof( wchar_t ));
wcsncpy(szValue, newValue, nNewValueBytes <=1024? nNewValueBytes: 1024);