Change MSI Name during InstallShield 2011 MSBuild
I'm already familiar with prebuild steps such as updating XML or using the automation interface to update a project. I'm looking for a far more simplistic approach to the following situation.
I'm using TFS 2010 and InstallShield's native MSBuild support to build an MSI. Is there a way to pass a property into the build to transform the output M开发者_如何转开发SI name?
For example I'm already updated my .isproj file to create an InstallShieldPropertyOverrides item group to override the ProductCode and define the InstallShieldProductVersion property to override the ProductVersion Property. ( I only support Major Upgrades on this install. )
What I want to do is create MSI names like:
[ProductName]_[ProductVersion].msi
I want the name unique to be more obvious and I'm not concerned about side effects since I already support only Major Upgrades.
I tried putting the above string in the ProductConfiguration screen but the compiler didn't evaluate the expression. The result was an MSI of that literal name.
精彩评论