How to extract .EXE file from Nested MSI?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Perform an administrative install for the 'master' MSI, then another for any nested MSIs.
Answered 04/03/2008 by: VBScab
Red Belt

Please log in to comment
0
not sure if that would work Ian. Its been a while since I opened and MSI but from memory nested MSI's were in the binary table and as such wouldnt be exported from admin install.

If that was the case you can use the automation object to get from file streams (ie binary table) if using wise you can get it from the resources page.

Not sure if IS can do this easily.
Answered 04/03/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
Ah, very true, John. I guess it depends on how the 'master' MSI was built. Still, as you say, once you have the first admin install point, everything else will be available by some means or other. No offence to the OP, but given the question, I think the suggestion of using the Automation object is somewhat ambitious.
Answered 04/04/2008 by: VBScab
Red Belt

Please log in to comment
0
You can use this method to extract VB scripts, not sure about other files though.

Open MSI in either in WPS or Orca.
Go to the binary table and find your file. double click [binary data] in the data column and choose to Write binary to filename.
Answered 07/23/2008 by: reds4eva
Second Degree Blue Belt

Please log in to comment
3
Hi Dean,
your suggestion is not possible, because a nested MSI of CA type 7 will be stored as a substorage.
The only way to extract substorages without scripting/programming is the use of the "misdb" tool from the installer SDK.
msidb -d "The package.msi" -w "Name of the nested MSI"
Regards, Nick
Answered 07/24/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Woot, this post just saved me a whole lot of head bashing. Now I have a practical use for MSIDB!

Just don't ask me why I am hacking a vendor MSI to this extent. [8D]
Answered 05/05/2009 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
Had a similar issue where I wanted to extract the embedded transforms from the _Storages table.
Got the tip from Neil to rename the MSI to MSP, drop it on InstEd and select to extract the content.

Using msidb.exe will be easier however; in next version of InstEd you will be able to extract the binaries from this table as with any other table storing binaries.

Kevin; sounds more like an invitation to ask [:D]
Answered 05/05/2009 by: AngelD
Red Belt

Please log in to comment
0
I think the latest version of Wise also lets you right click on the row of the Binary table and extract the files...could be wrong though...I'm 50/50 on this one :).
Answered 05/06/2009 by: jcarri06
Senior Purple Belt

Please log in to comment
0
Hi folks,
@ Kevin: Glad to see, i could help.
@ Kim: This one could also be done with Heat Stewarts MsiX. http://blogs.msdn.com/heaths/archive/2006/04/07/571138.aspx
But good to know, that there's an alternative.
@ Jay: The binary table has never been a problem (several tools like ORCA, can do that),
but the extra streams, that are hold directly by the MSI.

Regards, Nick
Answered 05/06/2009 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Yeah it's a silly situation I am in. We are trying to deploy NitroPDF as a core application to Vista but the library isn't working 100% so we made a decision for the pilot to rip the PDF Library functionality out of the MSI for our pilot. This was fairly straight forward except one of the embedded MSIs has the registry COM registrations for a DLL that the parent MSI installs causing an unnecessary self heal each time Word opens.

I don't know if I am being too critical but I wouldn't have designed their installers to implement a component across two MSIs.
Answered 05/06/2009 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
Have any of you tried Universal Extractor ? http://legroom.net/software/uniextract

I'm not sure how well it works. I haven't used it..
Answered 05/06/2009 by: LB3
Senior Yellow Belt

Please log in to comment
0
Hi Leo,
yes UE is a very handy tool, which i use frequently. It can handle an incredible amount of different formats.
But it can't extract streams from an MSI, except a CAB-file.
Regards, Nick
Answered 05/07/2009 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity