Re: [WiX-users] Wixz C# Custom Action Project
You try to run a CA in deferred execution: There you only can access Properties in CustomActionData. Read e.g. http://stackoverflow.com/questions/835624/how-do-i-pass-msiexec-properties-to-a-wix-c-custom-action http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/DTF-Proper-CustomActionData-Usage-td5956363.html how to set properties for deferred execution CAs -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Wixz C# Custom Action Project
Is it possible to access any session data from a Wix C# Custom Action project? I have the following: Not Installed Not Installed When I look in the log file the CustomInstallDir is set as expected but I'm unable to see any session data (the Key count for the Session.CustomActionData is zero and if I try to do something like session.Log(session.GetProductProperty("ProductCode")); session.Log(session.GetProductProperty("CustomActionData")); session.Log(session.GetProductProperty("UserSID")); There is never anything there? All I really need to know is the install directory (you cannot put values in the CustomAction with the DllEntry attribute set). Any help would be greatly appreciated. Norman Lough Developer | Software Development GEO-Information Services Astrium Services Northumbria House | Regent Centre | Gosforth NE3 3PX | England Tel +44 (0)191 213 | Fax +44 (0)191 213 0526 norman.lo...@infoterra-global.com | www.infoterra.co.uk >> Spot Image & Infoterra have teamed up. The GEO-Information Services division of Astrium brings a consolidated portfolio of services & products to customers worldwide. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users