View Single Post
Old 2nd February 2011, 19:57   #8
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,280
If you look at where GetParameters and GetOptions are located in the helpfile you will see that they are in the "Appendix E: Useful Headers" section, the first thing the file function header section tells you in "E.1.1 Introduction" is to !include "FileFunc.nsh"

Your ${GetParameters} usage is weird, there is no need to push and pop, just use ${GetParameters} $cmdLineParams (The helpfile documents the syntax as "${GetParameters} $var", the example just uses $R0)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote