cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Superfreak3
Level 11

Passing [CustomActionData] to an .exe Custom Action...

Hi all,

Here's what I'm doing to pass a Public Property value into the Deferred Sequence....

Create a Set Directory Custom Action...
Name: InfoPasser
Property: NEEDEDINFO (the name of another Custom Action that accesses the information)
Property Value: SOMEINFO (property holding the information that needs to be passed)

I know I can then create a custom action named NEEDEDINFO and access CustomActionData, for example, by vbscript using Session.Property("CustomActionData").

What I was actually hoping to do is to create the NEEDEDINFO Custom Action to fire an .exe. I was then thinking I would be able to pass [CustomActionData] as one of the parameters to the .exe, but that doesn't appear to work. Is that truly the case that I can't do that? Or, am I doing something wrong.

Any information is appreciated!

Thanks!
Labels (1)
0 Kudos
(1) Reply
Superfreak3
Level 11

It appears that instead of passing [CustomActionData] to the .exe, if I pass [NEEDEDINFO] as the command line parameter it works.

Good thing I only really have to pass one thing to Custom Action Data right now so there's no parsing needed at this time.
0 Kudos