-
Notifications
You must be signed in to change notification settings - Fork 177
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
Unable to use CustomAction - "No CA or UI entry points found in module" #1624
Comments
I assume you are referring to the WixSharp template, not just a console app. Right? But the real problem is your And, if you use the template the the class will be already public. so the user cannot make this mistake. |
Ahh, of course! Thank you!! Yes, I am referring, specifically to the project template named "WixSharp Setup (WiX4)" and I did use that template to create both projects. OK, the Program class in my other project is marked internal and it works just fine, but the reason it works is because it isn't using Custom Actions. I see now. Under the covers, the Custom Actions must be built using a separate assembly so the one loses access to the other. Thank you very much! So I guess the real question is why does the Program class get a an "internal" designation when using that project template? |
It is a mistake. It should be public. Fixed now. As for internal... it's interesting... I checked. And if I change the public to internal for the |
Makes sense. Thank you! Feel free to close whenever it makes sense for you issue/release management process. |
- Remove Caliburn.Micro dependency for WPF UI - #1638: Simplify Custom UI - #1641: How to set or use Launchcondition Action in Wix# - #1613: Hidden child features in FeaturesDialog.UserSelectedItems - #1604: Some strings in Dialogs from .wxl are not replaced in Custom WPF UI - #1637: Custom WPF FeaturesDialog (possibly default too) non-functional. - Improved VSTemplates. Triggered by #1624 - Updated VS project Templates for supporting Caliburn.Micro removal
Hi, thank you for putting this great project together! I did a comprehensive writeup of what I'm seeing here:
https://stackoverflow.com/questions/78938862/how-to-compile-wixsharp-managed-actions
I'm running Visual Studio 2022 with the latest updates. Repro steps are:
Compilation will fail. I cannot figure out how to make these work nor the BinaryFileAction from the Samples to work.. Either will do. This is a very stripped down example I'm working with. The larger project uses all kinds of things including Dir, File, CreateUser, Registry Entries, Firewall ports, and more. All of that works. The ever elusive, yet powerful CustomAction continues to evade me.
Here's the full text of the error:
Can someone please tell me why this won't even build? The CustomActions sample project looks like it might be outdated. It's also confusing because it creates a "Binaries" array, which appears to be completely pointless. Just creating a new Id does not seem to make it usable in the project. That throws errors as well.
The text was updated successfully, but these errors were encountered: