wixsharp

Framework for building a complete MSI or WiX source code by using script files written with C# syntax.

MIT License

Stars
1.1K
Committers
52

Bot releases are hidden (Show)

wixsharp - Wix4 Release v2.3.1.0 Latest Release

Published by oleg-shilo 3 months ago

Wix4 Release v2.3.1.0s the

The most significant change in this release is the ability to use build dependencies not available in the default WiX locations:

WixTools.SignTool = @"tools\signtool.exe";
WixTools.MakeSfxCA = @"tools\WixToolset.Dtf.MakeSfxCA.exe";
WixTools.Heat = @"tools\heat.exe";
WixTools.DtfWindowsInstaller = @"tools\WixToolset.Dtf.WindowsInstaller.dll";
WixTools.WixToolsetMbaCore = @"tools\WixToolset.Mba.Core.dll";
WixTools.SfxCAx64 = @"tools\x64\SfxCA.dll";
WixTools.SfxCAx86 = @"tools\x86\SfxCA.dll";
WixTools.WixExtensionsDir = @"%userprofile%\.nuget\packages";

Changes:

  • #1574: Cannot build .net 8 example project
  • #1587 Support for pulling in dlls for runtime dependencies
  • VSTemplates update. Added warning message about project.GUID. Triggered by #1597 Contributed by @fredemmott
  • Added error handling to continue execution if WiX extension is not installed. The error will still be reported by the WiX compiler
  • Added Project.AddCastomActionRefAssembliesOf to add CA-referenced assemblies programmatically.
wixsharp - Release v2.3.0.0

