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, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please 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 May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.