public void InstallOffice2013() { InstUninst install = new InstUninst(_setupExe, " /AdminFile auto.msp"); _msgsApps.WriteMsg("Instalando... Por favor, aguarde!"); install.App(); }
private async Task GetOnlineExecutableAndInstall() { _destination = Path.Combine(_userProfile, "Downloads\\"); _installUninstall = new InstUninst(); await _installUninstall.AppOnline("https://download.anydesk.com/AnyDesk-CM.msi", _destination + "AnyDesk-CM.msi"); InstallNow(); }
private void Uninstall(string uninstallString) { _installUninstall = new InstUninst(); _msgsApps.CleanMsgs(); _msgsApps.WriteMsg("AnyDesk, foi encontrado e esta sendo " + "desinstalado. Por favor, aguarde!"); _installUninstall.Uninstall("Msiexec", " /" + uninstallString); }
private async Task GetOnlineExecutableAndInstall() { _destination = Path.Combine(_userProfile, "Downloads\\"); _installUninstall = new InstUninst(); await _installUninstall.AppOnline("https://dl.teamviewer.com/download/version_15x/TeamViewer_Setup.exe", _destination + "TVInstall.exe"); InstallNow(); }
private void Uninstall(string uninstallString) { _installUninstall = new InstUninst(); _msgsApps.CleanMsgs(); _msgsApps.WriteMsg("Team Viewer, foi encontrado e esta sendo " + "desinstalado. Por favor, aguarde!"); _installUninstall.Uninstall(uninstallString, "/S"); }
private void InstallNow() { _installUninstall = new InstUninst(_destination + "AnyDesk-CM.msi", "/qn"); _msgsApps.WriteMsg("Instalando, AnyDesk. Por favor, aguarde!"); _installUninstall.App(); _msgsApps.CleanMsgs(); _installUninstall = new InstUninst(@"C:\Program Files (x86)\AnyDeskMSI\AnyDeskMSI.exe", ""); _installUninstall.App(); _msgsApps.WriteMsg("Instalado, Abra o ícone vermelho com o nome AnyDesk em sua área de trabalho. Por favor!"); }
public Office2013() { _tools = new OfficeTools(); _installUninstall = new InstUninst(); _source = _tools.Paths("ZipFile"); _proFile = _tools.Paths("UserProfile"); _destination = _tools.Paths("Downloads"); _setupExe = _tools.Paths("SetupExe"); _msgsApps = new MsgsApps(); }
private void InstallNow() { _installUninstall = new InstUninst(_destination + "\\TVInstall.exe", "/S"); _msgsApps.WriteMsg("Instalando, Team Viewer. Por favor, aguarde!"); _installUninstall.App(); _msgsApps.CleanMsgs(); _installUninstall = new InstUninst(@"C:\Program Files (x86)\TeamViewer\TeamViewer.exe", ""); _installUninstall.App(); _msgsApps.WriteMsg("Instalado, Abra o ícone azul com o nome TeamViewer em sua área de trabalho. Por favor!"); Console.ReadKey(); }
private bool UninstallAction() { bool uninstalled = false; _installUninstall = new InstUninst(); string uninstallString = _installUninstall.GetStringUninstallExe("TeamViewer", "LocalMachine", @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall", "UninstallString"); if (ExecutableExist()) { _msgsApps.WriteMsg("Localizando alguma instalação do Team Viewer. Por favor, aguarde!"); Uninstall(uninstallString); do { }while (ExecutableExist()); uninstalled = true; } return(uninstalled); }
private bool UninstallAction() { bool uninstalled = false; _installUninstall = new InstUninst(); string uninstallString = _installUninstall.GetStringUninstallMsi("AnyDesk MSI", "LocalMachine", @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall", "DisplayName"); string args = uninstallString.Substring(13, 39); string UninstallArgs = (args += " /qn"); if (ExecutableExist()) { _msgsApps.WriteMsg("Localizando alguma instalação do AnyDesk. Por favor, aguarde!"); Uninstall(UninstallArgs); do { _msgsApps.WriteMsg("Desistalando AnyDesk. Por favor, aguarde!"); _msgsApps.CleanMsgs(); }while (ExecutableExist()); uninstalled = true; } return(uninstalled); }