aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-15Use "wixext4" instead of "tools" as the root folder in ".wixext.nupkg"sRob Mensching55-336/+215
Fixes 6944
2022-10-14Simplify reference resolutionRob Mensching8-251/+173
WiX v3 extension loading had options that were rarely if ever used and library paths modeled after C++. Given the new Sdk-style model in WiX v4, we can simplify reference resolution. Fixes 6945, 6946
2022-10-14Normalize ToolsetTask implementation to call wix.exe and heat.exeRob Mensching31-201/+197
Share the ToolsetTask implementation that can find .NET Core and .NET Framework with multiple architectures. Fixes 6951
2022-10-14Run wix.exe out of procRob Mensching21-367/+226
"wix build" will load assemblies to read metadata which can cause the assemblies to get locked in the process. Since MSBuild keeps build processes alive this can cause work done by in-proc MSBuild tasks (like the WixBuild) to get stuck. Moving the "wix build" out of proc avoids any of those issues. Moving out of proc also allows the WiX tasks to be AnyCPU which simplifies the wix.targets (although did need to add code to find the .NET Framework wix.exe). Fixes 6595
2022-10-14Yield long running MSBuild tasksRob Mensching1-2/+4
Closes 3743
2022-10-14Only run WindowsInstallerValidation when WixBuild runsRob Mensching1-2/+4
Fixes 6853
2022-10-14Minor code clean upRob Mensching3-19/+11
2022-10-10Add Netfx bundle extension and netfx:DotNetCoreSearch.Sean Hall55-151/+1569
Remove built-in .NET Core packages since they update too quickly. Fixes 6257
2022-10-04Attempt ordinal sort to fix CI test failureRob Mensching1-6/+4
2022-10-04Fix tracking of detached containersRob Mensching5-15/+5
Detached containers were being tracked as both a BuiltContentOutput and Temporary file. That caused the detached containers to be cleaned up and unavailable for the bundle after the build. Also removed the unused ITrackedFile.Clean property.
2022-10-04Use file system abstraction to handle retries automaticallyRob Mensching24-127/+143
Fixes 4791
2022-10-04Add retries when trying to update bundle resourcesRob Mensching6-33/+51
Fixes 6882 and 6902
2022-10-04Modernize Util.wixext buildRob Mensching4-6/+36
2022-10-04Run tests in bulk to improve performanceRob Mensching8-44/+62
The fewer executions of "dotnet test" the better so batch up calls by referencing multiple assembly DLLs.
2022-10-04Small clean up of api segment buildRob Mensching4-10/+9
2022-10-04Remove dependency on NuGet.Versioning from CoreRob Mensching2-6/+6
Now that WixVersion can do comparison logic, we can remove the dependency on NuGet.Versioning from WixToolset.Core. The NuGet.Versioning assembly gets included by many build process tools so not being dependent on it in core WiX scenarios reduces the chances of assembly version collisions.
2022-10-04Move WixVersion to new WixToolset.Versioning package in libs segmentRob Mensching24-9/+1275
WixVersion is already used by the Core toolset but could also be useful for bootstrapper applications parsing bundle versions. The WixToolset.Data assembly contains a significant amount of data that bloats its size that bootstrapper applications would never need. Extracting WixVersion to its own assembly makes it much more useable. Fixes 6943
2022-10-04Incremental linking is not supported by C++/CLIRob Mensching1-0/+3
2022-10-04Fix verutil string comparisonsRob Mensching2-2/+2
Invariant string comparisons were finding strings like "abc" to be less than "-abc". Switching to ordinal comparison correctly reports the order.
2022-10-03Make all test roll forwardRob Mensching4-3/+1
2022-10-03Standardize on .NET 6 as the minimum for .NET Core platform.Rob Mensching69-104/+115
Closes 6942
2022-10-03Use packageSourceMapping to control source of NuGet packagesRob Mensching4-16/+11
Contrary to common-sense, NuGet package sources are not ordered. Thus, the existence of nuget_official.config is pointless as it was an attempt to prefer already published .nupkgs over newly built .nupkgs in post-GA builds. Instead, NuGet introduced packageSourceMapping which is a more powerful solution to address post-GA package resolution.
2022-10-03Allow independent extraction of BA to remove use of InternalsVisibleToRob Mensching11-137/+55
If tests need functionality, it is reasonable to expect users may require it in the future as well. To support the bundle tests, they needed independent extraction of BA from attached containers. So, add a new switch to extract the BA separate from the containers.
2022-09-28Fix UICompiler custom actions duplicationStefanStojanovic1-25/+35
For each ui:WixUI tag found, UICompiler adds PrintEula and ValidatePath custom actions. This causes problems with duplicate symbols if 2 or more such tags are used. This change makes sure that UI custom actions are added only once in total.
2022-09-27Introduce PatchFilterMap to remove Row.SectionIdRob Mensching14-368/+426
A Row's SectionId is not set correctly in most scenarios. It was only really needed for the old section-based patch filtering. As section-base patch filtering was replaced in favor of the more logical filter generation, Row.SectionId was archaic and mostly outdated/wrong data.
2022-09-27Implement transform decompiling and use it in patch filter testsRob Mensching17-177/+390
2022-09-27Rename MsiPatchSequenceSymbol to MsiPatchFamilySymbol and fix the IdRob Mensching6-74/+74
The symbol now matches the name from the language. Also, fix the MsiPatchFamilySymbol id calculation to fix the linker issue and unblock patch filtering.
2022-09-27Refactor patch filtering on the path towards making it work properlyRob Mensching9-744/+843
2022-09-27Symbols won't have section ids.Rob Mensching2-32/+0
2022-09-27Add patch error test to validate missing baseline patch fileRob Mensching2-0/+36
2022-09-27Simplify patch fixture internal resultsRob Mensching1-44/+44
2022-09-25Update README.mdDaniel Chalmers1-9/+13
2022-09-23Fix and reenable some skipped E2E Burn patching testsRob Mensching2-13/+5
2022-09-23Implement single pass patch buildRob Mensching56-1676/+1508
This new implementation of patching in WiX v4 creates an MSP's transforms and MSP file in a single pass. This single pass allows the build to use MSI as the source of files for diffing purposes. Completes 6401 Fixes 4629
2022-09-23Build some common products to share across multiple patch testsRob Mensching7-80/+40
2022-09-23Re-enable and update a patching test fixed previouslyRob Mensching2-13/+12
2022-09-23Centralize test project configuration with IsWixTestProjectRob Mensching37-268/+45
2022-09-23Add simple patching test to verify file updates are includedRob Mensching5-0/+80
2022-09-22Add WixUI/@InstallDirectory to simplify authoring.Bob Arnson3-3/+19
Fixes https://github.com/wixtoolset/issues/issues/6926.
2022-09-22Burn typo/style fixesBob Arnson1-2/+3
2022-09-15Don't clean packages during layout.Sean Hall2-1/+93
Fixes 6871
2022-09-15Disallow attributes in Billboard/Panel.Bob Arnson1-0/+14
Fixes https://github.com/wixtoolset/issues/issues/6893.
2022-09-15Ignore cache bundle failure if it already exists in the package cache.Sean Hall3-9/+43
Fixes 6848
2022-09-15Add more burn E2E tests.Sean Hall15-12/+223
Fix bug where first splash screen wasn't closed. Fix bug where billboard only started the first time. Fix bug where the restart status was lost when the exit code was an error. Fix bug where the hash byte array length was compared to the hash string length (string is twice as long). Fix bug where Burn didn't give update hash if the first byte was 0.
2022-09-14Don't search for 64-bit bundles on 32-bit OS.Sean Hall1-3/+12
Fixes 6849
2022-09-12Support bundle updates in WixStdBA.Bob Arnson11-4/+152
Fixes https://github.com/wixtoolset/issues/issues/6894.
2022-09-12Update hashes are now hex strings.Bob Arnson11-33/+30
Fixes https://github.com/wixtoolset/issues/issues/6901.
2022-09-09Move `Bundle/@CommandLineVariables` into Bal.wixext.Sean Hall38-197/+266
Implements 6858
2022-09-05Make sure ThmViewer can load relative paths.Bob Arnson1-2/+2
2022-09-03Add WixCanRestart and make wixstdba elevate for restart when required.Sean Hall20-76/+336
Fixes 5499