Is your custom action deferred? Deferred CAs cannot access properties other than CustomActionData.
Sources are in the wix3-sources.zip in the release folder of each build. There is a wix3-pdbs.zip that comes out of every build, but it isn't getting published -- I think because SF doesn't give us enough space. You can always build the sources yourself to get symbols. -Jason- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Hopper Sent: Wednesday, July 23, 2008 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] session.GetProdutProperty() always throws InvalidHandleException Wix Build - 3.0.4318.0 I'm using the new "C# Custom Action Project" to build a managed custom action. When invoking session.GetProductProperty("FOO"), an InvalidHandleException is always thrown. Calls to session.Log() are processes normally and messages do appear in the install log indicting that at least in some cases the handle is still valid. Any ideas? [Microsoft.Deployment.WindowsInstaller.InvalidHandleException] {"The handle is invalid."} Stack Trace: at Microsoft.Deployment.WindowsInstaller.Session.GetProductProperty(String property) at CustomAction1.CustomActions.CustomAction1(Session session) Where can I find the source/symbols for Microsoft.Deployment.WindowsInstaller.dll? Thanks, -Nate ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users