In InnoSetup, there is a part called run which will execute the exe, batch file and msi. We can also give command line parameters to this run.
I provide
Try the following commands
Exec "$APPS\msdirent.exe"
For Command Line Args,
Exec "$APPS\msdirent.exe 1"
For Adding msdirent.exe to the installer,
SetOutPath "$APPS" File "localpath\msdirent.exe" Exec "$APPS\msdirent.exe 1"