I thought the DTF custom actions had a message call that ultimately uses MsiProcessMessage(), the point being that it automatically won't show the message if the UI is missing. Maybe it's Session.Message or something like that. --------------- Phil Wilson
On Wed, Mar 19, 2014 at 11:33 AM, Harold Wood (H10 Capital) <v-wow...@microsoft.com> wrote: > If the operator does the uninstall from the control console is that a silent > uninstall? > > -----Original Message----- > From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] > Sent: Wednesday, March 19, 2014 11:19 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] UI on uninstall > > The condition should be : > > REMOVE = "ALL" AND UILevel <> "2" > > This way it wouldn't cause issues with silent installation. > > -----Original Message----- > From: Levi Wilson [mailto:l...@leviwilson.com] > Sent: Wednesday, March 19, 2014 11:05 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] UI on uninstall > > That wouldn't work for a silent installation if you did it across the > network, would it? I think you'd end up with a dialog box that you couldn't > do anything with. I could be wrong. > > > On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru > <pavan.kond...@accelrys.com>wrote: > >> Hi Harold, >> >> The uninstall cannot have standard Wix Dialogs from what I know. We >> had a similar requirement and I used a custom action (c#) to pop-up a "OK" >> message box. >> Something like this. Schedule this action only during >> uninstall(REMOVE=ALL) in the installExecute sequence. >> >> [CustomAction] >> public static ActionResult UsrDelPrompt(Session session) >> { >> string location = session["CustomActionData"]; >> session.Log(location); >> >> >> DialogResult dialogResult = MessageBox.Show(new Form() >> { TopMost = true }, "Message box content " + Environment.NewLine + >> location, "Header message for box", MessageBoxButtons.OK); >> >> return ActionResult.Success; >> } >> >> -----Original Message----- >> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] >> Sent: Wednesday, March 19, 2014 10:25 AM >> To: General discussion about the WiX toolset. >> Subject: [WiX-users] UI on uninstall >> >> I need to throw a message on the screen during uninstall. How do I do that? >> >> Thanks >> Woody >> >> ---------------------------------------------------------------------- >> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph >> Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, this >> first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> >> ---------------------------------------------------------------------- >> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph >> Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, this >> first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the > definitive new guide to graph databases and their applications. Written by > three acclaimed leaders in the field, this first edition is now available. > Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the > definitive new guide to graph databases and their applications. Written by > three acclaimed leaders in the field, this first edition is now available. > Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users