Re: [WiX-users] Show Dialog from Custom Action

2010-04-05 Thread Sanjay Rao
Hi All, I am using following code for installer creation. It does not detect the existence of previous version of itself. Please help me if somebody has to share something. Regards, Sanjay

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread akash bhatia
if you need help about how to use the spawn dialog..then you have to look into my blog here . i have used the spawn dialog to populate the list of SQL servers on the network... On Thu, Apr 1, 2010 at 5:25 PM, akash bhatia <911ak...@gmail.com> wrote: > i was no

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread akash bhatia
i was not saying anythin about child dialog.. you custom dialog will be another andependent dialog... 1. lets say that you have a dialogA on click on next you are callin c# CA 2. no need to call any C# CA instead call another Dialog..say DialogB on NEXT of it (which is your custom dialog) wit

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread Sagar1111
Thanks for the reply akash. I tried your way. but it is not working. I am not able to navigate to next dialog on the click of a button in child Dialogbox. Sagar -- View this message in context: http://n2.nabble.com/Show-Dialog-from-C-Custom-Action-tp4823643p4836192.html Sent from the wix-users

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread akash bhatia
for this you can set in the PROPERTY in your custom action. and create a custom dialog as per you requirements... on clicking the next of you current dialog... call C# CA first and then call this new customized dialog and set a condition as per the PROPERTY value. hope you ll reslove you i

Re: [WiX-users] Show Dialog from Custom Action

2010-04-01 Thread Sagar1111
the reason behind not using System.Windows.Forms is that i dont want my message box the appear behind mywizard. basically, What i want is a functionality like cancel button. I need to to popup a message from my custom action. Show it in front of the wizard. This pop-up dialog box would have t

Re: [WiX-users] Show Dialog from Custom Action

2010-03-31 Thread pmdarrow
I use the following to show an error message from my C# custom actions: Record record = new Record(); record.FormatString = "My Error"; session.Message(InstallMessage.Error | (InstallMessage)System.Windows.Forms.MessageBoxIcon.Error | (InstallMessage)System.Windows.Forms.MessageBoxButtons.OK,

Re: [WiX-users] Show Dialog from Custom Action

2010-03-31 Thread Sagar1111
How do i use MsiProcessMessage in my c# custom action. -- View this message in context: http://n2.nabble.com/Show-Dialog-from-C-Custom-Action-tp4823643p4830149.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] Show Dialog from Custom Action

2010-03-30 Thread Wilson, Phil
esday, March 30, 2010 6:34 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Show Dialog from Custom Action Using System.Windows.Forms can be done but then your custom action won't be following the UILevel specified by the install session. You could tell that MSI to run silentl

Re: [WiX-users] Show Dialog from Custom Action

2010-03-30 Thread MikeR
Using System.Windows.Forms can be done but then your custom action won't be following the UILevel specified by the install session. You could tell that MSI to run silently and your custom action will still be popping up message boxes which is not good. Using MsiProcessMessage is the proper way t

Re: [WiX-users] Show Dialog from Custom Action

2010-03-30 Thread Rohit Sharma (SIDC)
users@lists.sourceforge.net Subject: [WiX-users] Show Dialog from Custom Action Hi I need to show up a dialog box from from my c# custom Action. I browsed through the forum got many threads related to MsiMessageBox and MsiProcessMessage. But all were in C++.:-( Can anybody share a dummy code in C# to pop

[WiX-users] Show Dialog from Custom Action

2010-03-30 Thread Sagar1111
Hi I need to show up a dialog box from from my c# custom Action. I browsed through the forum got many threads related to MsiMessageBox and MsiProcessMessage. But all were in C++.:-( Can anybody share a dummy code in C# to pop up a message box through my customAction code. Thanks in advance Sagar