PDA

View Full Version : where to find 'PRINT' macro


mhavoc
24th September 2004, 05:06
There are many awesome examples that uses lines such as...

!insertmacro PRINT "$(ERROR_MDAC_INVALID_PATH)"

but I can't seem to find the definition for or an example file for the PRINT macro. Can someone point me towards it?

thank you.

kichik
24th September 2004, 09:51
Which examples?

mhavoc
24th September 2004, 14:52
There are a couple of examples in the archive that contain it...

Installing the .net Framework
http://nsis.sourceforge.net/archive/nsisweb.php?page=570&instances=0,64

Installing MDAC
http://nsis.sourceforge.net/archive/viewpage.php?pageid=482

Both examples appear to be by 'zimsms' (very nice examples btw), so I suppose they will be the ultimate answer but I wondered if it was a standard macro.

thanks.

kichik
24th September 2004, 15:37
If zimsms wrote those examples, he's probably your best chance of getting the macro defintion.

According to other posts by zimsms, I think the macro is:!macro PRINT text
SetDetailsPrint both
DetailPrint `${text}`
SetDetailsPrint none