Skip to content

Source string was not long enough. Check sourceIndex and count. #301

Description

@RussiaVk

Describe the bug
unable extract any file inside of TopazGigapixelAI.msi

To Reproduce
Steps to reproduce the behavior:
1.download from magnet:?xt=urn:btih:1C278186B4D1C8D8C5DE116BB10062AFBC7D4E84&tr=http%3A%2F%2Fbt4.t-ru.org%2Fann%3Fmagnet&dn=Topaz%20Gigapixel%20AI%20Pro%208.4.4%20(x64)%20%5B09.2025%2C%20ENG%5D%20RePack%20KpoJIuK and use winrar uppack TopazGigapixelAI.msi
2. open TopazGigapixelAI.msi
3. select any file
4. click to extract
5. See error

Expected behavior
Source string was not long enough. Check sourceIndex and count.

Technical Detail:

   at System.Text.StringBuilder.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
   at LessIO.Strategies.Win32.Win32FileSystemStrategy.CreateWin32LastErrorException(String userMessage, Object[] args)
   at LessIO.Strategies.Win32.Win32FileSystemStrategy.GetAttributes(Path path)
   at LessIO.Strategies.FileSystemStrategy.IsReadOnly(Path path)
   at LessIO.Strategies.Win32.Win32FileSystemStrategy.RemoveFile(Path path, Boolean force)
   at LessMsi.Msi.Wixtracts.ExtractFiles(Path msi, String outputDir, MsiFile[] filesToExtract, AsyncCallback progressCallback, ExtractionMode extractionMode)
   at LessMsi.Gui.MainForm.btnExtract_Click(Object sender, EventArgs e)

Screenshots

Image

Desktop (please complete the following information):

  • OS: win10
  • Version 16299

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions