Archive: insert macro doubt


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:blah:


Macro or not, the datablock optimizer will make sure the file is only compressed once.


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