activescott / activescott/lessmsi

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

未關閉
#301 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
1.8k
分支
188
PR 合併指標
30 天內沒有已合併 PR

描述

**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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。