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

Make apphost.exe and comhost.dll MSI id stable - #7387

Merged
dagood merged 2 commits into
dotnet:masterfrom
dagood:msi-static-unsigned-files/master
Jul 26, 2019
Merged

dagood merged 2 commits into
dotnet:masterfrom
dagood:msi-static-unsigned-files/master

Conversation

@dagood

@dagood dagood commented Jul 25, 2019

Copy link
Copy Markdown
Member

For https://github.com/dotnet/core-setup/issues/7327.

Core-SDK has an xslt to do this to a single File, but IMO it's better to implement a clear build task than for me to learn and introduce a new technology to the repo (and other repos once these tools are shared).

Example file table for a dotnet-apphost-pack-5.0.0-dev-win-x64.msi built with this change:

File Component_ FileName FileSize Version Language Attributes Sequence
apphosttemplateapphostexe cmp680C9770566E399B0F071F78C6F898CC apphost.exe 2291200 512 1
comhosttemplatecomhostdll cmp32712694AB07CC787C868110099932EE comhost.dll 2036736 42.42.42.42424 1033 512 2
fil06E4E13D55CE2ECD89A337A420C96A4E cmp76863AC956DD5DD65C8EBBADF7FFC8C3 ijwhost.dll 2269184 42.42.42.42424 1033 512 3
fil2155E724E9CA6C9089BAB7E00CF4F8F0 cmp4645D466AF4C5CFD2F0AAB09947BE103 nethost.h 2803 512 4
fil8CAD6E0DA97FDE80B7FABC1F377F7E78 cmpD0F4A07181EB518988CBA5F70EE3ABAB ijwhost.lib 1716 512 5
filC3F1E5B468881FCE5FC6FED7650E4EB6 cmpF7606CAF069829F1E698F8E37C248326 nethost.dll 1630208 42.42.42.42424 1033 512 6
filE17BA6B727678761F86E9F558310EEDC cmp6DC5E23C214B2284EEF991D1CF4A2948 nethost.lib 1742 512 7

I'll be porting this to release/3.0 as soon as it goes in, this is important to reduce the pain of VS insertion.

@MichaelSimons MichaelSimons left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread tools-local/tasks/StabilizeWixFileId.cs Resolved
@dagood
dagood merged commit 5ce778b into dotnet:master Jul 26, 2019
@dagood
dagood deleted the msi-static-unsigned-files/master branch July 26, 2019 22:28
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Make apphost.exe and comhost.dll MSI id stable


Commit migrated from dotnet/core-setup@5ce778b
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.

2 participants