diff --git a/chocolatey-visualstudio.extension/extensions/Assert-VSInstallerUpdated.ps1 b/chocolatey-visualstudio.extension/extensions/Assert-VSInstallerUpdated.ps1 index 14d45e10..b8af8766 100644 --- a/chocolatey-visualstudio.extension/extensions/Assert-VSInstallerUpdated.ps1 +++ b/chocolatey-visualstudio.extension/extensions/Assert-VSInstallerUpdated.ps1 @@ -15,6 +15,7 @@ function Assert-VSInstallerUpdated if ($PackageParameters.ContainsKey('noUpdateInstaller')) { Write-Verbose "Skipping update of the VS Installer because --noUpdateInstaller was passed in package parameters" + return } $requiredVersionInfo = Get-VSRequiredInstallerVersion -PackageParameters $PackageParameters -ProductReference $productReference -UseInstallChannelUri:$UseInstallChannelUri