Published by oleg-shilo 3 months ago

  • #1580 Shortcut "Target" produces unexpected results for many supported WiX environment constants
  • #1574: Cannot build .net 8 example project (NET-Core)
  • #1546: dotnet tool install --global wix - Need for all users
  • #1585: Dotnet tool should not be relied on for wixsharp.
    Added error logging on dotnet or wix not found.
  • Added error log for failure to find WiX extension. Triggered by #1574, #1589
  • Improved the documentation for AutoElements and Compiler.AutoGeneration (triggered by #1578)
  • #7591: added WiX5 Custom BA sample (<wixsharp>\Source\src\WixSharp.Samples\Wix# Samples\Bootstrapper\WiX5-Spike\WixToolset.WixBA)
  • added missing SilentBA for WixSharp.Core
  • fixed problem with SetShellSize not setting the top level window size
wixsharp - Release v2.2.0.0

Published by oleg-shilo 4 months ago

Note, this product version v2.2.0 binaries are packaged in the Nuget packages that has one extra increment of the Patch version component - v2.2.1. This is due to the nuget packge being rereleased to address the packaging problem.


##Changes:

  • Implemented MsiExePackage. Triggered by #1554
    The dedicated sample WixBootstrapper_MsiEmbeddedUI shows how to use it

    var bootstrapper =
          new Bundle("Managed Product Bundle",
                      new MsiExePackage(msi)
                      {
                          Name = "ManagedProduct",
                      });
    
  • Issue #1557: Error when specifying Package Platform as ARM64

  • Added restart elevated routine for custom BA sample

  • Added WixProject.WixBuildCommandGenerated event. Can be used to manipulate wix.exe command line arguments. Triggered by #1557

  • Added CommonTasks.MapAsDeferredProperty extension method:

    project.MapAsDeferredProperty("MYPROPERTY");
    // instead of
    project.DefaultDeferredProperties += ",MYPROPERTY";
    
  • Added string.CompleSelfHostedMsi extension for building self executable msi files:

    msi.CompleSelfHostedMsi(msi + ".exe");
    
  • added calling dotnet tool restore when using wix as a local tool. Triggered by #1546

wixsharp - WiX4 - Release v2.1.7.0

Published by oleg-shilo 5 months ago

Special thanks to @geghamyan for contributing Project.SignAllFiles functionality.

NOTE, Project.SignAllFiles=false by default but it will be changed to Project.SignAllFiles=true in the next release.

  • Added file signing functionality to the project build process (Project.SignAllFiles).
  • Added WiX5 new attributes (known at the time) for FirewallException'
  • Issue #1533: Allow specifying the Group name when adding a FirewallException
  • WixSharp.Core: Added EmbeddedUI sample solution
wixsharp - WiX3: Release v1.25.3.0

Published by oleg-shilo 5 months ago

Special thanks to @geghamyan for contributing Project.SignAllFiles functionality.

NOTE, Project.SignAllFiles=false by default but it will be changed to Project.SignAllFiles=true in the next release.

  • Added file signing functionality to project build process (Project.SignAllFiles).
  • fixed an accidental recursion in AsWixVarToPath
  • Issue #1490: Missing images in Managed WPF UI
  • Updated WixSharp.wix.bin.3.14.1.nupkg
wixsharp - Wix4: Release - v2.1.6.0

Published by oleg-shilo 6 months ago

  • #1503: %AppData% folder no replace by path wix4
  • #1493: Question : Make Wix# Wix Toolset v5 compatible
  • #1491: How to set title and description for CustomDialogWith<T>
  • #1310: Problem during dynamic localization
  • Enhancement #1497: MSI language
  • Improved algorithm for locating compatible version of installed WiX extension file.
  • Added extension method for reading localized strings from wxl files: product.LocalizationFile.GetLocalizedString("ProductName")
wixsharp - Wix4: Release v2.1.5.0

Published by oleg-shilo 7 months ago

NET Framework:

  • #1473: Build error with WixToolset.UI.wixext
  • Issue #1444: wix.exe not found if installed as local tool
  • minor improvements triggered by #1469

NET Core (v2.1.3.0):

  • added project templates
  • improved error reporting during compilation.
  • added full CustomUI sample (to be used as a template)
wixsharp - WiX4: Release v2.1.4.0 (.NET Core only)

Published by oleg-shilo 7 months ago

  • Issue #1444: wix.exe not found if installed as local tool
wixsharp - NetCore: Release v2.1.3.0

Published by oleg-shilo 8 months ago

This release specifically delivers .NET Core Visual Studio integration. No functionality changes comparing to v2.1.2.


  • added project templates
  • improved error reporting during compilation.
  • added full CustomUI sample
wixsharp - WiX4-Release v2.1.2.0

Published by oleg-shilo 8 months ago

  • NetCore: added integration of the NET-Core setup project with NET-Fx UI projectVS infrastructure.
  • Issue #1464: Installer crashes when using custom UIs with Features
  • Issue #1460: Add -sw1026 to default Wix4 argument options?
  • Added Compiler.SuppressAotWarnings property
  • Issue #1459: ShortCut Icon Tooltip
wixsharp - WiX3-Release v1.25.2.0

Published by oleg-shilo 8 months ago

  • #1464: Installer crashes when using custom UIs with Features
  • #1460: Add -sw1026 to default Wix4 argument options?
  • #1459: ShortCut Icon Tooltip
  • #1406: Multi-language improvement
  • Added ManagedAction for CA implemented as native DLLs (e.g. AOT assemblies). Triggered by proposal #1456
wixsharp - WiX4: Release v2.1.1.0

Published by oleg-shilo 8 months ago

  • Issue #1406: Multi-language improvement
  • Issue #1462: ProgressText with WiX 4
  • Issue #1463: Unable to find dotnet when building with dotnet cli
  • Issue #1460: Add -sw1026 to default Wix4 argument options?
  • PR #1461 from klokkenman1/wix-v4-master
    Add sw1026 to WixOptions
  • Proposal #1456: Using PublishAot instead of SfxCA for custom actions
  • Support for CA compiled with .NETCore (AOT)
  • Added support for .NET Core projects (pre-release NuGet package)
    See https://github.com/oleg-shilo/wixsharp/blob/wix-v4-master/Source/src/NET-Core

Contributors:

wixsharp - WiX3-Release v1.25.0.0

Published by oleg-shilo 8 months ago

  • #1446: Catch all exceptions in managed WinForms UI
  • Added sample for #1449
  • #1421 Update Text (Dialog title) on view title change (@PatrickHofman)
  • Proposal #1263: Signing using JSign or other alternatives
wixsharp - WiX4: Release v2.1.0.0

Published by oleg-shilo 8 months ago

  • #1446: Catch all exceptions in managed WinForms UI
  • #1444: wix.exe not found if installed as local tool
  • #1436: NuGet config variable "globalPackagesFolder" is ignored
  • #1428: [Question] SetNetPrerequirements to NET 7 or better
    Updated SetNetPrerequirements to allow using new WiX4 DotNetCompatibilityCheck
  • #1436: NuGet config variable "globalPackagesFolder" is ignored
  • Proposal #1263: Signing using JSign or other alternatives
  • Added bool None<TSource>(this IEnumerable<TSource> source, ...) extension method
  • Fixed accidental renaming of DigitalSignature1->DigitalSignature
wixsharp - WiX4: Release v2.0.5.0

Published by oleg-shilo 9 months ago

  • Feature condition support in managed UI #1430
  • Added support for condition evaluation and custom installlevel settings.
  • Issue #1431: Hidden NullReferenceException in Extensions.GetEmbeddedData
  • Enhancement #1401: Can't mark the directory as permanent
wixsharp - WiX4-Release v2.0.4.0

Published by oleg-shilo 9 months ago

  • #1363: Shortcut to Dir/Folder
  • #1398: Underscore in String Id in wxl breaks localization
  • reverted experimental change for x86 bitness of WixSharp.UI. Now it's back to AnyCPU but SilentUI BA will no longer work. It's acceptable as it's better to set x86 on the user codebase (e.g. custom BA) than on generic lib (WixSharp.UI) and put bitness pressure on all users of this lib.
  • WarnOnOutputPathCollision changed from Warning to Error (continuation of #1384).
  • Extended cascading Project.Platform to RegistrySearch (triggered by #1390 discussion).
wixsharp - WiX3-Release v1.24.2.0

Published by oleg-shilo 9 months ago

  • WiX3: improvements triggered by #1424
  • Feature condition support in managed UI #1430
  • Added support for condition evaluation and custom installlevel settings.
  • Issue #1405: Can't make LookupInstalledVersion work
  • added test case for Issue #1403
  • updated the WPF BA sample to show the solution for #1400
  • Enhancement #1401: Can't mark directory as permanent
wixsharp - WiX3-Release v1.24.1.0

Published by oleg-shilo 9 months ago

SHA-1: dc5717d2a19f8ff12d5dd06f659aab473ef54d46

  • #1363: Shortcut to Dir/Folder
  • #1398: Underscore in String Id in wxl breaks localization
  • reverted experimental change for x86 bitness of WixSharp.UI. Now it's back to AnyCPU but SilentUI BA will no longer work. It's acceptable as it's better to set x86 on the user codebase (e.g. custom BA) than on generic lib (WixSharp.UI) and put bitness pressure on all users of this lib.
  • WarnOnOutputPathCollision changed from Warning to Error (continuation of #1384).
  • Extended cascading Project.Platform to RegistrySearch (triggered by #1390 discussion).
wixsharp - WiX4: Release v2.0.3.0

Published by oleg-shilo 11 months ago

  • Release WixSharp.VSIX v2.1.0
    • Made split on WiX3 vs WiX4 templates
    • Added Bootstrapper Custom BA templates
  • WarnOnOutputPathCollision changed from Warning to Error (continuation of #1384).
  • Extended cascading Project.Platform to RegistrySearch (triggered by #1390 discussion).
  • Issue #1392: Is it possible to inherit wxl files using managed UI?
  • Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
  • Added handling new WiX constant PFiles (same as old ProgramFilesFolder)
  • added WixStandardBootstrapperApplication.AddPayload
  • #1387: Cannot update to latest Caliburn.Micro
  • #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
  • #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
  • #1382: Package (all child elements of Chain) need to have the After field added
  • #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
  • #1381: ExePackage needs to have the Protocol field implemented
  • #1372: Creating a FileAssociation with Icon and Advertised = false does not work
  • #1373: Need a clearer reason for the following Build exception: "System.NullReferenceException: Object reference not set to an instance of an object."
  • Added ensuring project.OutDir exists.
  • Updated WixToolset.Dtf.WindowsInstaller to the latest version
  • WarnOnOutputPathCollision changed from Warning to Error (continuation of #1384).
  • Extended cascading Project.Platform to RegistrySearch (triggered by #1390 discussion).
wixsharp - WiX3-Release v1.24.0.0

Published by oleg-shilo 11 months ago

v1.24.0.0

  • Issue #1392: Is it possible to inherit wxl files using managed UI?
  • Issue #1389: Multi language installer intermediate .msi not found error
  • Issue #1387: Cannot update to latest Caliburn.Micro
  • Issue #1384: When the bootstrapper.Build API uses the same name as the project, then misleading compile warnings are issued
  • Issue #1382: Package (all child elements of Chain) need to have the After field added
  • Issue #1383: Package (all child elements of Chain) need to have the SuppressSignatureVerification field added
  • Issue #1381: ExePackage needs to have the Protocol field implemented
  • Issue #1379: A way (Or create an example) of how to create a standalone fragment and insert into Projects / chains / etc
  • Issue #1377: WixSharp.wix.bin nuget references a url which is no longer available
  • Issue #1372: Creating a FileAssociation with Icon and Advertised = false does not work
  • Validation of the CPU architecture for the custom BA assembly.
  • Updated default BootstrapperCore.config content
  • Updated WixBootstrapper_UI sample to demonstrate how to use the WinForm-based custom BA (#1386)
  • Added support for ManagedUI to foll back on the stock WXL if one was not supplied by the user for non-English languages
  • Added WXL and theme files to be used in WixSharp.wix.bin package.
  • Added support for ManagedUI to fall back on the stock WXL if one was not supplied by the user for non-English languages
  • Improved multi-language sample
  • Updated project templates to comment out webref package for bootstrapper template
  • Added WixStandardBootstrapperApplication.AddPayload

v1.23.0.0

  • NuGet packages are updated to .NET Framework v4.6.2; v4.5.1 assemblies are also included in the package
  • Issue #1366: What is the purpose of StartArguments in the .targets file (see linked code)
  • Issue #1358: XML exception when run CustomMSIDialog sample
  • Issue #1328: Strange focus on the taskbar
  • Issue #1326: Library erased after update
  • Added Tasks.UnelevateAfterInstallEvent
  • Added Session.PersistData for securely persisting data between sessions; Triggered by Issue #1029.
  • Updated MajorUpgrade sample