Re: [WiX-users] uI on silent uninstall

2014-03-25 Thread sergey.s.betke
what message type You used for session.message?






С уважением,
Бетке Сергей Сергеевич.





От: Phil Wilson
Отправлено: ‎пятница‎, ‎21‎ ‎марта‎ ‎2014‎ г. ‎20‎:‎54
Кому: General discussion about the WiX toolset.





 I'm not sure - I was under the impression that calls that that
ultimately ended up as MsiProcessMessage calls wouldn't show at
uninstall, but by now I'm probably just totally confused :)
---
Phil Wilson


On Fri, Mar 21, 2014 at 9:36 AM,  sergey.s.be...@yandex.ru wrote:
 I make small test jscript custom action with Session.Message, and I can see 
 message box on uninstall. But when I set msi options to disable UI - I can't 
 see message box. Where is the problem?






 С уважением,
 Бетке Сергей Сергеевич.





 От: Phil Wilson
 Отправлено: пятница, 21 марта 2014 г. 20:12
 Кому: General discussion about the WiX toolset.





 In the general context of showing messages during MSI activities
 session.message (aka MsiProcessMessage) is the correct answer. In the
 context of this particular issue of showing a message during uninstall
 it isn't the required answer because uninstall shows no UI and
 therefore session.message won't show a message. As someone noted
 before, Windows really doesn't want to show much UI during uninstall.
 ---
 Phil Wilson


 On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?



 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave
 --
 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


Re: [WiX-users] uI on silent uninstall

2014-03-25 Thread Pavan Konduru
I think Woody used a warning message. Here is the block of code he had sent:

[CustomAction]
public static ActionResult UninstallMessage(Session session)
{
if (session == null)
{

logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
}

// This is just to display a message box that informs the user that 
they will have to remove the databases manually 
string notificationMessage = Resources.DatabaseNotRemoved;
session.Log(notificationMessage);

Record record = new Record();
record.FormatString = notificationMessage;
session.Message(InstallMessage.Warning, record);

return ActionResult.Success;
}

-Original Message-
From: sergey.s.be...@yandex.ru [mailto:sergey.s.be...@yandex.ru] 
Sent: Tuesday, March 25, 2014 1:04 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

what message type You used for session.message?






С уважением,
Бетке Сергей Сергеевич.





От: Phil Wilson
Отправлено: ‎пятница‎, ‎21‎ ‎марта‎ ‎2014‎ г. ‎20‎:‎54
Кому: General discussion about the WiX toolset.





 I'm not sure - I was under the impression that calls that that ultimately 
ended up as MsiProcessMessage calls wouldn't show at uninstall, but by now I'm 
probably just totally confused :)
---
Phil Wilson


On Fri, Mar 21, 2014 at 9:36 AM,  sergey.s.be...@yandex.ru wrote:
 I make small test jscript custom action with Session.Message, and I can see 
 message box on uninstall. But when I set msi options to disable UI - I can't 
 see message box. Where is the problem?






 С уважением,
 Бетке Сергей Сергеевич.





 От: Phil Wilson
 Отправлено: пятница, 21 марта 2014 г. 20:12
 Кому: General discussion about the WiX toolset.





 In the general context of showing messages during MSI activities 
 session.message (aka MsiProcessMessage) is the correct answer. In the 
 context of this particular issue of showing a message during uninstall 
 it isn't the required answer because uninstall shows no UI and 
 therefore session.message won't show a message. As someone noted 
 before, Windows really doesn't want to show much UI during uninstall.
 ---
 Phil Wilson


 On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO
 /BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?



 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave
 --
  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

Re: [WiX-users] uI on silent uninstall

2014-03-25 Thread Harold Wood (H10 Capital)
Source code for the method :

[CustomAction]
public static ActionResult UninstallMessage(Session session)
{
if (session == null)
{

logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
}

// This is just to display a message box that informs the user that 
they will have to remove the databases manually 
string notificationMessage = Resources.DatabaseNotRemoved;
session.Log(notificationMessage);

Record record = new Record();
record.FormatString = notificationMessage;
session.Message(InstallMessage.Warning, record);

return ActionResult.Success;
}

