Vra

I want to install GitExtensions on my new laptop. The Microsoft update already installed the .NET Framework client profile on the machine. But the GitExtensions installer complains, that the .NET Framework is not installed.

Is this a similar problem like the .NET 3.5 problem? How can I avoid to install the Microsoft .NET Framework 4 additionally to the Microsoft .NET Framework 4 Client Profile? They are similar in size and I think I won't need both.

Was dit nuttig?

Oplossing

Your problem is not same but surely you'll get that problem too after this solved if you have no .NET3.5 Full (not Client Profile) installed as well as .NET4 Full.

As Yan Sklyarenko noticed the specific version of .NET is requested by installer config. For latest distribution:

<Condition Message='.NET Framework 4.0 must be installed prior to installation of Git Extensions.'>
      Installed OR NETFRAMEWORK40FULL
</Condition>

And also you have to have .NET 3.5 installed because of WiX installer use it. You should use full distribution again as Client Profile don't contains MSBuild component which WiX depends on:

Search "msbuild" (19 hits in 1 files):
  ...gitextensions-gitextensions-09f0e22\bin\Wix35.msi (19 hits)

There are also some GitExtensions modules targeted on previous .NET versions distributed with .NET3.5 while .NET4 is distributed separately.

Even Yan's cheat won't help you to work around this dependencies. At least you can save some traffic using web installers (4.0, 3.5) which downloads only modules you don't have yet.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top