Hi, I used ::MsiProcessMessage. It is working in normal install /uninstall mode. (i.e uninstalling form Add/remove program)
If I use command line options <bootstrapper exe> /uninstall , then its suppressing all UI. And message box is not displayed in this case. Expected behavior should be , it would not show any dialog only in silent flag enabled. (i.e. <bootstrappe.exe> /uninstall /quiet. Steps done by me: I have added one MsiHandle and created custom message to be displayed on dialog. Then I use passed those msg n handle in MsiRecordString followed by ::MsiProcessMessage with INSTALLMESSAGE type as INFO. Am I doing something wrong here? with regards, KD On Sun, Aug 24, 2014 at 2:30 AM, Rob Mensching-7 [via Windows Installer XML (WiX) toolset] <ml-node+s687559n7596504...@n2.nabble.com> wrote: > Actually, after re-reading your scenario, if your CA calls > ::MsiProcessMessage() (as it should) then that should pass through to the > BA correctly. > > _______________________________________________________________ > FireGiant | Dedicated support for the WiX toolset | > http://www.firegiant.com/ > > -----Original Message----- > From: krupeshdhruv [mailto:[hidden email] > <http://user/SendEmail.jtp?type=node&node=7596504&i=0>] > Sent: Friday, August 22, 2014 11:13 PM > To: [hidden email] <http://user/SendEmail.jtp?type=node&node=7596504&i=1> > Subject: Re: [WiX-users] Getting wrong UILevel in custom action > > Thanks Rob for the help. > Which burn variable I should use? > > I do not using custom ba where I can get data from Custom class/structure. > > with regards, > KD > > > On Fri, Aug 22, 2014 at 9:43 PM, Rob Mensching-7 [via Windows Installer > XML > (WiX) toolset] <[hidden email] > <http://user/SendEmail.jtp?type=node&node=7596504&i=2>> wrote: > > > Don't use the MSI UI. Pass in a Bundle Variable to the MsiProperty. > > > > _______________________________________________________________ > > FireGiant | Dedicated support for the WiX toolset | > > http://www.firegiant.com/ > > > > -----Original Message----- > > From: krupeshdhruv [mailto:[hidden email] > > <http://user/SendEmail.jtp?type=node&node=7596490&i=0>] > > Sent: Friday, August 22, 2014 7:59 AM > > To: [hidden email] > > <http://user/SendEmail.jtp?type=node&node=7596490&i=1> > > Subject: [WiX-users] Getting wrong UILevel in custom action > > > > Hello Everyone, > > > > I am creating installer in wix 3.8 > > I have two msi created (32 and 64 bit each) > > > > I am using standard bootstrapper application to run them depending on > > platform. > > > > Problem: > > I have one custom action which is invoked in un installation. > > It checks the UI level and if it is >=5 then it will show one message > > box to user to delete one folder. > > > > Depending on users response, processing will be done. > > > > Problem: > > I am passing UILevel in customaction data , but in any un-installation > > (Add/remove, app.exe /uninstall, app.exe /quiet /uninstall) its giving > > UILevel=2. > > > > I do not have custom ba dll for bootstrapper. I am using bundle.wxs > only. > > I even tried to show message box with out checking UILevel, but its > > not getting displayed. (may be due to UILevel is set as 2). > > > > Please let me know how to handle this type of scenario? > > > > Thanks in advance. > > KD > > > > > > > > > > > > > > -- > > View this message in context: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting- > > wrong-UILevel-in-custom-action-tp7596484.html > > Sent from the wix-users mailing list archive at Nabble.com. > > > > ---------------------------------------------------------------------- > > -------- > > > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > WiX-users mailing list > > [hidden email] <http://user/SendEmail.jtp?type=node&node=7596490&i=2> > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > > -------- > > > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > WiX-users mailing list > > [hidden email] <http://user/SendEmail.jtp?type=node&node=7596490&i=3> > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the > > discussion > > below: > > > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting- > > wrong-UILevel-in-custom-action-tp7596484p7596490.html > > To unsubscribe from Getting wrong UILevel in custom action, click > > here > > <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/templat > > e/NamlServlet.jtp?macro=unsubscribe_by_code&node=7596484&code=a3J1cGVz > > aGRocnV2QGdtYWlsLmNvbXw3NTk2NDg0fDQ5NDcwNzU3Mg==> > > . > > NAML > > <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/templat > > e/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail. > > naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.templa > > te.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs= > > notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aema > > il.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-wrong-UILevel-in-custom-action-tp7596484p7596503.html > > Sent from the wix-users mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > WiX-users mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=7596504&i=3> > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > WiX-users mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=7596504&i=4> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-wrong-UILevel-in-custom-action-tp7596484p7596504.html > To unsubscribe from Getting wrong UILevel in custom action, click here > <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7596484&code=a3J1cGVzaGRocnV2QGdtYWlsLmNvbXw3NTk2NDg0fDQ5NDcwNzU3Mg==> > . > NAML > <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-wrong-UILevel-in-custom-action-tp7596484p7596545.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users