I'm guessing if the user presses no you want it to return not to the original
dialog but to the next dialog in the SpawnDialog chain? Sorry, MSI doesn't
support that. To do that you'd have to make this a standard interior dialog
with back/next buttons to take you to the original dialog and the
VerifyReadyDialog. To achieve the Yes/No story you would use a RadioCombo
with Yes and No options. Then on the next button you would order a DoAction
CA conditioned on the Yes option being selected followed by a NewDialog to the
VerifyReadyDialog.
Make sense?
Ben Greene <[EMAIL PROTECTED]> wrote:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}
Thanks for your help, that was exactly what I was looking for. Im
having a slight problem with my implementation though. After the question
dialog pops up, the install isnt proceeding to the next dialog, but staying on
the same dialog. I tried adding the Order attribute, but then the
AskConfigureSQL dialog didnt show at all.
Heres 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,
Ive been searching the archives trying to find out if I can do this, but I
cant find out how Id 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.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------------------------------------------------------------------
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