Tom
Tom

Reputation: 6707

how to use run section to execute file and read the params from function

how to use Run section to execute a file but read the params from a function XYZ:

[Run]
Filename: {app}\e.exe; Parameters: funcXYZ('1'); Description: {cm:ALaunchProgram,{#ti}};

I dont want to use ShellExec or Exec.

Upvotes: 2

Views: 1361

Answers (1)

Miral
Miral

Reputation: 13095

See the help file.

The function you are calling must have exactly the signature shown in the help -- in particular note that it must accept a single String parameter, even if you don't actually pass anything to it.

Upvotes: 2

Related Questions