/// <summary> /// Open a potentially-multipart file for analysis and extraction /// </summary> /// <param name="file">Possible wise installer base</param> /// <returns>True if the file could be opened, false otherwise</returns> private bool Open(string file) { inputFile = MultiPartFile.Create(file); if (inputFile == null) { return(false); } file = Path.Combine(Path.GetDirectoryName(file), Path.GetFileNameWithoutExtension(file)); int fileno = 2; while (inputFile.Append($"{file}.w{fileno / 10 + 48}{fileno % 10 + 48}")) { fileno++; } return(true); }