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 yourpackagename
is 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
Post a Comment