Bugs item #1340382, was opened at 2005-10-28 07:48
Message generated for change (Comment added) made by xapp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1340382&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: candle
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Riko Eksteen (rikoe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to generate type 21/22 custom actions

Initial Comment:
Even though the help says it is possible, one cannot
combine the FileKey and JScriptCall/VBScriptCall
attributes to generate custom actions of type 21/22
(run script file installed with the product).

When trying to compile the following:

<CustomAction Id="RunScript" FileKey="myscript.js"
JScriptCall="MyFunction" Return="check"
Execute="deferred" />

the compiler gives the following error:

error CNDL0042 : The CustomAction/@JScriptCall
attribute cannot be specified without attribute
BinaryKey present.

----------------------------------------------------------------------

Comment By: Russ Sherk (xapp)
Date: 2005-10-28 20:33

Message:
Logged In: YES 
user_id=1369166

The documentation states that both vbscript and javascript
must be accompanied by a binarykey.

VBScriptCall xs:string This attribute specifies the name of
the VBScript Subroutine to execute in a script. The script
must be provided in a Binary element identified by the
BinaryKey attribute described above. In other words, this
attribute must be specified in conjunction with the
BinaryKey attribute.  

JScriptCall xs:string This attribute specifies the name of
the JScript function to execute in a script. The script must
be provided in a Binary element identified by the BinaryKey
attribute described above. In other words, this attribute
must be specified in conjunction with the BinaryKey attribute.

So, you seem to be correct.  The BinaryKey help correctly
states that it can be used to create a type 5 or 6 custom
action though.

So, is this just a doc bug?

--Russ

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1340382&group_id=105970


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to