I found out that the installation script checks for nsuser in /etc/passwd and nsgroup in /etc/group. I edited those files to add nsuser and nsgroup.
in /etc/passwd i added nsuser:x:(nsuser id):(nsgroup id):(user name):/home/nsuser:/usr/bin/ksh
in /etc/group I added nsgroup::(group id):nsuser
And that's it. Re installed the package and it works.