-Original Message-
From: sergey.s.be...@yandex.ru [mailto:sergey.s.be...@yandex.ru] 
Sent: Tuesday, March 25, 2014 1:04 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

what message type You used for session.message?






С уважением,
Бетке Сергей Сергеевич.





От: Phil Wilson
Отправлено: ‎пятница‎, ‎21‎ ‎марта‎ ‎2014‎ г. ‎20‎:‎54
Кому: General discussion about the WiX toolset.





 I'm not sure - I was under the impression that calls that that ultimately 
ended up as MsiProcessMessage calls wouldn't show at uninstall, but by now I'm 
probably just totally confused :)
---
Phil Wilson


On Fri, Mar 21, 2014 at 9:36 AM,  sergey.s.be...@yandex.ru wrote:
 I make small test jscript custom action with Session.Message, and I can see 
 message box on uninstall. But when I set msi options to disable UI - I can't 
 see message box. Where is the problem?






 С уважением,
 Бетке Сергей Сергеевич.





 От: Phil Wilson
 Отправлено: пятница, 21 марта 2014 г. 20:12
 Кому: General discussion about the WiX toolset.





 In the general context of showing messages during MSI activities 
 session.message (aka MsiProcessMessage) is the correct answer. In the 
 context of this particular issue of showing a message during uninstall 
 it isn't the required answer because uninstall shows no UI and 
 therefore session.message won't show a message. As someone noted 
 before, Windows really doesn't want to show much UI during uninstall.
 ---
 Phil Wilson


 On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO
 /BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?



 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave
 --
  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

Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread sergey.s.betke
it isn’t official note from Microsoft. sample code for jscript custom action:

https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/BDECustomActions.js


For simple message box jscript Session.Message is optimal solution, why not?








С уважением,
Бетке Сергей Сергеевич.





От: David Connet
Отправлено: ‎четверг‎, ‎20‎ ‎марта‎ ‎2014‎ г. ‎18‎:‎02
Кому: General discussion about the WiX toolset.





On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

Dave

--
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


Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread Phil Wilson
In the general context of showing messages during MSI activities
session.message (aka MsiProcessMessage) is the correct answer. In the
context of this particular issue of showing a message during uninstall
it isn't the required answer because uninstall shows no UI and
therefore session.message won't show a message. As someone noted
before, Windows really doesn't want to show much UI during uninstall.
---
Phil Wilson


On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?








 С уважением,
 Бетке Сергей Сергеевич.





 От: David Connet
 Отправлено: четверг, 20 марта 2014 г. 18:02
 Кому: General discussion about the WiX toolset.





 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave

 --
 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


Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread sergey.s.betke
I make small test jscript custom action with Session.Message, and I can see 
message box on uninstall. But when I set msi options to disable UI - I can’t 
see message box. Where is the problem?






С уважением,
Бетке Сергей Сергеевич.





От: Phil Wilson
Отправлено: ‎пятница‎, ‎21‎ ‎марта‎ ‎2014‎ г. ‎20‎:‎12
Кому: General discussion about the WiX toolset.





In the general context of showing messages during MSI activities
session.message (aka MsiProcessMessage) is the correct answer. In the
context of this particular issue of showing a message during uninstall
it isn't the required answer because uninstall shows no UI and
therefore session.message won't show a message. As someone noted
before, Windows really doesn't want to show much UI during uninstall.
---
Phil Wilson


On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?



 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave
--
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


Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread Phil Wilson
 I'm not sure - I was under the impression that calls that that
ultimately ended up as MsiProcessMessage calls wouldn't show at
uninstall, but by now I'm probably just totally confused :)
---
Phil Wilson


