Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 24th September 2004, 05:06   #1
mhavoc
Junior Member
 
Join Date: Sep 2004
Location: Laramie, WY
Posts: 2
Unhappy where to find 'PRINT' macro

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.
mhavoc is offline   Reply With Quote
Old 24th September 2004, 09:51   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Which examples?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is online now   Reply With Quote
Old 24th September 2004, 14:52   #3
mhavoc
Junior Member
 
Join Date: Sep 2004
Location: Laramie, WY
Posts: 2
There are a couple of examples in the archive that contain it...

Installing the .net Framework
http://nsis.sourceforge.net/archive/...instances=0,64

Installing MDAC
http://nsis.sourceforge.net/archive/...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.
mhavoc is offline   Reply With Quote
Old 24th September 2004, 15:37   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
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:
code:
!macro PRINT text
SetDetailsPrint both
DetailPrint `${text}`
SetDetailsPrint none


NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is online now   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump