Reputation: 6707
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
Reputation: 13095
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