/build/static/layout/Breadcrumb_cap_w.png

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?

Thanks!


0 Comments   [ + ] Show comments

Answers (6)

Posted by: piyushnasa 11 years ago
Red Belt
2

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.

Posted by: jagadeish 11 years ago
Red Belt
1

Ensure that you are performing installation for ALLUSERS..


Comments:
  • The installation for all users is being done as is one of the default options for the installer. the command I am using is "setup.exe /s". In XP installs without issues. The problem is in Win7 and only with system account. - shelzy09 11 years ago
  • //as is one of the default options for the installer. //

    How come????? - jagadeish 11 years ago
  • You have mentioned that it was working fine on Windows XP.. Did you install it through System Context on Windows XP - jagadeish 11 years ago
Posted by: kenshin288 11 years ago
Senior Yellow Belt
0

Try to grant permission to the folder before the main install. Hope this help.

Posted by: jagadeish 11 years ago
Red Belt
0

Ensure that you are performing installation for ALLUSERS..


Comments:
  • The reason for saying this is, most of the per-user installation will fail when you install it through system context as system context does not have it is own profile as normal user profile.. - jagadeish 11 years ago
Posted by: hrs2cool 11 years ago
Black Belt
0

Have u copied the source locally & tried ?? I faced this issue once long back (with a different app) when i was trying to run the source from a n/w location (mapped drive). A local copy installation succeeded

Posted by: SilentKiller 11 years ago
Orange Belt
-1

Have you tried clearing your C:\Windows\Temp directory?

 


Comments:
  • I cleared the temp directory. The file the app is asking to be removed is created by the app itself during installation, Even if I try to remove it I can't because it is being used by the installer at that time. - shelzy09 11 years ago
  • I have an issue like this before, I tried the procmon tool, and it pointed me to the same C:\Windows\Temp location. The install is trying to access a file in the folder and I had an ACCESS DENIED on the file. Try to grant permission to the folder before the main install. Hope this help. - kenshin288 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