RunXPI(FSSpec& aXPI, FSSpec& aXPIStubDir, FSSpec& aTargetDir)
RunXPI(FSSpec& aXPI, XPI_InstallProc *xpi_installProc)
RunXPI(FSSpec& aXPI, FSSpec& aXPIStubDir, FSSpec& aTargetDir){		nsresult			rv;	OSErr	 			err = noErr;	long				flags = 0x0000;	XPI_InitProc		xpi_initProc;	XPI_InstallProc		xpi_installProc;	XPI_ExitProc		xpi_exitProc;	CFragConnectionID	connID;		ERR_CHECK_RET(LoadXPIStub(&xpi_initProc, &xpi_installProc, &xpi_exitProc, &connID, aXPIStubDir), err);		XPI_ERR_CHECK(xpi_initProc( aXPIStubDir, aTargetDir, xpicbStart, xpicbProgress, xpicbFinal ));	XPI_ERR_CHECK(xpi_installProc( aXPI, "", flags ));		xpi_exitProc();	UnloadXPIStub(&connID);	return err;}