diff --git a/Squirrel.sln b/Squirrel.sln index 27a7ede6..cfa1e3f9 100644 --- a/Squirrel.sln +++ b/Squirrel.sln @@ -53,6 +53,7 @@ Global {C1D40624-A484-438A-B846-052F321C89D1}.CIBuild|Any CPU.ActiveCfg = CIBuild|Win32 {C1D40624-A484-438A-B846-052F321C89D1}.CIBuild|Mixed Platforms.ActiveCfg = CIBuild|Win32 {C1D40624-A484-438A-B846-052F321C89D1}.CIBuild|Mixed Platforms.Build.0 = CIBuild|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.CIBuild|Any CPU.Build.0 = CIBuild|Win32 {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Any CPU.ActiveCfg = Debug|Win32 {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Any CPU.Build.0 = Debug|Win32 {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 diff --git a/src/Setup/Setup.vcxproj b/src/Setup/Setup.vcxproj index 56f4b4a8..af625835 100644 --- a/src/Setup/Setup.vcxproj +++ b/src/Setup/Setup.vcxproj @@ -67,9 +67,10 @@ false - $(VC_IncludePath);$(WindowsSDK_IncludePath);$(ProjectDir)/wtl90 + C:\WinDDK\7600.16385.1\inc\atl71;$(VC_IncludePath);$(WindowsSDK_IncludePath);$(ProjectDir)/wtl90 $(ProjectDir)bin\$(Configuration)\ $(ProjectDir)obj\$(Configuration)\ + C:\WinDDK\7600.16385.1\lib\ATL\i386;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86) diff --git a/src/Squirrel/IUpdateManager.cs b/src/Squirrel/IUpdateManager.cs index da735c50..9f580cee 100644 --- a/src/Squirrel/IUpdateManager.cs +++ b/src/Squirrel/IUpdateManager.cs @@ -20,7 +20,7 @@ namespace Squirrel /// will return values from 0-100 and Complete, or Throw /// An UpdateInfo object representing the updates to install. /// - Task CheckForUpdate(bool ignoreDeltaUpdates, Action progress = null); + Task CheckForUpdate(bool ignoreDeltaUpdates = false, Action progress = null); /// /// Download a list of releases into the local package directory. @@ -43,6 +43,18 @@ namespace Squirrel /// A Observer which can be used to report Progress - /// will return values from 0-100 and Complete, or Throw Task ApplyReleases(UpdateInfo updateInfo, Action progress = null); + + /// + /// Completely Installs a targeted app + /// + /// Completion + Task FullInstall(); + + /// + /// Completely uninstalls the targeted app + /// + /// Completion + Task FullUninstall(); } public static class EasyModeMixin diff --git a/src/Squirrel/ReleaseEntry.cs b/src/Squirrel/ReleaseEntry.cs index ab01370e..864c0e1f 100644 --- a/src/Squirrel/ReleaseEntry.cs +++ b/src/Squirrel/ReleaseEntry.cs @@ -150,7 +150,7 @@ namespace Squirrel } } - public static void BuildReleasesFile(string releasePackagesDir) + public static List BuildReleasesFile(string releasePackagesDir) { var packagesDir = new DirectoryInfo(releasePackagesDir); @@ -176,6 +176,7 @@ namespace Squirrel } File.Move(tempFile, target); + return entries; } static bool filenameIsDeltaFile(string filename) diff --git a/src/Squirrel/Squirrel.csproj b/src/Squirrel/Squirrel.csproj index 48ab0205..572ad9f2 100644 --- a/src/Squirrel/Squirrel.csproj +++ b/src/Squirrel/Squirrel.csproj @@ -81,11 +81,14 @@ + + +