Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 2nd February 2008, 04:32   #1
devdas_kamath
Junior Member
 
Join Date: Jan 2008
Location: India-Karnataka-Mangalore
Posts: 26
Unhappy insert macro doubt

Dear sir,

!macro MYFILES
File "c:\Miscdb\userlist.mdb"
!macroend

!insertmacro MYFILES
!insertmacro MYFILES

with above code my doubt is that whether file userlist.mdb will be compressed twice as it is called by insertmacro twice. thanks in advance.

regards
Devdas M. kamath
devdas_kamath is offline   Reply With Quote
Old 2nd February 2008, 10:30   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Macro or not, the datablock optimizer will make sure the file is only compressed once.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 4th February 2008, 04:09   #3
fabian.rap.more
Senior Member
 
Join Date: Dec 2007
Posts: 111
Send a message via Yahoo to fabian.rap.more
u should do some research before asking. the link will tell u about macros as well as functions

http://nsis.sourceforge.net/Macro_vs_Function

What some invent the rest enlarge
fabian.rap.more is offline   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