How do I tell the macro that there could be more parameters without getting the following error:!macro operation parameter1
...
!insertmacro operation parameter1 parameter2 parameter3 parameter4
In a real world scenario heres the deal. I have a zipup operation which zips up a file. I sometimes need only 1 OR 20+ files zipped up. Instead of creating a new !insertmacro for every file HOW do I create one !insertmacro and pass all the files to it?!insertmacro: macro "operation " requires 1 parameter(s), passed 4!
Instead of this:
To This:!insertmacro operation "file1"
!insertmacro operation "file2"
!insertmacro operation "file3"
!insertmacro operation "file4"
!insertmacro operation "file5"
!insertmacro operation "file6"
Thanks for any tips, tricks and any help on this!!insertmacro operation "file1" "file2" "file3" "file4" "file5" "file6"