On Fri, Mar 21, 2014 at 9:36 AM,  sergey.s.be...@yandex.ru wrote:
 I make small test jscript custom action with Session.Message, and I can see 
 message box on uninstall. But when I set msi options to disable UI - I can't 
 see message box. Where is the problem?






 С уважением,
 Бетке Сергей Сергеевич.





 От: Phil Wilson
 Отправлено: пятница, 21 марта 2014 г. 20:12
 Кому: General discussion about the WiX toolset.





 In the general context of showing messages during MSI activities
 session.message (aka MsiProcessMessage) is the correct answer. In the
 context of this particular issue of showing a message during uninstall
 it isn't the required answer because uninstall shows no UI and
 therefore session.message won't show a message. As someone noted
 before, Windows really doesn't want to show much UI during uninstall.
 ---
 Phil Wilson


 On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?



 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave
 --
 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


Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread Harold Wood (H10 Capital)
I setup a custom action that only executes during uninstall, the custom action 
code then uses the session.message function with the message type set to 
warning.  This displays the message text I supply in the record. It works 
great!  I thank everyone that supplied suggestions, they gave me the direction 
I needed to get that task done.

Again, Thanks everyone.

Woody

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Friday, March 21, 2014 9:12 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

In the general context of showing messages during MSI activities 
session.message (aka MsiProcessMessage) is the correct answer. In the context 
of this particular issue of showing a message during uninstall it isn't the 
required answer because uninstall shows no UI and therefore session.message 
won't show a message. As someone noted before, Windows really doesn't want to 
show much UI during uninstall.
---
Phil Wilson


On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/
 BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?








 С уважением,
 Бетке Сергей Сергеевич.





 От: David Connet
 Отправлено: четверг, 20 марта 2014 г. 18:02
 Кому: General discussion about the WiX toolset.





 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave

 --
  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


Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread Phil Wilson
That might be the detail that makes the difference - messaget types of
error and warning are shown by Session.Message and equivalents, but
perhaps not the ones that resolve to INSTALLMESSAGE_USER.
---
Phil Wilson


On Fri, Mar 21, 2014 at 11:22 AM, Harold Wood (H10 Capital)
v-wow...@microsoft.com wrote:
 I setup a custom action that only executes during uninstall, the custom 
 action code then uses the session.message function with the message type set 
 to warning.  This displays the message text I supply in the record. It works 
 great!  I thank everyone that supplied suggestions, they gave me the 
 direction I needed to get that task done.

 Again, Thanks everyone.

 Woody

 -Original Message-
 From: Phil Wilson [mailto:phildgwil...@gmail.com]
 Sent: Friday, March 21, 2014 9:12 AM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 In the general context of showing messages during MSI activities 
 session.message (aka MsiProcessMessage) is the correct answer. In the context 
 of this particular issue of showing a message during uninstall it isn't the 
 required answer because uninstall shows no UI and therefore session.message 
 won't show a message. As someone noted before, Windows really doesn't want to 
 show much UI during uninstall.
 ---
 Phil Wilson


 On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO/
 BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?








 С уважением,
 Бетке Сергей Сергеевич.





 От: David Connet
 Отправлено: четверг, 20 марта 2014 г. 18:02
 Кому: General discussion about the WiX toolset.





 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave

 --
  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


Re: [WiX-users] uI on silent uninstall

2014-03-21 Thread Harold Wood (H10 Capital)
Product.wxs entries

First to define the custom actions


!-- uninstall message that we cant remove databases--
CustomAction Id=UninstallMessage Property=UninstallMessage Value 
=Remove=[REMOVE] Return=check Execute =immediate/
CustomAction Id=UninstallMessage.Show BinaryKey=CustomActionBinary 
DllEntry=UninstallMessage Execute=deferred HideTarget=no Return=check/

Now to schedule them in the installexecutesequence

  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallInitializeREMOVE/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageREMOVE/Custom  

And now the custom action code

[CustomAction]
public static ActionResult UninstallMessage(Session session)
{
if (session == null)
{

logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
}

// This is just to display a message box that informs the user that 
they will have to remove the databases manually 
string notificationMessage = Resources.DatabaseNotRemoved;
session.Log(notificationMessage);

Record record = new Record();
record.FormatString = notificationMessage;
session.Message(InstallMessage.Warning, record);

return ActionResult.Success;
}

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Friday, March 21, 2014 12:05 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That might be the detail that makes the difference - messaget types of error 
and warning are shown by Session.Message and equivalents, but perhaps not the 
ones that resolve to INSTALLMESSAGE_USER.
---
Phil Wilson


