-
Notifications
You must be signed in to change notification settings - Fork 176
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
Dotnet tool should not be relied on for wixsharp. #1585
Comments
WixSharp by design relies on WiX toolchain. Thus WiX Toolset needs to be deployed on the build system. WixSharp has no runtime dependency on .NET SDK and it can fully function without it. However, it may still try to use If for whatever reason you want to build msi on a system that does not have .NET SDK installed you need to bring all WiX tools by any other means. You will also need to disable WixSharp auto-installation of WiX Tools. You can do that starting from v2.3.0 by setting the location of all WiX tools manually: WixTools.SignTool = @"<path>\signtool.exe";
WixTools.MakeSfxCA = @"<path>\WixToolset.Dtf.MakeSfxCA.exe";
WixTools.Heat = @"<path>\heat.exe";
WixTools.DtfWindowsInstaller = @"<path>\WixToolset.Dtf.WindowsInstaller.dll";
WixTools.WixToolsetMbaCore = @"<path>\WixToolset.Mba.Core.dll";
WixTools.SfxCAx64 = @"<path>\x64\SfxCA.dll";
WixTools.SfxCAx86 = @"<path>\x86\SfxCA.dll"; |
- #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
Triggered by discussion: #1582
The text was updated successfully, but these errors were encountered: