-
Notifications
You must be signed in to change notification settings - Fork 377
WiX v5 for Microsoft.DotNet.Build.Tasks.Installers #15933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| <!-- | ||
| Locate WiX tools. | ||
| --> | ||
| <Target Name="_AcquireWix"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option would be to add Microsoft.WixToolset.* as NuGet dependencies for this package. But this would mean v3 would also have them as dependencies.
src/Microsoft.DotNet.Build.Tasks.Installers/build/resources/DotNetLogo_124x.png
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Build.Tasks.Installers/build/bundle.targets
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Build.Tasks.Installers/build/wix5/bundle/bundle.wxs
Show resolved
Hide resolved
| <Variable Name="PRODUCT_NAME" Type="string" Value="$(var.ProductName)" bal:Overridable="no" /> | ||
| <Variable Name="LINK_PREREQ_PAGE" Type="string" Value="https://go.microsoft.com/fwlink/?linkid=846817" bal:Overridable="no" /> | ||
|
|
||
| <?ifdef WixThemeFile ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed or used? The theme file is specified as part of BoostrapperApplication@ThemeFile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is used for HyperlinkLicense. This file is conditionally generated based on whether there are any WixThemeVariable items
| <Target Name="GenerateBundleThemeVariables" Condition="'@(WixThemeVariable)' != ''"> |
and ASP.NET Core seems to have them: https://github.com/dotnet/aspnetcore/blob/9e341eded50d7b08cd8d83749a4eb1978dd4cfb0/src/Framework/App.Runtime/bundle/aspnetcore-runtime-bundle.bundleproj#L42-L47
src/Microsoft.DotNet.Build.Tasks.Installers/build/wix5/bundle/bundle.wxs
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Build.Tasks.Installers/build/wix5/wix.targets
Outdated
Show resolved
Hide resolved
|
Pushed the following fixes with 1d32c84
|
wix buildHarvestDirectorytaskdotnet/runtime PR that will consume these changes: dotnet/runtime#117010
Contributes to dotnet/runtime#116878