Hi,
I think it is not possible to use a temporary directory in the case of "Launch file or open URL" in fact the dialog box is a file browser...
Please note that the source path should not be modified for a "Launch file or open URL" custom action (it should always be "<AI_CUSTACTS>viewer.exe"). For this custom action you can specify the path of the EXE in the "Command Line" field from the "Custom Action Properties" pane.
In fact at the execution my EXE is already in a temporary directory of the install ... but I do not know where i must add DLLs...
The EXE and the DLLs can be added as temporary files in the "Files and Folders" page by using the "Add Temporary Files" toolbar button or context menu. After that, the EXE can be used in the command line of the custom action (you can use the "Edit..." button).
And I must use a command line for send arguments
Command line parameters can be specified after the EXE in the "Command Line" field. For example, if "MyApp.exe" is added as a temporary file and it uses the "/q" parameter, the command line of the custom action can look like this:
Regards,
Cosmin