Publish bug #9198
Unanswered
jbester-premcloud
asked this question in
Questions
Publish bug
#9198
Replies: 2 comments 1 reply
-
|
The documentation for the Publish element says you must specify the Note: the |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks for clarifying. I assume then that the message of leaving out the
element is determined by the XML parser, not Wix itself.
…On Thu, Dec 4, 2025 at 2:24 AM Rob Mensching ***@***.***> wrote:
The documentation for the Publish element
<https://docs.firegiant.com/wix/schema/wxs/publish/> says you must
specify the Value attribute when sending an event. You can remove the
Value attribute when setting a Property attribute. This is a Windows
Installer limitation, not a WiX limitation.
Note: the Publish element, like a few of the UI elements, is a bit
overloaded. That's a throwback to WiX v1 days.
—
Reply to this email directly, view it on GitHub
<#9198 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B2YLE56VY3EF4QPYO76QFM33755KXAVCNFSM6AAAAACNLFJAQGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJVGQ3TGNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following publish element in a project:
<Publish Dialog="DatabaseConfigDlg" Control="EditInstance" Event="Enable" Value="-" Condition="DB_TYPE = SQLServer"/>If I take out the "Value" attribute, it results in error WIX0010: The Publish/@value attribute was not found.
If I set the value to an empty string, it results in error WIX0006: The Publish/@value attribute's value cannot be an empty string. If a value is not required, simply remove the entire attribute.
Clearly there is no way to have an empty string as value, since the conditions oppose one another.
Beta Was this translation helpful? Give feedback.
All reactions