diff --git a/deployment/cake/installers-velopack.cake b/deployment/cake/installers-velopack.cake index 4f7f469..8a81080 100644 --- a/deployment/cake/installers-velopack.cake +++ b/deployment/cake/installers-velopack.cake @@ -13,6 +13,12 @@ public class VelopackInstaller : IInstaller if (IsEnabled) { IsAvailable = IsEnabled; + + // Protection + if (BuildContext.BuildServer.GetVariableAsBool("SquirrelEnabled", true, showValue: true)) + { + throw new Exception("Both Velopack and Squirrel are enabled, make sure to disable Squirrel when migrating to Velopack"); + } } }