Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to add data file for use by binary table component?


2 replies to this topic

Anthony Hughes

Anthony Hughes
  • Members
  • 30 posts

Posted 12 September 2001 - 10:19

I need to pass a data file to a support exe that I have stored in the binary table but I can't figure out how.

i.e I need a custom action that does the equivalent of

myprogram.exe mydata.dat

where mydata.dat exists uncompressed in the same working directory as myprogram.exe

How do I achieve this?

many thanks
Anthony


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 September 2001 - 09:49

You must extract the data file from the binary table in a custom action (unless you are using InstallShield Developer 7 which can do this automatically for you). In InstallShield Winodws Installer Edition there's a sample "StreamFileFromBinary"