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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users