For some odd reaseon this code fails:
p.StartInfo.FileName = @"%temp%\SSCERuntime_x86-ENU.msi";
and this code succes:
p.StartInfo.FileName = @"C:\Users\USERNAME\AppData\Local\Temp\SSCERuntime_x86-ENU.msi";
Is there any reason I am missing?
Note I just copied the path, I don't think the rest of the code is needed but I'll put it anyway:
Process p = new Process();
p.StartInfo.FileName = @"%temp%\SSCERuntime_x86-ENU.msi";
p.StartInfo.Arguments = "/passive";
p.Start();