mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Mike <mikeonthecomputer@gmail.com>:
Add installation path for VMware 5.5. Fixes bug 907. svn path=/trunk/; revision=18435
This commit is contained in:
parent
8173b668de
commit
f862f9f049
1 changed files with 5 additions and 1 deletions
|
@ -41,6 +41,7 @@ BOOL StartVMwConfigWizard, DriverFilesFound, ActivateVBE = FALSE, UninstallDrive
|
|||
|
||||
static WCHAR DestinationDriversPath[MAX_PATH+1];
|
||||
static WCHAR CDDrive = L'\0';
|
||||
static WCHAR PathToVideoDrivers55[MAX_PATH+1] = L"X:\\program files\\VMware\\VMware Tools\\Drivers\\video\\winnt2k\\32Bit\\";
|
||||
static WCHAR PathToVideoDrivers45[MAX_PATH+1] = L"X:\\program files\\VMware\\VMware Tools\\Drivers\\video\\winnt2k\\";
|
||||
static WCHAR PathToVideoDrivers40[MAX_PATH+1] = L"X:\\video\\winnt2k\\";
|
||||
static WCHAR DestinationPath[MAX_PATH+1];
|
||||
|
@ -223,9 +224,12 @@ IsVMwareCDInDrive(WCHAR *Drv)
|
|||
if(GetDriveType(Drive) == DRIVE_CDROM)
|
||||
{
|
||||
#endif
|
||||
PathToVideoDrivers55[0] = Current;
|
||||
PathToVideoDrivers40[0] = Current;
|
||||
PathToVideoDrivers45[0] = Current;
|
||||
if(SetCurrentDirectory(PathToVideoDrivers45))
|
||||
if(SetCurrentDirectory(PathToVideoDrivers55))
|
||||
SrcPath = PathToVideoDrivers55;
|
||||
else if(SetCurrentDirectory(PathToVideoDrivers45))
|
||||
SrcPath = PathToVideoDrivers45;
|
||||
else if(SetCurrentDirectory(PathToVideoDrivers40))
|
||||
SrcPath = PathToVideoDrivers40;
|
||||
|
|
Loading…
Reference in a new issue