/// <summary> /// Saves the package file to ASProxy location /// </summary> static void ApplyPackage(ProviderUpdateInfo updateInfo, string zipFile) { ZipFile package = new ZipFile(zipFile); try { // First we install provider files Updaters.InstallExtenderPackage(updateInfo.ProviderFiles, package); // If installing provider files was successful, we install assembly files Updaters.InstallAssemblyPackage(updateInfo.AssemblyFiles, package); } finally { package.Close(); } }