Hi all -

How can I access the data stored in a binary stream inside a custom action?

For example if I wanted to have notepad display the contents of a ReadMe.txt 
file that was added to the installer as a binary.

    <Binary Id="ReadMe" SourceFile="ReadMe.txt" />

    <CustomAction Id="ShowReadMe"
                  ExeCommand="[SystemFolder]notepad.exe <ReadMe>"
                  Return="asyncNoWait" />

    <InstallExecuteSequence>
      <Custom Action="ShowReadMe" After="InstallFinalize">Not Installed</Custom>
    </InstallExecuteSequence>

Thanks - TopCat
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to