private static void HandleClientOnlyUpgrade(string downloadedFilePath)
 {
     Logger.Info("In HandleClientOnlyUpgrade");
     try
     {
         int num = BlueStacksUpdater.ExtractingClientInstaller(downloadedFilePath);
         if (num == 0)
         {
             BluestacksProcessHelper.RunUpdateInstaller(Path.Combine(Path.Combine(RegistryManager.Instance.SetupFolder, Path.GetFileNameWithoutExtension(downloadedFilePath)), "Bootstrapper.exe"), "", false);
         }
         else
         {
             Logger.Warning("Update extraction failed, ExitCode: {0}", (object)num);
             System.IO.File.Delete(downloadedFilePath);
         }
     }
     catch (Exception ex)
     {
         Logger.Error("Some Error in Client Upgrade err: ", (object)ex.ToString());
     }
 }
 private static void HandleFullUpgrade(string downloadedFilePath)
 {
     Logger.Info("In HandleFullUpgrade");
     BluestacksProcessHelper.RunUpdateInstaller(downloadedFilePath, "-u -upgradesourcepath BluestacksUI", false);
 }