Under Library | postinstallation tasks, create a new Windows batch script.

-Map your network drive using /user if needed

net use k: \\servername\share /user:username password

-Install the software

start /wait k:\setup.exe /s

or

msiexec /qn /i k:\setup.msi

or

call k:\setup.bat

-Disconnect the share

net use k: /d /y