Can't you just author Properties with newlines in them?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Pavlik
Sent: Monday, December 04, 2006 01:20
To: Rob Hamflett
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Error
It is possible to use new line character sequence in MSI!!!
My solution:
Use Immediate CA (C++ Dll) to fill the public property (e.g. CRLF)
with "\r\n" and then use the [CRLF] in the Error table.
It works perfect.
Hope that it will help somebody.
Stefan
Rob Hamflett wrote:
> You can't force ne
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
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).
You can't force newlines. I had to resort to creating multiple text controls.
Rob
Stefan Pavlik wrote:
> Hi list,
>
> I want to add my own text to some custom error (e.g. Id 25001).
>
> Problem is that I don't know how to enter the new line character
> sequence. (\r\n does not work).
>
> Any
Hi list,
I want to add my own text to some custom error (e.g. Id 25001).
Problem is that I don't know how to enter the new line character
sequence. (\r\n does not work).
Any suggestions?
Thanks
Stefan
--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28
6 matches
Mail list logo