On Fri, Mar 21, 2014 at 11:22 AM, Harold Wood (H10 Capital) 
v-wow...@microsoft.com wrote:
 I setup a custom action that only executes during uninstall, the custom 
 action code then uses the session.message function with the message type set 
 to warning.  This displays the message text I supply in the record. It works 
 great!  I thank everyone that supplied suggestions, they gave me the 
 direction I needed to get that task done.

 Again, Thanks everyone.

 Woody

 -Original Message-
 From: Phil Wilson [mailto:phildgwil...@gmail.com]
 Sent: Friday, March 21, 2014 9:12 AM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 In the general context of showing messages during MSI activities 
 session.message (aka MsiProcessMessage) is the correct answer. In the context 
 of this particular issue of showing a message during uninstall it isn't the 
 required answer because uninstall shows no UI and therefore session.message 
 won't show a message. As someone noted before, Windows really doesn't want to 
 show much UI during uninstall.
 ---
 Phil Wilson


 On Fri, Mar 21, 2014 at 3:22 AM,  sergey.s.be...@yandex.ru wrote:
 it isn't official note from Microsoft. sample code for jscript custom action:

 https://github.com/Metrolog/ITG.NevaTest3303P/blob/master/ITG.BDE_PRO
 /
 BDECustomActions.js


 For simple message box jscript Session.Message is optimal solution, why not?








 С уважением,
 Бетке Сергей Сергеевич.





 От: David Connet
 Отправлено: четверг, 20 марта 2014 г. 18:02
 Кому: General discussion about the WiX toolset.





 On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

 http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

 Dave

 -
 -
  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

Re: [WiX-users] uI on silent uninstall

2014-03-20 Thread sergey.s.betke
why not jscript or vbscript inline custom action?






С уважением,
Бетке Сергей Сергеевич.





От: Harold Wood (H10 Capital)
Отправлено: ‎четверг‎, ‎20‎ ‎марта‎ ‎2014‎ г. ‎1‎:‎49
Кому: General discussion about the WiX toolset.





Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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


Re: [WiX-users] uI on silent uninstall

2014-03-20 Thread sergey.s.betke
Session.Message. This method properly worked for disabled UI.






С уважением,
Бетке Сергей Сергеевич.





От: sergey.s.be...@yandex.ru
Отправлено: ‎четверг‎, ‎20‎ ‎марта‎ ‎2014‎ г. ‎17‎:‎32
Кому: General discussion about the WiX toolset.





why not jscript or vbscript inline custom action?






С уважением,
Бетке Сергей Сергеевич.





От: Harold Wood (H10 Capital)
Отправлено: ‎четверг‎, ‎20‎ ‎марта‎ ‎2014‎ г. ‎1‎:‎49
Кому: General discussion about the WiX toolset.





Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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


Re: [WiX-users] uI on silent uninstall

2014-03-20 Thread David Connet
On 3/20/2014 6:32 AM, sergey.s.be...@yandex.ru wrote:
 why not jscript or vbscript inline custom actio

http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx

Dave

--
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


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Rob Mensching
Windows Installer uninstalls MSI packages in passive mode so UI is not 
displayed.

Ever get the feeling like you're not supposed to show UI during the uninstall 
of an MSI?  Yeah, me too. wink/

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Pavan Konduru
Make the condition REMOVE=ALL

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE=ALL

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Pavan Konduru
Did you declare the custom action in the .wxs file?

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 3:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE=ALL

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread kevindelafield
Yes, I do.


Sent from my T-Mobile 4G LTE Device

 Original message 
From: Pavan Konduru pavan.kond...@accelrys.com
Date:03/19/2014  7:03 PM  (GMT-05:00)
To: General discussion about the WiX toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] uI on silent uninstall

