Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7929363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:02:59+00:00 2026-06-03T20:02:59+00:00

I have a Wix Control PushButton which has several Publish events here is the

  • 0

I have a Wix Control PushButton which has several Publish events

here is the xml

<Control Id="Next" Type="PushButton" X="0" Y="0" Width="50" Height="20" Default="yes" Text="!(loc.WixUINext)">
  <Publish Event="SpawnDialog" Value="ErrorDialog">
    <![CDATA[PROPERTY1 = "1" AND PROPERTY2 = "1"]]>
  </Publish>
</Control>

But the dialog is not appearing even though both properties are equal to 1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T20:03:01+00:00Added an answer on June 3, 2026 at 8:03 pm

    I Found the problem pretty much straight after i posted. So am putting it here incase anyone else makes the same mistake i did.

    Straight after my publish event i had another event which was getting fired to move onto the next dialog screen

    <Publish Event="NewDialog" Value="CustomizeDlg">1</publish>
    

    so even though my error dialog should show, this next event sort of overwrites it and you dont get to see it. to stop this happening i had to write in logic to prevent it from moving on.

    <Publish Event="NewDialog" Value="CustomizeDlg">
    <![CDATA[PROPERTY1 = "1" AND PROPERTY2 = "0"]]></Publish>
    

    so now if both properties have been set it will show the error dialog, but if only the first one has been set i will move straight onto the CustomizeDlg. As long as the conditions are different and one will fail and the other pass this works a charm.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WiX (Windows installer XML) v3, project which contains references to other
I have a WiX installer which installs .Net 4 and SQL as prerequisites. All
Hi I have a Wix (Votive) Visual Studio project which creates an MSI from
I have a simple WIX installer which will install a Windows Service. I have
I have created application installer using Wix. I have a ProgressBar control present on
I have a Wix installer which should be allowed to run on Windows Server
I have a WiX installer which needs to install new bits for Interop.FOOBARLib.DLL to
I have a WIX XML document that contains 2,000+ file tags. I am trying
I have a WIX Installer project, which installs my product. The code was not
I have a WiX 3 project that has hundreds of files, and I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.