Hi Rohit

How can we call a WarningDialog from custom action ?

Following is the code snippet of my wxs file which is calling WarningDialog.

        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="&amp;Next">
          <Publish Event="DoAction" Value="Check" Order="1">1</Publish>
          <Publish Event="SpawnDialog" Value="WarningDialog">WARNING =
"1"</Publish>
          <Publish Event="NewDialog" Value="Dlg2">PROCEED = "1" OR
WARNING="0"</Publish>
        </Control>

      <Dialog Id="WarningDialog" Width="260" Height="85" Title="Warning">
        <Control Id="No" Type="PushButton" X="132" Y="57" Width="56"
Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUINo)">
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="Yes" Type="PushButton" X="72" Y="57" Width="56"
Height="17" Text="!(loc.WixUIYes)">
          <Publish Property="PROCEED" Value="1">1</Publish>
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30"
NoPrefix="yes" Text="Hey Do u wish to proceed?" />
      </Dialog>
-- 
View this message in context: 
http://n2.nabble.com/Wix-UI-navigation-Help-tp4796837p4802225.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to