Unfortunately the Deferred custom action does not have acces to the installation database.
So the solution is to have several Custom actions: 1) Immediate custom action that will read the text from Error Table, parse it (replace the specified sequence with new line characters) and write the fixed string into some property. 2) Immediate custom action that will prepare the string from 1) for reading in deferred custom action (CustomActionData) 3) Deferred custom action that will read (and use) the CustomActionData property. Hope that it will help somebody. Stefan Stefan Pavlik wrote: > I have already found some interesting thing. > > The function > MsiProcessMessage(hInstall, > INSTALLMESSAGE(INSTALLMESSAGE_USER|MB_OK), hRecord) > can use two forms of hRecord. > > If you use > MsiRecordSetInteger(hRecord,1,uiErrorID) > then the string is taken from Error table and cannot use the \r\n > (new line). It is basicaly because the \r\n sequence is represented > as four characters ('\','r','\','n'). > > But if you use > MsiRecordSetInteger(hRecord,0,"Text with \r\n newline") > then the text is displayed with new line in place of \r\n. > > One possible solution I see is to t\retrieve the text for specified > ErrorID from Error table and replace the \r\n (4 characters) > characters with \r\n (two characters). > > > Hope that it will help somebody. > > Stefan > > Rob Hamflett wrote: >> You can't force newlines. I had to resort to creating multiple text >> controls. >> >> Rob >> > -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users