PDA

View Full Version : insert macro doubt


devdas_kamath
2nd February 2008, 04:32
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:blah:

kichik
2nd February 2008, 10:30
Macro or not, the datablock optimizer will make sure the file is only compressed once.

fabian.rap.more
4th February 2008, 04:09
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