Applescript install pkg -interaction with bash dialog

Hello all,
I need to automate custom application installation using .pkg . I tried to run the pkg using installer from terminal by running command : sudo installer -pkg <…pkg> -target /. It popups the bash interactive dialog for entering file path. If exists any way to automate - to add file path using script?
Appreciate for your help.
Lilya