Alex has a good write-up on this here http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19 -the-art-of-custom-action-part-1.aspx
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson (Volt) Sent: 30 July 2008 13:08 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Passing parameters to a VB Script function Via the VBScriptCall attribute OK, yes, I know that using VBScript for custom actions is not recommended. However I have no choice in the matter. This is how my boss wants it done. That said, I need to pass some parameters to the function being called, and I can't find any (documented) way to do it. I've found (via google) LOTS of examples of it being done without the function having any parameters, but NONE where the function DOES have parameters. An example (from http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg07784.html): <Binary Id="GlobalInstallerVBScript" SourceFile="GlobalApplicationInstaller.vbs" /> <CustomAction Id="Stop_IIS" BinaryKey="GlobalInstallerVBScript" VBScriptCall="ShutdownIIS" Return="check" /> So, how would I pass parameters to the function ShutdownIIS (assuming it took any parameters)? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.7/1580 - Release Date: 29/07/2008 17:26 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users