Codes in deferred custom action cannot directly access MSI database. In the function, you can only read "CustomActionData" property, of which value is set as the name of the custom action.
For example, to transfer the data to the deferred custom action named "MyDeferredCustomAction", you have to set the property "MyDeferredCustomAction" by defining it in the MSI Property table or using immediate custom actions. And then in your deferred custom action code, you use "MsiGetProperty(_T("CustomActionData"), ...) to retrieve the value. See this: http://msdn2.microsoft.com/en-us/library/aa370543.aspx In well-coded custom actions where deferred custom actions are required, we only schedule the immediate custom actions in the InstallExecutionSequence table, and in an immediate custom action ("MyImmediateCustomAction") , we access the MSI table and set "MyDeferredCustomAction" property appropriately and call DoMsiAction("MyDeferredCustomAction"). As MSI properties only can be strings, you may have to use parsers or use binary-to-text encoder/decoder (e.g. binhex, base64 or ascii85). Hope this helps. On Dec 28, 2007 8:47 AM, Krause, Henning <[EMAIL PROTECTED]> wrote: > Hi, > > When I compile my WIX project, I get the following warning: > > ICE03: String overflow (greater than length permitted in column); Table: > CustomAction, Column: Target > > Is this something I should care about? After all, the column is limited > (according to Orca) to 255 chars which is not enough given that I must > put in all the data I want to access from a deferred custom action. Or > is there another way to transfer data from the MSI database to a > deferred custom action? > > Kind regards, > Henning > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users