Mike <mikeonthecomputer@gmail.com>:

Add installation path for VMware 5.5. Fixes bug 907.

svn path=/trunk/; revision=18435
This commit is contained in:
Gé van Geldorp 2005-10-14 08:03:14 +00:00
parent 8173b668de
commit f862f9f049

View file

@ -41,6 +41,7 @@ BOOL StartVMwConfigWizard, DriverFilesFound, ActivateVBE = FALSE, UninstallDrive
static WCHAR DestinationDriversPath[MAX_PATH+1]; static WCHAR DestinationDriversPath[MAX_PATH+1];
static WCHAR CDDrive = L'\0'; 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 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 PathToVideoDrivers40[MAX_PATH+1] = L"X:\\video\\winnt2k\\";
static WCHAR DestinationPath[MAX_PATH+1]; static WCHAR DestinationPath[MAX_PATH+1];
@ -223,9 +224,12 @@ IsVMwareCDInDrive(WCHAR *Drv)
if(GetDriveType(Drive) == DRIVE_CDROM) if(GetDriveType(Drive) == DRIVE_CDROM)
{ {
#endif #endif
PathToVideoDrivers55[0] = Current;
PathToVideoDrivers40[0] = Current; PathToVideoDrivers40[0] = Current;
PathToVideoDrivers45[0] = Current; PathToVideoDrivers45[0] = Current;
if(SetCurrentDirectory(PathToVideoDrivers45)) if(SetCurrentDirectory(PathToVideoDrivers55))
SrcPath = PathToVideoDrivers55;
else if(SetCurrentDirectory(PathToVideoDrivers45))
SrcPath = PathToVideoDrivers45; SrcPath = PathToVideoDrivers45;
else if(SetCurrentDirectory(PathToVideoDrivers40)) else if(SetCurrentDirectory(PathToVideoDrivers40))
SrcPath = PathToVideoDrivers40; SrcPath = PathToVideoDrivers40;