In my inno setup installer in [Run] section I want to run a cmd command, but here is the problem. I want to run an exe with parameters, "My Program.exe" install I want to run like this but since it has spaces in the name I cannot run it without "" and this is gives me error because inno setup has "" too. Similarly I want to start my service net start "My Service" and got same problem.
2
votes
2 Answers
4
votes
Did you try with something like this :
Run: " ""My Program.exe"" ";
The double quotes seems to be a quite good solution according to the Inno Setup documentation