Lines Matching refs:sMsiFolder
711 TCHAR *sMsiFolder = new TCHAR[ MAX_PATH + 1 ]; in LoadMsiLibrary() local
716 … &dwType, (BYTE*)sMsiFolder, &dwMsiFolderSize ) ) ) in LoadMsiLibrary()
719 delete [] sMsiFolder; in LoadMsiLibrary()
720 sMsiFolder = new TCHAR[ dwMsiFolderSize ]; in LoadMsiLibrary()
723 (BYTE*)sMsiFolder, &dwMsiFolderSize ); in LoadMsiLibrary()
732 if ( SUCCEEDED( StringCchCopy( pMsiLocation, nLength, sMsiFolder ) ) && in LoadMsiLibrary()
753 TCHAR *sMsiFolder = new TCHAR[ MAX_PATH + 1 ]; in GetPathToMSI() local
756 sMsiFolder[0] = '\0'; in GetPathToMSI()
765 … &dwType, (BYTE*)sMsiFolder, &nMsiFolderSize ) ) ) in GetPathToMSI()
768 delete [] sMsiFolder; in GetPathToMSI()
769 sMsiFolder = new TCHAR[ nMsiFolderSize ]; in GetPathToMSI()
772 (BYTE*)sMsiFolder, &nMsiFolderSize ); in GetPathToMSI()
776 sMsiFolder[0] = '\0'; in GetPathToMSI()
779 if ( sMsiFolder[0] == '\0' ) // use the default location in GetPathToMSI()
783 DWORD nRet = WIN::GetSystemDirectory( sMsiFolder, nMsiFolderSize ); in GetPathToMSI()
786 delete [] sMsiFolder; in GetPathToMSI()
787 sMsiFolder = new TCHAR[ nRet ]; in GetPathToMSI()
790 nRet = WIN::GetSystemDirectory( sMsiFolder, nMsiFolderSize ); in GetPathToMSI()
794 sMsiFolder[0] = '\0'; in GetPathToMSI()
800 if ( sMsiFolder[0] != '\0' ) in GetPathToMSI()
802 int nLength = lstrlen( sMsiExe ) + lstrlen( sMsiFolder ) + 1; in GetPathToMSI()
805 if ( FAILED( StringCchCopy( sMsiPath, nLength, sMsiFolder ) ) || in GetPathToMSI()