This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Basic MSI - Access a .pdf inside data1.cab during Install UI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 13, 2008
02:35 PM
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?
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?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 13, 2008
06:06 PM
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...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2008
12:54 PM
Thanks Robert,
This is an acceptable work around, and works perfectly.
This is an acceptable work around, and works perfectly.