Bugs item #1340382, was opened at 2005-10-28 00:48 Message generated for change (Settings changed) made by robmen 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: Closed Resolution: Fixed Priority: 5 Submitted By: Riko Eksteen (rikoe) Assigned to: Derek (derekc) 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: Derek (derekc) Date: 2005-11-01 19:30 Message: Logged In: YES user_id=518766 This should be fixed in the next drop. ---------------------------------------------------------------------- Comment By: Derek (derekc) Date: 2005-10-29 16:20 Message: Logged In: YES user_id=518766 Nice find - WiX should support this scenario (although its really fragile). The documentation in WiX.chm also appears to be incorrect. ---------------------------------------------------------------------- Comment By: Russ Sherk (xapp) Date: 2005-10-28 13: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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
