Silent installation failed when running from System Account
I am trying to install an application silently through SCCM but it does not work for Win7. I am getting the below error.
Error 1312. Cannot create the directory 'C:\Windows\TEMP\miaB7D1.tmp\AginityNetezzaWorkbenchSetupx86.exe'. A file with this name already exists. Please rename or remove the file and click retry, or click Cancel to exit.
The file is being created by the application itself. If I run the silent installation with an Admin account it works perfectly.
I tried with psexec.exe and scheduling a task but nothing works, seems the issue is when the app is installed with system account.
Has anyone ever had an issue like this and was able to solve it?
Community Chosen Answer
I have faced this issue with other applications which are created by InstallAware so where ever you get this mia temp folders it is basically InstallAware applications. I did this for Axure and it worked fine manually but failed under system context.
I finally had to capture the package thought it has MSI in it but there is no other way.
Just take care that you do not install an MSP if it is ever released. Manage the upgrades by yourself on the MSI created by you.
Let me know if you face issue again.