For some odd reaseon this code fails:
p.StartInfo.FileName = @\"%temp%\\SSCERuntime_x86-ENU.msi\";
and this code succes:
p.
You can use the Environment.ExpandEnvironmentVariables
to expand environment variables within a string, then pass that to the Process
class:
p.StartInfo.FileName = Environment.ExpandEnvironmentVariables(@"%temp%\SSCERuntime_x86-ENU.msi");
This has the added benefits of