[USETUP] Introduce an NT OS installation detector: a functionality that attempts to detect installations of NT 5.x operating systems (MS Windows <= 2k3, ReactOS).

The aim is to use this detector to be able to detect and select an existing installation of ReactOS for upgrading.
The user then could either select one, or skip this step and perform a regular ReactOS installation.

What remains to be done, is to parse the NTOS loader configuration files (freeldr.ini in ReactOS' case, or boot.ini in Win2k3's case, etc...)
to retrieve the actual installation paths. So far these are currently hardcoded for testing purposes only.

The detector attempts to distinguish between ReactOS and Windows installations by checking at the company name vendor of the ntoskrnl.exe & ntdll.dll files,
so that only ReactOS installations are allowed to be upgraded.

svn path=/branches/setup_improvements/; revision=74527
svn path=/branches/setup_improvements/; revision=74550
This commit is contained in:
Hermès Bélusca-Maïto 2017-05-13 16:13:19 +00:00
parent 4911382913
commit b76fa34121
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 858 additions and 0 deletions

View file

@ -70,6 +70,7 @@
#include "cabinet.h"
#include "filesup.h"
#include "genlist.h"
#include "osdetect.h"
#include "mui.h"
extern HANDLE ProcessHeap;