Thanks for your help, that was exactly what I was looking for. I'm having a
slight problem with my implementation though. After the question dialog pops
up, the install isn't proceeding to the next dialog, but staying on the same
dialog. I tried adding the 'Order' attribute, but then the AskConfigureSQL
dialog didn't show at all.
Here's the relevant section of my customized WixUI_Modo.wxs file:
<Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="SpawnDialog"
Value="AskConfigureSQL">1</Publish>
<Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
Can anyone offer any advice?
Thanks
From: Christopher Painter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 30 April 2008 10:25 PM
To: Ben Greene; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Asking the user a yes/no question
When would you like the Modal dialog to appear? If during the UI sequence,
just create a Dialog with Yes and No controls and call it with a SpawnDialog
ControlEvent. From the Yes control's ControlEvent you can then call a
DoAction ControlEvent to fire your CA.
If not from the UI Sequence, I don't really reccomend this since all user
input should be collected up front. Do the same thing as above only set a
PUBLIC property ( and list it in SecureCustomProperties ) and then use that
during the execute sequence to conditionally call your custom action(s) (
uninstall, install, rollback, commit )
Ben Greene <[EMAIL PROTECTED]> wrote:
Hi,
I've been searching the archives trying to find out if I can do this, but I
can't find out how I'd go about it.
I would like to be able to pop up a message box, asking the user a question,
with 'yes' and 'no' buttons.
If the user presses 'Yes', I would like a CustomAction to execute.
Is this possible?
Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.<http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users