question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version 1.5 and up no longer work in Wine

See original GitHub issue

With lessmsi 1.4:

$ wine lessmsi.exe x pkg.msi 
fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0"
fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.5"
Extracting 'Z:\...\pkg.msi' to 'Z:\...\pkg'.
fixme:ver:GetCurrentPackageId (0x32f6d8 (nil)): stub

(success) With lessmsi 1.5, 1.5.1, 1.6:

$ wine lessmsi.exe x pkg.msi 
fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0"
fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.5"
Extracting 'Z:\...\pkg.msi' to 'Z:\...\pkg'.
fixme:advapi:EventRegister {5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x1c01123, 0x1c2a070, 0x1c2a088
fopen error:13

Error: System.Exception: Failed to open cabinet. Last error:MSPACK_ERR_OPEN
  at LibMSPackN.MSCabinet..ctor (System.String cabinetFilename) [0x00000] in <filename unknown>:0 
  at LessMsi.Msi.Wixtracts.MergeCabs (IList`1 cabInfos) [0x00000] in <filename unknown>:0 
  at LessMsi.Msi.Wixtracts.ExtractFiles (Path msi, System.String outputDir, LessMsi.Msi.MsiFile[] filesToExtract, System.AsyncCallback progressCallback) [0x00000] in <filename unknown>:0 
  at LessMsi.Msi.Wixtracts.ExtractFiles (Path msi, System.String outputDir, System.String[] fileNamesToExtract) [0x00000] in <filename unknown>:0 
  at LessMsi.Cli.Program.DoExtraction (System.String msiFileName, System.String outDirName, System.Collections.Generic.List`1 filesToExtract) [0x00000] in <filename unknown>:0 
  at LessMsi.Cli.ExtractCommand.Run (System.Collections.Generic.List`1 allArgs) [0x00000] in <filename unknown>:0 
  at LessMsi.Cli.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Usage:
lessmsi <command> [options] <msi_name> [<path_to_extract\>] [file_names]

Commands:
  x  Extracts all or specified files from the specified msi_name.	
  l  Lists the contents of the specified msi table as CSV to stdout. Table is
     specified with -t switch. Example: lessmsi l -t Component c:\foo.msi
  v  Lists the value of the ProductVersion Property in the msi 
     (typically this is the version of the MSI).
  o  Opens the specified msi_name in the GUI.
  h  Shows this help page.

For more information see http://lessmsi.activescott.com

fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister 0: stub

(failure)

I’ve tried several different MSI packages, they all show the same behavior. I’m using wine 1.6.2.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
Bl4Cc4tcommented, Aug 19, 2017

I’m on v1.6.1 and getting the same error. Despite the error, it works! :3

1reaction
mirhcommented, Jul 26, 2017

Finding which functions we are talking about in the first place, then check for bug reports on wine appdb, wouldn’t hurt.

Read more comments on GitHub >

github_iconTop Results From Across the Web

None of my games are working in wine 1.5
I have been trying to download and play World of Warcraft, and play Stronghold (disk game) but neither are working. My wine is...
Read more >
Wine 1.5.7 update 28 June broke some applications
I know wine 1.5 is in beta for Ubuntu, and may be unstable. However, up until now it has generally been much more...
Read more >
FAQ
1.5 How does the Wine version numbering system work? ... 2.10.2 Can I use Wine on an older Mac without an Intel chip?...
Read more >
installing older version of wine on Mavericks from tar.bz2 file
The program I'm trying to run is Lingea Lexicon 5 but it's not really important, I remember it worked perfectly on 1.5.8 but...
Read more >
winepulse in ubuntu wine ppa [Archive]
Hey all, Wine has rejected the winepulse patches for unrelated reasons to the patches themselves. As such the pulseaudio support isn't ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found