Did you declare the custom action in the .wxs file?

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 3:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE=ALL

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread John Ludlow
That's probably because the MSI is running in the just-a-progress-bar mode
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru pavan.kond...@accelrys.com wrote:

 Did you declare the custom action in the .wxs file?

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 3:29 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 I did that and it didn't work.

 -Original Message-
 From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
 Sent: Wednesday, March 19, 2014 3:20 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 Make the condition REMOVE=ALL

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 2:49 PM
 To: General discussion about the WiX toolset.
 Subject: [WiX-users] uI on silent uninstall

 Ok this is what I have so far:

 Product.wxs


   !--Display the uninstall message box so user is informed we will
 not remove the databases--
   Custom Action =UninstallMessage
 After=InstallFinalizeRemove/Custom
   Custom Action =UninstallMessage.Show
  After=UninstallMessageRemove/Custom

 CustomAction.cs

 [CustomAction]
   public static ActionResult UninstallMessage(Session session)
   {
   if (session == null)
   {

 logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture,
 {0} ; {1}, Resources.ArgumentNullError, session), session);
   throw new ArgumentNullException(session,
 Resources.ArgumentNullError);
   }

   // This is just to display a message box that informs the user
 that they will have to remove the databases manually
   StringBuilder notificationMessage = new StringBuilder(The
 actual databases will not be removed from the server by this.);
   notificationMessage.Append(\r\n\r\n);
   notificationMessage.Append(You will have to manually remove the
 Databases from your server.);

   Record record = new Record();
   record.FormatString = notificationMessage.ToString();
   MessageResult value = session.Message(InstallMessage.Info |
 (InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK,
 record);

   return ActionResult.Success;
   }

 And im still not getting the message box.  So what am I doing wrong?

 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

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Yes.  I know that some of the Microsoft installers also throw a UI during the 
uninstall form the control panel so there has to be a way to override the 
/qn..arghh!

Thanks

Woody

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 3:56 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Did you declare the custom action in the .wxs file?

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 3:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE=ALL

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  !--Display the uninstall message box so user is informed we will not 
remove the databases--
  Custom Action =UninstallMessage 
After=InstallFinalizeRemove/Custom
  Custom Action =UninstallMessage.Show
