I tried this and it worked :)
I created a plain text file and added the following
www ALL=(ALL) NOPASSWD: /application/local/dev/install -lan
www ALL=(ALL) NOPASSWD: /application/local/test/install -lan
www ALL=(ALL) NOPASSWD: /application/local/support/install -lan
I then set the files permissions to 0440 and copied to to /etc/sudoers.d/
Following that my www user still has root access to these files with out a password, but not to anything else.