The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Visual studio setup project and MSBuild (again)
Hi,
We're trying to get rid of VS from Jenkins and use MSBuild exclusively, but we have an installer project. I know MSBuild doesn't support .vdproj, so there's no way to make it work. We have a custom UI and a lot of custom actions, so switching to Wix would be quite a challenge. Instead, I wrote a tool to parse vdproj file and populate the schema.msi. The only problem is that I can't figure out how the "ComponentId" in the "Component" table is calculated. Ideally, I'd like to get the same value on both builds: local (installer) and Jenkins (msbuild). It looks it's a combination of the upgrade code, path, and filename, but I've tried different order/hash implementations but can't get the same value.
Could you provide some details how it's calculated and which hash function i should use?