public async Task <bool> HandleRevit2018Installation()
        {
            LoggingService.LogInfo("Beginning app installation...");
            try
            {
                var info = await InstallStatusService.GetVersionInformationFromServerAsync(UpdatePath);

                await DownloadHandler.DownloadNewReleases(info.ReleasesToApply);

                var tempLocation = await PushNewReleaseToTempLocation(info);

                await FileHandler.HandleRevit2018Installation(tempLocation);

                LoggingService.LogInfo("App installation complete");
                return(true);
            }

            catch (Exception e)
            {
                LoggingService.LogError("Unable to install product because of fatal error", e);
            }

            LoggingService.LogInfo("App installation failed");
            return(false);
        }
 private async Task <bool> CheckForUpdateTo2018AppAsync()
 {
     return(await InstallStatusService.CheckForUpdateTo2018AppAsync(UpdatePath).ConfigureAwait(false));
 }
 private async Task <bool> CheckIf2018AppIsInstalledAsync()
 {
     return(await InstallStatusService.CheckIf2018AppIsInstalledAsync().ConfigureAwait(false));
 }