1

Closed

Duplicated quotation marks around "mountPath"

description

In function InstallPackageToWinPe(string archType, string mountPath, string packageName)
 
...
 
if ((waikVersion.Major == 6) && (waikVersion.Minor == 0))
{
   if (packageName.Contains("WAIK30"))
   {
         WriteLog("InstallPackageToWinPe: package specified (" + packageName + ") is not supported by this version of WAIK.");
         return InstallerReturnValue.InvalidParameter;
   }
   cmdLine = GetPeImgPath();
   workingDir = GetFileParentDirectory(cmdLine);
   args = "/install=" + packageName + " \"" + mountPath + "\"";
}
 
the two "\"" should not exist because the "mountPath" has already been wrapped by quotation marks in previous codes.
 
The same in function ChangeWinPeScratchSpace(string mountPath, string scratchSize, string archType)
...
args = "/scratchspace=" + scratchSize + " \"" + mountPath + "\"";
 
in function ImportDriversIntoWim(XmlNode bootImageNode, string tempPath, string archType)
...
args = "/inf=" + "\"" + sourceFile + "\"" + " \"" + tempPath + "\"";
Closed Dec 17, 2009 at 10:20 PM by rhearn
Fixed by changeset 41140

comments