[wix-users] Message Box in Wix Control & Custom Action
Ven H
venh.123 at gmail.com
Tue Apr 3 10:43:17 PDT 2018
So, is it possible to display it from within a UI Dialog Control like Push
button itself, with or without a condition? If so, please explain.
Regards,
Venkatesh
On Tue, Apr 3, 2018 at 11:06 PM, Hoover, Jacob via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> I would strongly advise against a CA using a UI... How are you going to
> handle the myriad of different modes (Quiet, Silent, etc)? The proper way
> is to use session.Message to request a prompt from Windows Installer,
> however: https://msdn.microsoft.com/en-us/library/windows/desktop/
> aa368322%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Habib Salim via wix-users
> Sent: Tuesday, April 3, 2018 12:27 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Habib Salim <habib at hsalim.com>
> Subject: Re: [wix-users] Message Box in Wix Control & Custom Action
>
> Microsoft.Windows.Forms
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Ven H via wix-users
> Sent: Tuesday, April 03, 2018 1:25 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Ven H <venh.123 at gmail.com>
> Subject: Re: [wix-users] Message Box in Wix Control & Custom Action
>
> To provide a little more info, I am using a C# Custom Action. Also, I
> tried MessageBox.Show("String value") inside the Custom Action, but it
> *doesn't *compile the Custom Action project in VS. Not sure, what namespace
> or Assembly reference is missing.
>
> Also, I am not sure how to display a Message Box from within a UI Dialog
> without Custom Action. Please help.
>
> Regards,
> Venkatesh
>
> On Tue, Apr 3, 2018 at 10:16 PM, Ven H <venh.123 at gmail.com> wrote:
>
> > I have a UI dialog with a Control of type Push button. Is it possible
> > to display a Message Box with a custom message based on a condition
> > and also without a condition? (not from a Custom Action). If yes,
> > please provide a sample.
> >
> > Is it possible to display a Message Box from a Custom Action which
> > will be invoked on a Push button click in a Control of a UI dialog? If
> > yes, please provide a sample
> >
> > Please help.
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list