How to run exe files in NSIS Script?

How to run exe files in NSIS Script?

[Run]
Filename: "{app}msdirent.exe ";
Filename: "msiexec.exe"; Parameters: "/i ""{tmp}NETCFSetupv2.msi""" ; Check:ShouldInstallComCtlUpdate ;

Exec "$APPSmsdirent.exe"

Exec "$APPSmsdirent.exe 1"

SetOutPath "$APPS"
File "localpathmsdirent.exe"

Exec "$APPSmsdirent.exe 1"

Exec '"$instdirmyapp.exe" param1 "par am 2" param3'


Learn More :