Unfortunately it's not possible to return values from a BAT file (e.g. by setting a Windows Installer property).
The value of a Windows Installer property can be used in a BAT file by passing parameters but returning values from the BAT file in a property is not possible.
FOLLOW US
Get the latest news in Application Packaging