#\r
Module = None\r
NewDict = Sdict() \r
- for Guid, Version, Path in DistPkg.ModuleSurfaceArea:\r
+ for Guid, Version, Name, Path in DistPkg.ModuleSurfaceArea:\r
ModulePath = Path\r
- Module = DistPkg.ModuleSurfaceArea[Guid, Version, Path]\r
+ Module = DistPkg.ModuleSurfaceArea[Guid, Version, Name, Path]\r
Logger.Info(ST.MSG_INSTALL_MODULE % Module.GetName())\r
- if Dep.CheckModuleExists(Guid, Version):\r
+ if Dep.CheckModuleExists(Guid, Version, Name, Path):\r
Logger.Quiet(ST.WRN_MODULE_EXISTED %Path)\r
#\r
# here check for the multiple inf share the same module path cases:\r
#\r
Module.SetModulePath(Module.GetModulePath().replace(Path, NewModulePath, 1))\r
\r
- NewDict[Guid, Version, Module.GetModulePath()] = Module\r
+ NewDict[Guid, Version, Name, Module.GetModulePath()] = Module\r
\r
#\r
# generate all inf for modules\r
#\r
Module = None\r
ModuleDict = Package.GetModuleDict()\r
- for ModuleGuid, ModuleVersion, ModulePath in ModuleDict:\r
- Module = ModuleDict[ModuleGuid, ModuleVersion, ModulePath]\r
+ for ModuleGuid, ModuleVersion, ModuleName, ModulePath in ModuleDict:\r
+ Module = ModuleDict[ModuleGuid, ModuleVersion, ModuleName, ModulePath]\r
InstallModuleContent(FromPath, ToPath, ModulePath, Module,\r
ContentZipFile, WorkspaceDir, ModuleList, Package, ReadOnly)\r
\r