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

Reply via email to