Is there a way to include the version number as part of the output.msi filename in a VS2008 Setup Project?
I\'d like for example an output file called: \"myinstall
I did it with 2 lines in powershell.
$versionText=(Get-Item MyProgram.exe).VersionInfo.FileVersion
(Get-Content MySetup.vdproj.template).replace('${VERSION}', $($versionText)) | Set-Content MySetup.vdproj
Rename your existing .vdproj to be MySetup.vdproj.template and insert "${VERSION}" wherever you want to insert the version of your primary exe file.
VS will then detect the change in the vdproj file and ask you if you want to reload it.