Open NJullienSweet opened 2 months ago
@NJullienSweet Thank you for letting me know that. I've started to investigate this case now.
Hi @NJullienSweet,
I ran into another error. When I executed the WixSharpSetup.exe
after I had installed the Wix version 4.0.3, it said, " Cannot find WiX extension 'WixToolset.UI.wixext'".
I executed the wix.exe extension add -g WixToolset.UI.wixext
command and retried again, but nothing could be improved. I'm sticking right now.
Hi @NJullienSweet,
When I tried again after updating Wix to version 5.0.1, no errors occurred. Please also see the recording below.
https://github.com/user-attachments/assets/e985f1bc-3317-4569-b9bc-ed06940d201c
https://github.com/user-attachments/assets/aa95612e-8fee-40c3-88e4-d2b7c402d025
Could you try again after updating the Wix version? (I installed the Wix by executing the following command: dotnet tool install --global wix --version 5.0.1
)
Thanks for your answer. After upgrading to Wix 5.0.1, I still get the same error on my end. Did you by any chance perform any other command, given that you had this other problem earlier?
@NJullienSweet
Did you by any chance perform any other command
No I didn't, except dotnet tool install --global wix --version 4.0.3
, wix.exe extension add -g WixToolset.UI.wixext
, and dotnet tool install --global wix --version 5.0.1
, as I mentioned before.
I'll retry these reproduction steps again on my clean-installed Windows virtual machine. But I have other priority tasks these days, so please wait a few days or a week. Thank you for your patience.
Hi @NJullienSweet, After my investigation, the error you run into may be caused by a too-long path. Could you try one of the options below?
C:\work
.P.S. I guess it is the limitation of Wix, not a "Blazor HotKey2" library's matter.
Description:
I'm encountering an issue when trying to build an MSI for a Maui Blazor Hybrid project using WixSharp after including the Toolbelt.Blazor.HotKeys2 NuGet package.
Steps to Reproduce:
dotnet publish -c=Release -f net8.0-windows10.0.19041.0 -p:WindowsPackageType=None
3e27b24bb227b61bfd3d6814f6b790446c96b5ee
)MauiBlazorHotKeys2PublishBug/MauiBlazorHotKeys2PublishBug/bin
folder as a precautionExpected Behavior:
The WixSharp project should successfully build the MSI and include all necessary dependencies, including Toolbelt.Blazor.HotKeys2.
Actual Behavior:
The WixSharp build fails with the following error:
Additional Information:
Possible Cause:
It seems WixSharp might be having trouble locating the Toolbelt.Blazor.HotKeys2 dependency during the MSI build process. I saw someone else had here having a problem with this GetProperty script. Maybe it is related?