-
Notifications
You must be signed in to change notification settings - Fork 24
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
Firewall extension support for all Windows Vista+ firewall properties #7694
Comments
I've made the assumption (possibly incorrect) that if all columns added to the firewall extension table are optional, and all new firewall extension compiler properties are optional, the prefix can remain at WiX4 ?? Existing code (ie. wxs files) containing firewall exceptions should re-compile after updating to the WiX5 firewall extension without making any changes. And the same assumption applies if changing an existing column from not nullable to nullable. |
One thing I would like to get some guidance on: The Name column in the Microsoft recommends that firewall rule names should be unique, and if this guidance is followed, there is no issue. However, firewall rules are looked up by their name for any repairs and modifications and this can cause issues when the unique name guidance is not adhered to. When a package is repaired or modified, the firewall CA needs to be able to look up the old name, because the current name might be different. A new firewall rule would be created otherwise. What's a good/preferred strategy to store a firewall rule name when the firewall rule is first created, or later modified? |
Also, what criteria do I use to select the correct |
@chrisbednarski It's possible to mix a WiX v4 merge module with a WiX v5 MSI, so the table names probably have to change to avoid conflicts in that case. The other side is to decide on a policy: Do we want to bump the number quickly or only if it's vital? If the name is formatted, you can't know what it will be until runtime, so to store the original formatted name on the system somehow. It's not documented to be formatted; as this is essentially an id, maybe it shouldn't be at all. Modularization is for columns that hold ids/keys and need a modularization guid applied in merge modules. Some ids require special handling; |
If the table name is bumped to v5, will the namespace have to be changed from I'm all for keeping things backwards compatible if possible. Especially for developers, who update to V5 and just try to rebuild their projects. One breaking change will obviously be the removal of Windows XP support. But that's more of a functional change, and will not affect the rebuild process as far as I can tell.
Yes, that's exactly what I meant. The name has to be "crystalized" somewhere at runtime, each time a firewall rule is created or updated. So I'm not sure if keeping the crystalized firewall rule name in the
As I'm understanding this, it's important to get the column modularization types right for the benefit of the next version. |
That's a separate but related issue. So far, nothing planned for WiX v5 is a breaking language change, so we could keep the namespace the same. So far.
It would -- but that's not possible. (You can add temporary rows only.) So you'd need to use the registry or file system and deal with all the associated hassles. I'm thinking it shouldn't be formatted...
Matters for the current version too. If it's an id, it's typically
Agreed! And I'm not aware of any. The current |
OK.. I'll add that to the list of breaking changes and will remove the formatting from the name column. And I think it will be wise to change the table name from |
Cool (x2)! |
I have some suggestions, which would be breaking changes, that I'd like to get your input on.
This would be a breaking change if V4 firewall exception is simply re-compiled in V5 without adding
In my first PR I made this conditional, but I'd like to suggest this as the new default behavior. Hence the breaking change. The exception to this would be the |
Breaking changes are definitely doable in a major version change. But typically, major version changes in WiX have meant a trip through Wixcop/ |
TRIAGE, please opine on the following:
|
We should update the namespace if there are behavior changes (and that can be at the extension level). Likewise with prefixes: it's OK if they change per-extension. |
Feature request
Benefits:
Describe how you're accomplishing the feature today (if possible):
Breaking changes:
Non-breaking changes:
The text was updated successfully, but these errors were encountered: