Replies: 1 comment
-
WiX supports user defined variables that you can use for this purpose. You aren't too far off...see this stackoverflow answer and the WiX documention here. The stackoverflow page also describes how you can use binder variables if you'd prefer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My Package.wxs looks like that:
Now I want to bind the property 'Version' (currently set to "1.0.0.0") to the AssemblyVersion of my product. I have tried different approaches, unfortunately without success.
I also tried to add the version to the msbuild, unfortunately also without success:
msbuild MyProduct.Setup.sln /property:Configuration=Release /property:SoftwareVersion=%SoftwareVersion% -p:AssemblyVersion=%SoftwareVersion% -p:Version=%SoftwareVersion% -p:FileVersion=%SoftwareVersion%
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions