Re: [WiX-users] WiX-users Digest, Vol 40, Issue 92

2009-09-21 Thread Oscar Newkerk
You should be able to use the Session that is passed into your custom action code. Then just do Session.Log("Message") to write your custom message to the log file. Note that this does not work if your custom action is invoked from a dialog. In that case, you can have your custom action write

Re: [WiX-users] C#, two custom actions from one DLL

2009-09-17 Thread Oscar Newkerk
I'm guessing that you need to modify the second entrypoint in the custom action code to add the [CustomAction] attribute to the method. So: public class CustomActions { [CustomAction] public static ActionResult CustomActionA(Session session) { session.

Re: [WiX-users] Custom action from a dialog

2009-09-01 Thread Oscar Newkerk
: Re: [WiX-users] Custom action from a dialog In article <95aea6e05b3fec40ab4a1dda76a5fca82414c9f...@usmail.unifysquare.com>, Oscar Newkerk writes: > Property(C): PIDKEY = None > Property(C): None = "the PID value I entered" This is the hallmark of an indirect pro

Re: [WiX-users] Custom action from a dialog

2009-09-01 Thread Oscar Newkerk
or Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action from a dialog >> In the custom action code session["PIDKEY"] is null. Why the quotes around PIDKEY? Phil Wilson -Original Message- From: Oscar Newkerk [mailto:osc...@unifysquare.com] Sent: Tue

Re: [WiX-users] Custom action from a dialog

2009-09-01 Thread Oscar Newkerk
I finally figured out that the Log messages were just not going to show up and wrote a property to see some debug info. Now I'm seeing something even weirder. Wix version: 3.0.5419.0 I have a custom UI sequence that I based on the standard WixUI_InstallDir sequence. In my product.wix I decla

[WiX-users] Custom action from a dialog

2009-08-31 Thread Oscar Newkerk
I'm trying to use a custom action in a dialog to validate a PID entered by the user. The dialog has a maskededit control that is used to get the string. I have the following sequence defined on the "Next" button to use to validate the entered data: 1 VALIDATEKEY = "1" I looked i

Re: [WiX-users] Custom Actions

2009-08-14 Thread Oscar Newkerk
Your entry point wasn't exported in the DLL you packaged: http://blogs.msdn.com/heaths/archive/2006/08/14/determine-if-the-custom-acti on-function-is-exported.aspx Turns out with DTF projects that you can't reference the right DLL to use using the This should work. -Original Mess

[WiX-users] Custom Actions

2009-08-14 Thread Oscar Newkerk
I'm trying to use a custom action in my setup and getting an error when the MSI runs. The custom action is a DLL written in C# using the Visual Studio template for custom actions. It's not executing correctly when I run the setup. Any suggestions as to what I'm doing wrong? The entry point