_mkdir(nscpxpiPath+strNscpInstaller);
CString tempnscpxpiPath = nscpxpiPath;
void PopulateNscpxpi(CString rootPath, CString platformInfo, 					 CString nscpxpiPath, CString extractPath)// Populate Nscpxpi directory with appropriate installer files{	CString command, 			quotes = "\"", 			spaces = " ",			nscpzipFile = nscpxpiPath + "\\NSSetup.zip";	if (platformInfo == "Linux")	{		CString strNscpInstaller = "\\netscape-installer";		_mkdir(nscpxpiPath+strNscpInstaller);		CopyDirectory(extractPath+strNscpInstaller+"\\xpi", nscpxpiPath, TRUE);		CopyDirectory(extractPath+strNscpInstaller, nscpxpiPath+strNscpInstaller, 			FALSE);		CopyFile(nscpxpiPath+strNscpInstaller+"\\Config.ini", 			nscpxpiPath+"\\Config.ini", FALSE);	}	else if (platformInfo == "Windows")	{		CopyDirectory(extractPath, nscpxpiPath, TRUE);		command = quotes + rootPath + "zip.exe" + quotes + " -jm " + 			quotes + nscpzipFile + quotes + spaces + quotes + 			nscpxpiPath + "\\*.exe" + quotes + spaces + quotes + 			nscpxpiPath + "\\*.txt" + quotes + spaces + quotes +			nscpxpiPath + "\\*.dll" + quotes + spaces + quotes +			nscpxpiPath + "\\install.ini" + quotes;		ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE);		command = quotes + rootPath + "zip.exe" + quotes + " -j " + 			quotes + nscpzipFile + quotes + spaces + quotes + 			nscpxpiPath + "\\config.ini" + quotes;		ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE);	}}