lessmsi
lessmsi copied to clipboard
Nothing gets extracted from PlayStationNow.msi
Thank you for the bug report. I'm pretty busy with some other projects these days but I'll accept pull requests (and relentlessly assist if you have questions or get stuck) or I am going to take some time off my day job in July and maybe I'll dig into this then.
@activescott I tried to do extract the same msi file attached to this bug. 4th column from query to media table (in CabsFromMsiToDisk method in code) is coming as a blank string. This is a valid scenario. The blank string is causing the loop to skip the row. I see that the MSDN says that if no cab files are used then the 4th column can be empty. I also see that the Binary table is having some data. I think we should extract it and show it to the user.
Also, the binary table does not match with what the lessmsi tool shown in UI upon MSI load so we might want to change that as well. Let me know your thoughts. I can take this forward if you provide directions.
@bhattumang7 I'm not sure where the embedded files are for this particular installer. More information about where files are stored in MSI files is at https://docs.microsoft.com/en-us/windows/desktop/Msi/ordering-file-sequence-numbers-in-a-cabinet-file-table-and-media-table
As I understand it the Binary table wouldn't normally be used for installable files.
If you can get this msi to extract the proper files and all the existing tests continue to work that would be great.
If you have a more specific question let me know and I'll do my best to help!
I debugged this and couldn't figure it out. Would love an assist here!
Where could a complete version of this msi file be found? This seems to be missing a cab file. Anyway, newer versions seems to be packaged differently.
That comes from here https://download-psnow.playstation.com/downloads/psnow/pc/PlayStationNow-9.7.15.exe
But there was no change in packaging. It's just that you need to use the /extract
argument to get it.
Right, thanks. I think this would be on par with one of those autodesk msi files, where the files are supplied the same way. IE: the files are all there (after using the /extract argument), so at least they are available.
Actually, I just found out they aren't. You can find file sixaxis.inf in your %TEMP% folder when you run the installer normally for example. But be it in the .msi, or from the other files you get with /extract, that's nowhere to be seen instead.
EDIT: ok nvm, this is normal given /extract only target the .msi.