MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: The 'AnyDir' Macro[Next]: The 'VbExp' Macro
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->Commands->Useful Macros->The 'CRLF' Macro

The 'CRLF' Macro

This macro is useful any place where you are presenting a message to a user. It simply generates a Carriage Return followed by a Line Feed (new line code sequence (use two for a paragraph break).

These line breaks may show of as weird "block" characters in "ORCA" (or for some versions not at all).

Example(s):

;--- Set an MSI summary (normaly done by DEPT/COMPANY framework) ---
<$Summary "COMMENTS"     VALUE="line 1<$CRLF>Line 2">

;--- We wish to update the existing file "SomeFile.XYZ" (validate its already there!)---
#define INSTALLDIR        [SystemFolder]drivers\
#(
    #define NOT_FOUND_MSG
    This only installs over the existing version of the drivers.
    <$CRLF><$CRLF>We did not find "<$INSTALLDIR>SomeFile.XYZ"!
#)
<$FileFind File="SomeFile.XYZ" Property="SomeFile.XYZ" PATH="<$INSTALLDIR>" Depth="0" Message=^<$NOT_FOUND_MSG>^>


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 27 Dec 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: The 'AnyDir' Macro[Next]: The 'VbExp' Macro


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday December 27 2008 at 3:15pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 7 Dec 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 27 Dec 2008