M
mookid
Good day group!
My problem is this:
I have an old legacy application, which must be installed using an
unmanaged installer. This unmanaged installer complains that .NETfx 1.1
is not installed, EVEN THOUGH 1.0, 1.1 AND 2.0 are installed, and thus
refuses to install.
The problem seems to be that the installer checks the latest version of
the framework, and sees if it is either 1.0 or 1.1. In the installation
log I can see that 2.0 apparently is an "unknown version".
This leads me to my question:
How do applications usually (in unmanaged code) check which version is
installed?
I know about the %WinDir%\Microsoft.NET\Framework folder, where the
subfolders identify the installed versions. So one way is to check
which folders are present in here.
But are there other ways? There must be some (possibly nasty) ways of
checking this in the registry...
I am looking for a way to temporarily "downgrade" (without uninstalling
the entire .NET 2.0 framework)?
I tried renaming the v2.0.????? folder, but this (of course) fails due
to some conflict (containing files currently open/running/whatever).
I hope someone has some valuable input!
Thanks in advance,
Mogens Heller Jensen
My problem is this:
I have an old legacy application, which must be installed using an
unmanaged installer. This unmanaged installer complains that .NETfx 1.1
is not installed, EVEN THOUGH 1.0, 1.1 AND 2.0 are installed, and thus
refuses to install.
The problem seems to be that the installer checks the latest version of
the framework, and sees if it is either 1.0 or 1.1. In the installation
log I can see that 2.0 apparently is an "unknown version".
This leads me to my question:
How do applications usually (in unmanaged code) check which version is
installed?
I know about the %WinDir%\Microsoft.NET\Framework folder, where the
subfolders identify the installed versions. So one way is to check
which folders are present in here.
But are there other ways? There must be some (possibly nasty) ways of
checking this in the registry...
I am looking for a way to temporarily "downgrade" (without uninstalling
the entire .NET 2.0 framework)?
I tried renaming the v2.0.????? folder, but this (of course) fails due
to some conflict (containing files currently open/running/whatever).
I hope someone has some valuable input!
Thanks in advance,
Mogens Heller Jensen