public void GetAddinDescription (IProgressStatus monitor, AddinRegistry registry, string file, string outFile) { RemoteProgressStatus remMonitor = new RemoteProgressStatus (monitor); try { RemoteSetupDomain rsd = GetDomain (); rsd.GetAddinDescription (remMonitor, registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath, file, outFile); } catch (Exception ex) { throw new ProcessFailedException (remMonitor.ProgessLog, ex); } finally { System.Runtime.Remoting.RemotingServices.Disconnect (remMonitor); ReleaseDomain (); } }
public void GetAddinDescription(IProgressStatus monitor, AddinRegistry registry, string file, string outFile) { RemoteProgressStatus remMonitor = new RemoteProgressStatus(monitor); try { RemoteSetupDomain rsd = GetDomain(); rsd.GetAddinDescription(remMonitor, registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath, file, outFile); } catch (Exception ex) { throw new ProcessFailedException(remMonitor.ProgessLog, ex); } finally { System.Runtime.Remoting.RemotingServices.Disconnect(remMonitor); ReleaseDomain(); } }
public void GenerateScanDataFiles(IProgressStatus monitor, AddinRegistry registry, string scanFolder, bool recursive) { RemoteProgressStatus remMonitor = new RemoteProgressStatus(monitor); try { RemoteSetupDomain rsd = GetDomain(); rsd.PreScan(remMonitor, registry.RegistryPath, registry.StartupDirectory, registry.DefaultAddinsFolder, registry.AddinCachePath, scanFolder, recursive); } catch (Exception ex) { throw new ProcessFailedException(remMonitor.ProgessLog, ex); } finally { System.Runtime.Remoting.RemotingServices.Disconnect(remMonitor); ReleaseDomain(); } }
public void Scan(IProgressStatus monitor, string registryPath, string startupDir, string scanFolder, string[] filesToIgnore) { RemoteProgressStatus remMonitor = new RemoteProgressStatus (monitor); try { RemoteSetupDomain rsd = GetDomain (); rsd.Scan (remMonitor, registryPath, startupDir, scanFolder, filesToIgnore); } catch (Exception ex) { throw new ProcessFailedException (remMonitor.ProgessLog, ex); } finally { System.Runtime.Remoting.RemotingServices.Disconnect (remMonitor); ReleaseDomain (); } }