-
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
"Complete" feature gets added automatically & after installation of MSI, an empty feature folder installed even if it is not selected #1578
Comments
Hi @oleg-shilo |
Sorry @abskulkarni, Another suggestion, try set |
No problem @oleg-shilo I don't know how successful I am in explaining my root cause but it is working now. |
Actually, you are successful. :) |
Hi @oleg-shilo Lastly, since I know now root cause of my issue, how can I include sub folders in my new Files constructor or somewhere in Files object? Like below, I want sub-folders of sourceDir also to be looked up for searching file extensions. How to do that? |
This is the statement that configures WixSharp engine to fake empty directories so MSI is happy. AutoElements.SupportEmptyDirectories = CompilerSupportState.Disabled;
Compiler.AutoGeneration.IgnoreWildCardEmptyDirectories = true; I am not happy with the inline documentation for these classes so I will update it to make it clear which aspect of autogeneration each class controls. |
…oGeneration` (triggered by #1578)
I have updated the documentation. And will schedule the partial merger of |
Not sure I know what you mean, but |
In addition, the examples project is wrong/misleading. If you try to create a project with 2.1.2/2.1.7 (haven't checked 2.2.1 yet) at least, with only features, and a "default feature" which adds all those, the installer is unusable (crashes). |
- #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
@smaudet, I assume you are referring to |
@oleg-shilo No:
A) there is what I presume to be a typo and featureB is included twice (instead of A and B) on lines 30,31. |
@oleg-shilo I think I found the cause of my issue - the custom WPF UI template you include has several issues (lots of unsafe code), specifically the Nodes on Node are left null, which causes a problem when you attempt to load them...
EDIT: I have enumerated some of the issues here: #1637 |
yep, I have left the comment there for you. I think you might be missing the SHA-1: 96ff602 fix. But other problems may still be there. Will see... |
Hi @oleg-shilo
I am attaching my Wix Project (InsuranceDataRepository.zip) & source directory for it (PROPHET_IDR_Build.zip) here.
I am facing two problems:
Can you please guide me is in finding root cause & resolving these problems?
PROPHET_IDR_Build.zip
InsuranceDataRepository.zip
The text was updated successfully, but these errors were encountered: