private async void btnInstallUpdate_Click(object sender, EventArgs e) { try { pbMain.Visible = true; await _im.AutoInstallAsync(); } catch (Exception exc) { MessageBox.Show(exc.Message); } }
private async void button1_Click(object sender, EventArgs e) { InstallManager im = new InstallManager("adamosoftware", "install", "BlobakSetup.exe", "Blobak"); await im.AutoInstallAsync(true); }