Remove check for previous versions of CLI SDK.
In the MSI we used to check for any previous installation and we prevent any installation of 'Release' version on top of 'Nightly' version and vice versa. This is no longer needed since CLI SxS now. This is reminiscent of pre-sharedFx CLI. Fixes - #2467
This commit is contained in:
parent
880dcf2fc8
commit
5ea0d2c665
9 changed files with 5 additions and 39 deletions
|
@ -127,7 +127,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
Cmd("powershell", "-NoProfile", "-NoLogo",
|
||||
Path.Combine(Dirs.RepoRoot, "packaging", "windows", "clisdk", "generatemsi.ps1"),
|
||||
cliSdkRoot, SdkMsi, WixRoot, MsiVersion, CliVersion, upgradeCode, Arch, Channel)
|
||||
cliSdkRoot, SdkMsi, WixRoot, MsiVersion, CliVersion, upgradeCode, Arch)
|
||||
.Execute()
|
||||
.EnsureSuccessful();
|
||||
return c.Success();
|
||||
|
@ -188,7 +188,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
Cmd("powershell", "-NoProfile", "-NoLogo",
|
||||
Path.Combine(Dirs.RepoRoot, "packaging", "windows", "clisdk", "generatebundle.ps1"),
|
||||
SdkMsi, SharedFrameworkMsi, SharedHostMsi, SdkBundle, WixRoot, MsiVersion, CliVersion, upgradeCode, Arch, Channel)
|
||||
SdkMsi, SharedFrameworkMsi, SharedHostMsi, SdkBundle, WixRoot, MsiVersion, CliVersion, upgradeCode, Arch)
|
||||
.EnvironmentVariable("Stage2Dir", Dirs.Stage2)
|
||||
.Execute()
|
||||
.EnsureSuccessful();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue