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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -