> Are you using the latest WiX toolset?
> -----Original Message-----
> From: Wixg@googlegroups.com [mailto:Wixg@googlegroups.com] On Behalf Of
> kezhongzhou
> Sent: Monday, May 18, 2009 10:08 PM
> To: Wix - Windows Installer XML
> Subject: How to display a confirmation dialog after uninstall
> Hi, Guys,
> I'm new to WiX, and I don't know how to do that,
> just like when user has complete uninstall, pop up a dialog, saying
> "Foobar 1.0 has been successfully uninstalled".
> Any suggestions will be appreciated.
> Thanks
From: Wixg@googlegroups.com [mailto:Wixg@googlegroups.com] On Behalf Of
kezhong...@gmail.com
Sent: Tuesday, May 19, 2009 11:39 AM
To: Wixg@googlegroups.com
Subject: Re: RE: How to display a confirmation dialog after uninstall
yes, WiX 3.0. Any question on that?
On May 20, 2009 12:21am, Mike Spurlock <msspurlo...@bresnan.net> wrote:
Thanks Mike for you suggestions, I tried, but still meet some
problems.
In My dll function, I use ::MessageBox.Show() to pop up a message box.
and system("notepad.exe") to pop up a notepad window. Then in
InstallExecuteSequence
i added the action before InstallFinalize. The weird thing is I saw my
message box and notepad window during installation, but I didn't see
them in uninstallation. I tried that using uninstall in Add/Remove
Program window and command line mode with full UI option. The result
are the same. But strangely, In the log file, I saw my action invoked
both in installation and uninstallation.
By the way, I found another way of implement this, but there is a
little problem. I can add a show element in InstallUISequence, and I
saw that dialog during uninstallation. The only things is I have to
uninstall in command line mode where I can choose full UI mode.
Default action in Add\Remove Program window seems to be base UI, which
would skip entire InstallUISequence.
On May 20, 1:47 am, "Mike Spurlock" <msspurlo...@bresnan.net> wrote:
> From: Wixg@googlegroups.com [mailto:Wixg@googlegroups.com] On Behalf Of
> kezhong...@gmail.com
> Sent: Tuesday, May 19, 2009 11:39 AM
> To: Wixg@googlegroups.com
> Subject: Re: RE: How to display a confirmation dialog after uninstall
> yes, WiX 3.0. Any question on that?
> On May 20, 2009 12:21am, Mike Spurlock <msspurlo...@bresnan.net> wrote:
> > Are you using the latest WiX toolset?
> > -----Original Message-----
> > From: Wixg@googlegroups.com [mailto:Wixg@googlegroups.com] On Behalf Of
> > kezhongzhou
> > Sent: Monday, May 18, 2009 10:08 PM
> > To: Wix - Windows Installer XML
> > Subject: How to display a confirmation dialog after uninstall
> > Hi, Guys,
> > I'm new to WiX, and I don't know how to do that,
> > just like when user has complete uninstall, pop up a dialog, saying
> > "Foobar 1.0 has been successfully uninstalled".
I get it, I use the wrong attribute for custom action. When I change
my CustomAction definition 's Execute="commit" to Execute="immediate",
then I saw my messagebox show up.
Now my problem is half solved. Use custom action, I can show up a
Dialog even in baseUI mode.
The remaining question is should I use a custom action to show the
window, or Use a show element in InstallUISequence to bring up a
dialog. Using Wix Dialog feels more consistent with Installatino
Dialogs. But there is a baseUI problem. In the other hand, If i use
custom action in dll, I must use a certain language, while I could use
wxl to locolize text in my ExitDialog if using wix dialog.
On May 20, 1:47 am, "Mike Spurlock" <msspurlo...@bresnan.net> wrote:
> From: Wixg@googlegroups.com [mailto:Wixg@googlegroups.com] On Behalf Of
> kezhong...@gmail.com
> Sent: Tuesday, May 19, 2009 11:39 AM
> To: Wixg@googlegroups.com
> Subject: Re: RE: How to display a confirmation dialog after uninstall
> yes, WiX 3.0. Any question on that?
> On May 20, 2009 12:21am, Mike Spurlock <msspurlo...@bresnan.net> wrote:
> > Are you using the latest WiX toolset?
> > -----Original Message-----
> > From: Wixg@googlegroups.com [mailto:Wixg@googlegroups.com] On Behalf Of
> > kezhongzhou
> > Sent: Monday, May 18, 2009 10:08 PM
> > To: Wix - Windows Installer XML
> > Subject: How to display a confirmation dialog after uninstall
> > Hi, Guys,
> > I'm new to WiX, and I don't know how to do that,
> > just like when user has complete uninstall, pop up a dialog, saying
> > "Foobar 1.0 has been successfully uninstalled".