Having a VDPROJ project to produce an installer, a post build event is required to have some properties on the project. For example it's a batch file used to rename the MSI final installer file and include the target platform in it. Eg. it's required to be run like this:
ren Behnama.msi Behnama_$(TargetPlatform).msi
But TargetPlatform is a property of the project. How can I make it available for the batch file? I also tried using Behnama_$(TargetPlatform) for both ProductName and Title with no success.
How can I include target platform in MSI installer's name?