You could use Product/@Version="!(bind.FileVersion.FileId)"
(replace FileId
with the Id
of the file from which you’d like to get the version number) and light.exe will populate the value with the version of the file referenced by the FileId
.
More Related Contents:
- WiX installer msi not installing the Winform app created with Visual Studio 2017
- Desktop applicaton not opening after installation in client system
- Create folder and file on Current user profile, from Admin Profile
- System.UnauthorizedAccessException while running .exe under program files
- WIxsharp debug custom action in console
- xml.LoadData – Data at the root level is invalid. Line 1, position 1
- How to pass parameters to the custom action?
- How do I add C# methods to an existing large wix script
- WiX silent install unable to launch built in .EXE: WiX v3
- WIX service installer overrides service Installer settings
- Does anyone know of a good C# API for Subversion? [closed]
- i have to access/commit/update SVN repository in WPF application using SVN API or libraries [closed]
- WiX – Install Prerequisites and 3rd party applications
- Do not override the existing file when we install the .exe file
- Which files in a Visual C# Studio project don’t need to be versioned?
- is it possible to create a multilanguage installer using WIX?
- Best practices for Subversion and Visual Studio projects
- WIX Autogenerate GUID *?
- Wix – How to run exe files after installation from installed directory?
- Programmatically installing MSI packages
- How can I find the upgrade code for an installed application in C#?
- How to generate an Array of Double Arrays in c#? [duplicate]
- When should I use a struct rather than a class in C#?
- How to upload file to server with HTTP POST multipart/form-data?
- How do I invoke an extension method using reflection?
- How to find the difference between two images?
- Multiple UI Threads – Winforms
- How to rewrite complicated lines of C++ code (nested ternary operator)
- Find a control on a page with a master page
- C# exception filter?