Hi

I'm trying to author a custom action that executes a command and uses a file
that's carried as a binary stream as input to the command. Basically, I want
my MSI to just execute a custom action on this file. It won't install
anything physically to disk.

I keep running into ICE03 - "Not a valid foreign key" when trying to author
the custom action

Basically what I would like to do is the following:

<Binary Id="Foo.bin" SourceFile="SomeFile" />

<CustomAction Id="Foo_CA" Property="EXE_TO_RUN" ExeCommand="[#Foo.bin]"
Return="asyncNoWait"/>

<InstallExecuteSequence>
  <Custom Aciton="Foo_CA" Before="InstallFinalize">NOT REMOVE="ALL"</Custom>
</InstallExecuteSequence>

My understanding is that Binary can only be used as the source, not the
target of a custom action. Is this assumuption correct?

Thanks,
Jacques
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to