Installing a bin file by taking input from a properties file

I need to install a bin file in UNIX which requires user interaction for giving some information like user id , path, sid etc. All these information is stored in a properties file in the same location.

So if i give ./file.bin -f propfile.properties will it install the file taking all the required inputs from the properties file ?

Or else how will i be able to do it ?

Yes, the syntax is correct. It should run with that installer properties file.