Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Enable HostFxrMsi to install side by side between releases and build-to-build.#1571

Merged
gkhanna79 merged 4 commits into
dotnet:masterfrom
rakeshsinghranchi:dev/raksingh/hostfxrsxsfix
Feb 22, 2017
Merged

Enable HostFxrMsi to install side by side between releases and build-to-build.#1571
gkhanna79 merged 4 commits into
dotnet:masterfrom
rakeshsinghranchi:dev/raksingh/hostfxrsxsfix

Conversation

@rakeshsinghranchi
Copy link
Copy Markdown
Member

Enable HostFxrMsi to install side by side between releases and build-to-build. This fix is for 2.0 and will need similar fix for LTS branches.

Reference Issue:
https://github.com/dotnet/core-setup/issues/572

@dnfclas
Copy link
Copy Markdown

dnfclas commented Feb 22, 2017

Hi @rakeshsinghranchi, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

Copy link
Copy Markdown

@vivmishra vivmishra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

var inputDir = c.BuildContext.Get<string>("HostFxrPublishRoot");
var wixObjRoot = Path.Combine(Dirs.Output, "obj", "wix", "hostfxr");
var hostFxrBrandName = $"'{Monikers.GetHostFxrBrandName(c)}'";
var upgradeCode = Utils.GenerateGuidFromName(HostFxrMsi).ToString().ToUpper();

This comment was marked as spam.

@dnfclas
Copy link
Copy Markdown

dnfclas commented Feb 22, 2017

@rakeshsinghranchi, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

var inputDir = c.BuildContext.Get<string>("HostFxrPublishRoot");
var wixObjRoot = Path.Combine(Dirs.Output, "obj", "wix", "hostfxr");
var hostFxrBrandName = $"'{Monikers.GetHostFxrBrandName(c)}'";
var upgradeCode = Utils.GenerateGuidFromName(HostFxrMsi).ToString().ToUpper();

This comment was marked as spam.

This comment was marked as spam.

@gkhanna79
Copy link
Copy Markdown
Member

@jyoungyun do you know why Ubuntu Arm build failed here?

@jyoungyun
Copy link
Copy Markdown

jyoungyun commented Feb 22, 2017

@gkhanna79 Yes, I know. This issue is not related to this PR. Because we disabled the CI build in the Ubuntu ARM, the testResults files were not created, which would break the build. If the #1572 issue is merged, the build will be done normally and the result file will be created.

Cmd("powershell", "-NoProfile", "-NoLogo",
Path.Combine(Dirs.RepoRoot, "packaging", "windows", "hostfxr", "generatemsi.ps1"),
inputDir, HostFxrMsi, WixRoot, hostFxrBrandName, hostFxrMsiVersion, hostFxrNugetVersion, MSIBuildArch, TargetArch, wixObjRoot)
inputDir, HostFxrMsi, WixRoot, hostFxrBrandName, hostFxrMsiVersion, hostFxrNugetVersion, MSIBuildArch, TargetArch, wixObjRoot,upgradeCode)

This comment was marked as spam.

[Parameter(Mandatory=$true)][string]$TargetArchitecture,
[Parameter(Mandatory=$true)][string]$WixObjRoot
[Parameter(Mandatory=$true)][string]$WixObjRoot,
[Parameter(Mandatory=$true)][string]$HostFxrUpgradeCode

This comment was marked as spam.

-dNugetVersion="$HostFxrNugetVersion" `
-dComponentVersion="$ComponentVersion" `
-dTargetArchitecture="$TargetArchitecture" `
-dUpgradeCode="$HostFxrUpgradeCode" `

This comment was marked as spam.

var inputDir = c.BuildContext.Get<string>("HostFxrPublishRoot");
var wixObjRoot = Path.Combine(Dirs.Output, "obj", "wix", "hostfxr");
var hostFxrBrandName = $"'{Monikers.GetHostFxrBrandName(c)}'";
var upgradeCode = Utils.GenerateGuidFromName(HostFxrMsi).ToString().ToUpper();

This comment was marked as spam.

This comment was marked as spam.

@gkhanna79 gkhanna79 merged commit 233c3b2 into dotnet:master Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants