cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Kevin_Hodgson
Level 5

Basic MSI - Access a .pdf inside data1.cab during Install UI

Hi,

I'm trying to access a .PDF that's stored inside the data1.cab during the UI Phase of a Basic MSI Install.

We have a small readme document as a PDF detailing recent changes to the product, and the document is different depending on the release version (we have many releases controlled by release flags). Our Release Flags guarantee that only the correct PDF is included in any given install. We have a button and custom action that uses the shell to launch the PDF with the default handler.

Does anyone know how to do this? Can you extract a file from the CAB to the temp directory during the UI phase? Is there a special folder/path to access files directly inside the CAB?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Alas, no, I'm not aware of a way to extract files from the .cab files at that stage; for files in the Binary table there's the InstallScript StreamFileFromBinary function, but no equivalent for .cab files I'm aware of...
0 Kudos
Kevin_Hodgson
Level 5

Thanks Robert,

This is an acceptable work around, and works perfectly.
0 Kudos