-
Notifications
You must be signed in to change notification settings - Fork 182
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
WixSharp with v4 toolset not getting compiled and msi not found #1484
Comments
It means exactly what the error message says. You can install wix.exe from the command prompt with this command: After that, you will be able to build your msi. The post-build event there is for a reason. If you remove it then you will only compile the build script assembly but it will not be executed (you removed the execution command). So your msi will not be built. |
I have updated the home page to specifically describe WiX4 dependency: |
Thanks @oleg-shilo , I did what is suggested by you above. It generated msi.
|
Your Did you modify anything? Code, dialogs? You have a few troubleshooting options here:
|
I didn't change any code or dialog. I tried to build & run as it is. Also debugger is not getting attached to the process somehow. I know the process but it is not happening as expected. |
I am trying to add new project Custom dialog WiX4. It is also not getting even compiled. |
Hi @oleg-shilo
I hope I have done right and will not get any unwanted surprises while developing WiX 4 projects here after |
Great. You solved it. A few things to comment...
Usually, it is caused by the debugger not being elevated. Try to have your VS run as admin.
Yep, that is a one-off step to install the required tools.
OMG, I cannot believe it. WiX team released a broken nuget package (5.0.0-rc) and it is still not patched. Basically, you need to delete v5.0.0-rc manually and then install the working version. Until WiX team fixes the problem (it's been more than 3 weeks now) you will have to use @VietBuiHa's workaround:
|
Hi
I am trying to make Wix v4 work with WixSharp.
I added a "WixSharp custom UI (Wix v4)" project as shown below and just compiled it without any change.
Query 1: It is not getting compiled. Compile error says "
wix.exe
cannot be found. Ensure you installed it withdotnet tool install --global wix
" What does this mean? It is due to the post build event command?Query 2: If I remove post build even command, project gets compiled but there is no trace where msi file is generated. What is the issue here?
The text was updated successfully, but these errors were encountered: