lessmsi icon indicating copy to clipboard operation
lessmsi copied to clipboard

Can't extract netfxsdk.msi

Open ghost opened this issue 5 years ago • 5 comments

Describe the bug A clear and concise description of what the bug is.

Extracting the MSI from .NET FX SDK 1.1 gets the following error:

---------------------------
MSI Error!
---------------------------
Please report this error at https://github.com/activescott/lessmsi/issues . Include the exact error message and how to get a copy of the msi you're working with.

The following error occured extracting the MSI: System.Exception: Error copying file 'C:\Users\Adam\Desktop\netfxsd1.cab' to 'C:\Users\Adam\Desktop\netfxsd1.cab'. System error information:'The operation completed successfully.

'

   at LessIO.Strategies.Win32.Win32FileSystemStrategy.Copy(Path source, Path dest)

   at LessMsi.Msi.Wixtracts.CabsFromMsiToDisk(Path msi, Database msidb, String outputDir)

   at LessMsi.Msi.Wixtracts.ExtractFiles(Path msi, String outputDir, MsiFile[] filesToExtract, AsyncCallback progressCallback)

   at LessMsi.Gui.MainForm.btnExtract_Click(Object sender, EventArgs e)
---------------------------
OK   
---------------------------

To Reproduce Steps to reproduce the behavior:

  1. Download https://download.microsoft.com/download/5/2/0/5202f918-306e-426d-9637-d7ee26fbe507/setup.exe (https://www.microsoft.com/en-us/download/confirmation.aspx?id=16217)
  2. Extract the msi and CAB from setup.exe using 7zip
  3. Extract with lessmsi-gui
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information): Windows 10 1809, lessmsi 1.6.1.0

Additional context Add any other context about the problem here.

ghost avatar Feb 22 '19 14:02 ghost

When testing with git head in VS2019:

image

ghost avatar Feb 23 '19 00:02 ghost

Thanks @voltagex . Since you got the source out in git, did you plan to work on a fix or not? Just don't want to duplicate efforts.

activescott avatar Feb 24 '19 00:02 activescott

Just to make sure we maintain access to it, I have uploaded this file to dropbox and made it available at https://www.dropbox.com/s/s0ha3u3ckggnhpf/setup-exe-for-less-msi-issue-122.zip?dl=0

activescott avatar Feb 24 '19 00:02 activescott

At this stage I'm not working on a fix as I was able to get the files I needed by ignoring that assert! It looks like it behaves better in the current version, at least.

Thanks for your quick response.

ghost avatar Feb 24 '19 00:02 ghost

No issues with 1.6.91!

jjurkus avatar Jun 17 '20 04:06 jjurkus