D
Dave Alvarado
All,
I've been wrestling for a few days to get a VBScript
custom action to work. Basically, I can't get the action
to run no matter what I'm trying.
What I'm trying to accomplish is to use a .vbs file to
kick off some arbitrary command-line statement. I'm
wanting to use either the Run() or Exec() methods of the
WScript.Shell object.
I've tried delivering a .vbs file, storing the .vbs file
in a stream, and putting the VBScript text in the custom
actions table. I've also tried moving the sequencing
around, and setting conditions when I'm actually
delivering the .vbs file to make sure that the component
doing the delivery isn't really installed.
Can anyone provide or point me at an example of
using .vbs scripts to perform custom actions? Something
which shows how to run a command-line statement using Run
() or Exec() would be extra helpful. I think I'm really
going to need a basic walk-through at this point. Thanks
in advance.
-Dave
I've been wrestling for a few days to get a VBScript
custom action to work. Basically, I can't get the action
to run no matter what I'm trying.
What I'm trying to accomplish is to use a .vbs file to
kick off some arbitrary command-line statement. I'm
wanting to use either the Run() or Exec() methods of the
WScript.Shell object.
I've tried delivering a .vbs file, storing the .vbs file
in a stream, and putting the VBScript text in the custom
actions table. I've also tried moving the sequencing
around, and setting conditions when I'm actually
delivering the .vbs file to make sure that the component
doing the delivery isn't really installed.
Can anyone provide or point me at an example of
using .vbs scripts to perform custom actions? Something
which shows how to run a command-line statement using Run
() or Exec() would be extra helpful. I think I'm really
going to need a basic walk-through at this point. Thanks
in advance.
-Dave