cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hh1234
Level 5

Calling an .EXE

I have added an .EXE file under Support Files\Language Independent I then try to run this .EXE with the following line.

LaunchApplication(SUPPORTDIR^"dotNetFx40_Full_x86_x64.exe", "/norestart /passive", SW_NORMAL, INFINITE, LAAW_OPTION_WAIT | LAAW_OPTION_USE_SHELLEXECUTE);

I need to pass this .exe a "/norestart /passive" switch. I get an error saying "string value required"

If I REM out this one line of code my script compiles. So I know the error lives in this line. What did I mess up?

Thank you.
Labels (1)
0 Kudos
(1) Reply
MSIYER
Level 8

Introduce a new string variabe and assign it the CLI parameters. Pass this string variable to LaunchApplication.
0 Kudos