{"action":"created","issue":{"url":"https://api.github.com/repos/activescott/lessmsi/issues/83","repository_url":"https://api.github.com/repos/activescott/lessmsi","labels_url":"https://api.github.com/repos/activescott/lessmsi/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/activescott/lessmsi/issues/83/comments","events_url":"https://api.github.com/repos/activescott/lessmsi/issues/83/events","html_url":"https://github.com/activescott/lessmsi/issues/83","id":219336630,"node_id":"MDU6SXNzdWUyMTkzMzY2MzA=","number":83,"title":"Version 1.5 and up no longer work in Wine","user":{"login":"jethrogb","id":1132307,"node_id":"MDQ6VXNlcjExMzIzMDc=","avatar_url":"https://avatars0.githubusercontent.com/u/1132307?v=4","gravatar_id":"","url":"https://api.github.com/users/jethrogb","html_url":"https://github.com/jethrogb","followers_url":"https://api.github.com/users/jethrogb/followers","following_url":"https://api.github.com/users/jethrogb/following{/other_user}","gists_url":"https://api.github.com/users/jethrogb/gists{/gist_id}","starred_url":"https://api.github.com/users/jethrogb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jethrogb/subscriptions","organizations_url":"https://api.github.com/users/jethrogb/orgs","repos_url":"https://api.github.com/users/jethrogb/repos","events_url":"https://api.github.com/users/jethrogb/events{/privacy}","received_events_url":"https://api.github.com/users/jethrogb/received_events","type":"User","site_admin":false},"labels":[{"id":582939283,"node_id":"MDU6TGFiZWw1ODI5MzkyODM=","url":"https://api.github.com/repos/activescott/lessmsi/labels/WINE","name":"WINE","color":"d4c5f9","default":false},{"id":51343467,"node_id":"MDU6TGFiZWw1MTM0MzQ2Nw==","url":"https://api.github.com/repos/activescott/lessmsi/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/activescott/lessmsi/milestones/4","html_url":"https://github.com/activescott/lessmsi/milestone/4","labels_url":"https://api.github.com/repos/activescott/lessmsi/milestones/4/labels","id":795288,"node_id":"MDk6TWlsZXN0b25lNzk1Mjg4","number":4,"title":"vNext","description":"","creator":{"login":"activescott","id":213716,"node_id":"MDQ6VXNlcjIxMzcxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/213716?v=4","gravatar_id":"","url":"https://api.github.com/users/activescott","html_url":"https://github.com/activescott","followers_url":"https://api.github.com/users/activescott/followers","following_url":"https://api.github.com/users/activescott/following{/other_user}","gists_url":"https://api.github.com/users/activescott/gists{/gist_id}","starred_url":"https://api.github.com/users/activescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activescott/subscriptions","organizations_url":"https://api.github.com/users/activescott/orgs","repos_url":"https://api.github.com/users/activescott/repos","events_url":"https://api.github.com/users/activescott/events{/privacy}","received_events_url":"https://api.github.com/users/activescott/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":1,"state":"open","created_at":"2014-09-19T04:17:42Z","updated_at":"2017-12-02T21:31:42Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2017-04-04T18:11:24Z","updated_at":"2018-06-21T12:08:48Z","closed_at":null,"author_association":"NONE","body":"With lessmsi 1.4:\r\n```\r\n$ wine lessmsi.exe x pkg.msi \r\nfixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L\"v4.0\"\r\nfixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L\"v4.5\"\r\nExtracting 'Z:\\...\\pkg.msi' to 'Z:\\...\\pkg'.\r\nfixme:ver:GetCurrentPackageId (0x32f6d8 (nil)): stub\r\n```\r\n(success)\r\nWith lessmsi 1.5, 1.5.1, 1.6:\r\n```\r\n$ wine lessmsi.exe x pkg.msi \r\nfixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L\"v4.0\"\r\nfixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L\"v4.5\"\r\nExtracting 'Z:\\...\\pkg.msi' to 'Z:\\...\\pkg'.\r\nfixme:advapi:EventRegister {5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x1c01123, 0x1c2a070, 0x1c2a088\r\nfopen error:13\r\n\r\nError: System.Exception: Failed to open cabinet. Last error:MSPACK_ERR_OPEN\r\n  at LibMSPackN.MSCabinet..ctor (System.String cabinetFilename) [0x00000] in <filename unknown>:0 \r\n  at LessMsi.Msi.Wixtracts.MergeCabs (IList`1 cabInfos) [0x00000] in <filename unknown>:0 \r\n  at LessMsi.Msi.Wixtracts.ExtractFiles (Path msi, System.String outputDir, LessMsi.Msi.MsiFile[] filesToExtract, System.AsyncCallback progressCallback) [0x00000] in <filename unknown>:0 \r\n  at LessMsi.Msi.Wixtracts.ExtractFiles (Path msi, System.String outputDir, System.String[] fileNamesToExtract) [0x00000] in <filename unknown>:0 \r\n  at LessMsi.Cli.Program.DoExtraction (System.String msiFileName, System.String outDirName, System.Collections.Generic.List`1 filesToExtract) [0x00000] in <filename unknown>:0 \r\n  at LessMsi.Cli.ExtractCommand.Run (System.Collections.Generic.List`1 allArgs) [0x00000] in <filename unknown>:0 \r\n  at LessMsi.Cli.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 \r\n\r\nUsage:\r\nlessmsi <command> [options] <msi_name> [<path_to_extract\\>] [file_names]\r\n\r\nCommands:\r\n  x  Extracts all or specified files from the specified msi_name.\t\r\n  l  Lists the contents of the specified msi table as CSV to stdout. Table is\r\n     specified with -t switch. Example: lessmsi l -t Component c:\\foo.msi\r\n  v  Lists the value of the ProductVersion Property in the msi \r\n     (typically this is the version of the MSI).\r\n  o  Opens the specified msi_name in the GUI.\r\n  h  Shows this help page.\r\n\r\nFor more information see http://lessmsi.activescott.com\r\n\r\nfixme:advapi:EventUnregister deadbeef: stub\r\nfixme:advapi:EventUnregister 0: stub\r\n```\r\n(failure)\r\n\r\nI've tried several different MSI packages, they all show the same behavior. I'm using wine 1.6.2."},"comment":{"url":"https://api.github.com/repos/activescott/lessmsi/issues/comments/399081298","html_url":"https://github.com/activescott/lessmsi/issues/83#issuecomment-399081298","issue_url":"https://api.github.com/repos/activescott/lessmsi/issues/83","id":399081298,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTA4MTI5OA==","user":{"login":"mistressofjellyfish","id":7026857,"node_id":"MDQ6VXNlcjcwMjY4NTc=","avatar_url":"https://avatars1.githubusercontent.com/u/7026857?v=4","gravatar_id":"","url":"https://api.github.com/users/mistressofjellyfish","html_url":"https://github.com/mistressofjellyfish","followers_url":"https://api.github.com/users/mistressofjellyfish/followers","following_url":"https://api.github.com/users/mistressofjellyfish/following{/other_user}","gists_url":"https://api.github.com/users/mistressofjellyfish/gists{/gist_id}","starred_url":"https://api.github.com/users/mistressofjellyfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistressofjellyfish/subscriptions","organizations_url":"https://api.github.com/users/mistressofjellyfish/orgs","repos_url":"https://api.github.com/users/mistressofjellyfish/repos","events_url":"https://api.github.com/users/mistressofjellyfish/events{/privacy}","received_events_url":"https://api.github.com/users/mistressofjellyfish/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T12:08:48Z","updated_at":"2018-06-21T12:08:48Z","author_association":"NONE","body":"So... I am still affected by this. I don't know the actual problem yet, however it seems to fail to close the handle to the cab correctly after writing:\r\n\r\n```\r\n009f: create_file( access=c0100000, sharing=00000000, create=5, options=00000060, attrs=00000080, objattr={rootdir=0000,attributes=00000040,sd={},name=L\"\"}, filename=\"/root/.wine/dosdevices/z:/root/testfiles/ext2/foobar.cab\" )\r\n009f: create_file() = 0 { handle=00dc }\r\n009f: get_handle_fd( handle=00dc )\r\n009f: *fd* 00dc -> 129\r\n009f: get_handle_fd() = 0 { type=1, cacheable=1, access=0012019f, options=00000060 }\r\n009f: close_handle( handle=0000 )\r\n009f: close_handle() = INVALID_HANDLE\r\n009f: close_handle( handle=0000 )\r\n009f: close_handle() = INVALID_HANDLE\r\n```\r\n\r\nWhich then results in a sharing violation as it should:\r\n\r\n```\r\n009f: create_file( access=80100000, sharing=00000003, create=1, options=00000060, attrs=00000080, objattr={rootdir=0000,attributes=00000042,sd={},name=L\"\"}, filename=\"/root/.wine/dosdevices/z:/root/testfiles/ext2/foobar.cab\" )\r\n009f: create_file() = SHARING_VIOLATION { handle=0000 }\r\n```\r\nwine --version reports wine-3.10.\r\n\r\nI don't know who's at fault here beacuse as far as I can tell the cab gets written correctly. We'll see.\r\n\r\n"}}
{"actor":{"display_login":"mistressofjellyfish"}}