new AEThread("install tester" )
{
public void
runSupport()
{
try{
sleep(10000);
/*
PluginInstaller installer = manager.getPluginInstaller();
StandardPlugin[] sps = installer.getStandardPlugins();
String install_name = "azshareexporter";
StandardPlugin install_act = null;
for (int i=0;i<sps.length;i++){
StandardPlugin sp = sps[i];
System.out.println( "Standard Plugin: " + sp.getId() + " - " + sp.getVersion() + ", installed = " + sp.getAlreadyInstalledPlugin());
if ( sp.getId().equals( install_name )){
install_act = sp;
}
}
install_act.install( true );
*/
/*
FilePluginInstaller inst = installer.installFromFile(new File("C:\\temp\\azshareexporter_0.1.jar"));
inst.install( false );
*/
PluginInterface pi = manager.getPluginInterfaceByID("azshareexporter");
pi.uninstall();
}catch( Throwable e ){
e.printStackTrace();
}
}
}.start();