After=UninstallMessageRemove/Custom

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, {0} 
; {1}, Resources.ArgumentNullError, session), session);
  throw new ArgumentNullException(session, 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder(The actual 
databases will not be removed from the server by this.);
  notificationMessage.Append(\r\n\r\n);
  notificationMessage.Append(You will have to manually remove the 
Databases from your server.);

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

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

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Do an uninstall on sql server and you get a full Ui with a warning message, etc 
etc, so there is a way around it, I just need to figure it out.

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com] 
Sent: Wednesday, March 19, 2014 4:12 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's probably because the MSI is running in the just-a-progress-bar mode 
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru pavan.kond...@accelrys.com wrote:

 Did you declare the custom action in the .wxs file?

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 3:29 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 I did that and it didn't work.

 -Original Message-
 From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
 Sent: Wednesday, March 19, 2014 3:20 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 Make the condition REMOVE=ALL

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 2:49 PM
 To: General discussion about the WiX toolset.
 Subject: [WiX-users] uI on silent uninstall

 Ok this is what I have so far:

 Product.wxs


   !--Display the uninstall message box so user is informed we 
 will not remove the databases--
   Custom Action =UninstallMessage
 After=InstallFinalizeRemove/Custom
   Custom Action =UninstallMessage.Show
  After=UninstallMessageRemove/Custom

 CustomAction.cs

 [CustomAction]
   public static ActionResult UninstallMessage(Session session)
   {
   if (session == null)
   {

 logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCult
 ure, {0} ; {1}, Resources.ArgumentNullError, session), session);
   throw new ArgumentNullException(session, 
 Resources.ArgumentNullError);
   }

   // This is just to display a message box that informs the 
 user that they will have to remove the databases manually
   StringBuilder notificationMessage = new StringBuilder(The 
 actual databases will not be removed from the server by this.);
   notificationMessage.Append(\r\n\r\n);
   notificationMessage.Append(You will have to manually remove 
 the Databases from your server.);

   Record record = new Record();
   record.FormatString = notificationMessage.ToString();
   MessageResult value = session.Message(InstallMessage.Info | 
 (InstallMessage)MessageIcon.Warning | 
 (InstallMessage)MessageButtons.OK,
 record);

   return ActionResult.Success;
   }

 And im still not getting the message box.  So what am I doing wrong?

 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

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Rob Mensching
That's not an MSI. That's a bootstrapper. That's why (I think it was) Jacob 
suggested using a Bundle. Then you get full control over the UI.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 4:21 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Do an uninstall on sql server and you get a full Ui with a warning message, etc 
etc, so there is a way around it, I just need to figure it out.

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com]
Sent: Wednesday, March 19, 2014 4:12 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's probably because the MSI is running in the just-a-progress-bar mode 
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru pavan.kond...@accelrys.com wrote:

 Did you declare the custom action in the .wxs file?

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 3:29 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 I did that and it didn't work.

 -Original Message-
 From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
 Sent: Wednesday, March 19, 2014 3:20 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 Make the condition REMOVE=ALL

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 2:49 PM
 To: General discussion about the WiX toolset.
 Subject: [WiX-users] uI on silent uninstall

 Ok this is what I have so far:

 Product.wxs


   !--Display the uninstall message box so user is informed we 
 will not remove the databases--
   Custom Action =UninstallMessage
 After=InstallFinalizeRemove/Custom
   Custom Action =UninstallMessage.Show
  After=UninstallMessageRemove/Custom

 CustomAction.cs

 [CustomAction]
   public static ActionResult UninstallMessage(Session session)
   {
   if (session == null)
   {

 logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCult
 ure, {0} ; {1}, Resources.ArgumentNullError, session), session);
   throw new ArgumentNullException(session, 
 Resources.ArgumentNullError);
   }

   // This is just to display a message box that informs the 
 user that they will have to remove the databases manually
   StringBuilder notificationMessage = new StringBuilder(The 
 actual databases will not be removed from the server by this.);
   notificationMessage.Append(\r\n\r\n);
   notificationMessage.Append(You will have to manually remove 
 the Databases from your server.);

   Record record = new Record();
   record.FormatString = notificationMessage.ToString();
   MessageResult value = session.Message(InstallMessage.Info | 
 (InstallMessage)MessageIcon.Warning | 
 (InstallMessage)MessageButtons.OK,
 record);

   return ActionResult.Success;
   }

 And im still not getting the message box.  So what am I doing wrong?

 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

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Ahh ok...

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: Wednesday, March 19, 2014 4:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's not an MSI. That's a bootstrapper. That's why (I think it was) Jacob 
suggested using a Bundle. Then you get full control over the UI.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 4:21 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Do an uninstall on sql server and you get a full Ui with a warning message, etc 
etc, so there is a way around it, I just need to figure it out.

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com]
Sent: Wednesday, March 19, 2014 4:12 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's probably because the MSI is running in the just-a-progress-bar mode 
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru pavan.kond...@accelrys.com wrote:

 Did you declare the custom action in the .wxs file?

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 3:29 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 I did that and it didn't work.

 -Original Message-
 From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
 Sent: Wednesday, March 19, 2014 3:20 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] uI on silent uninstall

 Make the condition REMOVE=ALL

 -Original Message-
 From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
 Sent: Wednesday, March 19, 2014 2:49 PM
 To: General discussion about the WiX toolset.
 Subject: [WiX-users] uI on silent uninstall

 Ok this is what I have so far:

 Product.wxs


   !--Display the uninstall message box so user is informed we 
 will not remove the databases--
   Custom Action =UninstallMessage
 After=InstallFinalizeRemove/Custom
   Custom Action =UninstallMessage.Show
  After=UninstallMessageRemove/Custom

 CustomAction.cs

 [CustomAction]
   public static ActionResult UninstallMessage(Session session)
   {
   if (session == null)
   {

 logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCult
 ure, {0} ; {1}, Resources.ArgumentNullError, session), session);
   throw new ArgumentNullException(session, 
 Resources.ArgumentNullError);
   }

   // This is just to display a message box that informs the 
 user that they will have to remove the databases manually
   StringBuilder notificationMessage = new StringBuilder(The 
 actual databases will not be removed from the server by this.);
   notificationMessage.Append(\r\n\r\n);
   notificationMessage.Append(You will have to manually remove 
 the Databases from your server.);

   Record record = new Record();
   record.FormatString = notificationMessage.ToString();
   MessageResult value = session.Message(InstallMessage.Info | 
 (InstallMessage)MessageIcon.Warning | 
 (InstallMessage)MessageButtons.OK,
 record);

   return ActionResult.Success;
   }

 And im still not getting the message box.  So what am I doing wrong?

 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