WritePrivateProfileString(section, key, newvalue, iniDstPath);
*/		WritePrivateProfileString(section, key, newvalue, iniDstPath);
int interpret(char *cmd){	char *cmdname = strtok(cmd, "(");	if (strcmp(cmdname, "configure") == 0)	{		char temp[1024];		char *section	= strtok(NULL, ",)");		char *key 		= strtok(NULL, ",)");		char *value 	= strtok(NULL, ",)");		char *newvalue	= value;		if (value[0] == '%')		{			value++;			char *t = strchr(value, '%');//Post Beta - we have to figure a way to handle these cases - right now returning FALSE//causes the other commands to not be carried through- changing return FALSE to TRUE			if (!t)				return TRUE;//*** Changed FALSE to TRUE			*t = '\0';			newvalue = (char *)(LPCTSTR) GetGlobal(value);		}		if (!section || !key || !newvalue)			return TRUE;//***Changed FALSE to TRUE		if (!CopyFile(iniSrcPath, iniDstPath, TRUE))			DWORD e = GetLastError();		if (strcmp(key, "Program Folder Name") == 0)		{			strcpy(temp, "Netscape 6 by ");			strcat(temp, newvalue);			newvalue = temp;		}		WritePrivateProfileString(section, key, newvalue, iniDstPath);	}	else if (strcmp(cmdname, "replaceXPI") == 0)	{		char *xpiname	= strtok(NULL, ",)");		char *jname		= strtok(NULL, ",)");		char *xpifile	= strtok(NULL, ",)");		char *value 	= strtok(NULL, ",)");		char *newvalue	= value;		CString jarname = jname;		if (value[0] == '%')		{			value++;			char *t = strchr(value, '%');			if (!t)				return TRUE;//*** Changed FALSE to TRUE			*t = '\0';			newvalue = (char *)(LPCTSTR) GetGlobal(value);		}		if (!xpiname || !xpifile || !newvalue)				return TRUE;//*** Changed FALSE to TRUE		/*Post Beta -This is a hack to prevent the last page from staying up there endlessly;		  We check to see if the filename is null and if it is so we return true 		  so that the return value isnt made FALSE */		CString filename = newvalue;		if (filename.IsEmpty())			return TRUE;		////////////////////////////////		//check to see if it is a jar and then do accordingly		if (jarname.CompareNoCase("no.jar")==0)		ExtractXPIFile(xpiname, xpifile);		else 		ExtractJARFile(xpiname, jarname, xpifile);		if (!CopyFile(newvalue, xpifile, FALSE))		{			DWORD e = GetLastError();			return TRUE;//*** Changed FALSE to TRUE		}	}	else if ((strcmp(cmdname, "modifyDTD") == 0) ||			(strcmp(cmdname, "modifyJS") == 0) ||			(strcmp(cmdname, "modifyProperties") == 0))	{		char *xpiname	= strtok(NULL, ",)");		char *jname		= strtok(NULL, ",)");		char *xpifile	= strtok(NULL, ",)");		char *entity	= strtok(NULL, ",)");		char *value 	= strtok(NULL, ",)");		char *newvalue	= value;		CString jarname = jname;		if (value[0] == '%')		{			value++;			char *t = strchr(value, '%');			if (!t)				return TRUE;//*** Changed FALSE to TRUE			*t = '\0';			newvalue = (char *)(LPCTSTR) GetGlobal(value);		}		if (!xpiname || !xpifile || !entity || !newvalue)			return TRUE;//*** Changed FALSE to TRUE		//check to see if it is a jar and then do accordingly		if (jarname.CompareNoCase("no.jar")==0)		ExtractXPIFile(xpiname, xpifile);		else 		ExtractJARFile(xpiname, jarname, xpifile);		if(strcmp(cmdname, "modifyJS") == 0)			ModifyJS(xpifile,entity,newvalue);		else if (strcmp(cmdname, "modifyProperties") == 0)			ModifyProperties(xpifile,entity,newvalue);		else			ModifyDTD(xpifile, entity, newvalue);	}	else if (strcmp(cmdname, "wrapXPI") == 0)	{	}	else		return FALSE;//*** We have to handle this condition better.	return TRUE;}