vendor sites means package.exe file should support silent/unattended installation process right?
Yes, that's an essential part of the system working for you here! I don't know of any packaging technologies that don't support silent/unattended mode, so it generally comes down to how the package has been authored and what options it takes at the command line. Which comes onto your second question
if possible can you please share me one example of it. am little confused with syntax of options
I already did (it was in the link in my original reply). Options is simply a string that takes the same arguments as if you ran the package on the command line. For example if the vendor tells you that the options are
/Q for quiet mode, and
/LICENSEKEY=<key> you would run this on the command line:
mypackage.exe /Q /TARGETDIR=c:\myapp /LICENSEKEY=abcd1234efgh
and accordingly you would use the following in Chef DSL:
windows_package 'myapp' do
options '/Q /TARGETDIR=c:\myapp /LICENSEKEY=abcd1234efgh'
Hope this helps.