c# - Wix Bootstrapper automated versioning with Setup MSI -


i trying incorporate automated version via assemblyinfo [assembly: assemblyversion("2.0.*")]. have added version="!(bind.fileversion.fileexe)" product.wxs in setup generates msi file. according reading, msi not have version property me access in bundle.wxs in bootstrapper project. how can set version in bootstrapper sync application's version automatically?

in bootstrapper's <bundle> element use attribute version="!(bind.packageversion.yourpackagename)"

where yourpackagenameis id of msipackage in chain wish use attribute from.

you can bind other attributes way, bundle name, manufacturer, etc.

reference (near bottom, package properties) http://wixtoolset.org/documentation/manual/v3/overview/light.html


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -