Hi Bijay,

You can use the SpawnDialog event to show a modal dialog, add a condition to 
this action to show it conditionally. In the warning dialog you can add the 
EndDialog event to the ok button to close the dialog.

Regards,
Jeffrey Bindinga
Software Developer at CyberTech International.

-----Original Message-----
From: Bijay Agarwal [mailto:agarw...@vmware.com]
Sent: maandag 21 juni 2010 11:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to add a warning dialog?

Hi,

I have to check for the presence of a product. If the product is absent I need 
to use a warning msg and then continue the installation without exiting.

what I have done is using upgrade code I'm detecting if the product is present 
and am setting a property based on that. later I show a dialog box by using 
condition on that property. Now the problem I'm having is I need to provide 
something as publish item for the ok button of the warning dialog. I am not 
sure what is that I use there to make it a do nothing action?

Regards,
Bijay Agarwal



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


CyberTech B.V. is registered in The Netherlands, Alkmaar KvK 37.05.01.69

This message is intended for the addressee only. Unless clearly stated that 
this disclaimer should not apply,
the email is not intended to create legally binding commitments on behalf of 
CyberTech B.V.. Any unauthorised
disclosure, use or dissemination, either whole or partial, is prohibited. If 
you are not the intended recipient of the
message, please notify the sender immediately.

CyberTech B.V. email system is for business purposes only. Messages are not 
confidential. All email may be reviewed by authorised personnel.

CyberTech B.V. would kindly ask that you consider the environment before 
printing this mail


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to